@@ -624,7 +624,8 @@ const CppContextRequest: RequestType<TextDocumentIdentifier, ChatContextResult,
624624const CopilotCompletionContextRequest : RequestType < CopilotCompletionContextParams , CopilotCompletionContextResult , void > = new RequestType < CopilotCompletionContextParams , CopilotCompletionContextResult , void > ( 'cpptools/getCompletionContext' ) ;
625625
626626// Notifications to the server
627- const DidOpenNotification : NotificationType < DidOpenTextDocumentParams > = new NotificationType < DidOpenTextDocumentParams > ( 'textDocument/didOpen' ) ; const FileCreatedNotification : NotificationType < FileChangedParams > = new NotificationType < FileChangedParams > ( 'cpptools/fileCreated' ) ;
627+ const DidOpenNotification : NotificationType < DidOpenTextDocumentParams > = new NotificationType < DidOpenTextDocumentParams > ( 'textDocument/didOpen' ) ;
628+ const FileCreatedNotification : NotificationType < FileChangedParams > = new NotificationType < FileChangedParams > ( 'cpptools/fileCreated' ) ;
628629const FileChangedNotification : NotificationType < FileChangedParams > = new NotificationType < FileChangedParams > ( 'cpptools/fileChanged' ) ;
629630const FileDeletedNotification : NotificationType < FileChangedParams > = new NotificationType < FileChangedParams > ( 'cpptools/fileDeleted' ) ;
630631const ResetDatabaseNotification : NotificationType < void > = new NotificationType < void > ( 'cpptools/resetDatabase' ) ;
@@ -2654,7 +2655,7 @@ export class DefaultClient implements Client {
26542655 } ) ;
26552656
26562657 // TODO: Handle new associations without a reload.
2657- this . associations_for_did_change = new Set < string > ( [ "cu" , "cuh" , "c" , "i" , "cpp" , "cc" , "cxx" , "c++" , "cp" , "hpp" , "hh" , "hxx" , "h++" , "hp" , "h" , "ii" , "ino" , "inl" , "ipp" , "tcc" , "idl" ] ) ;
2658+ this . associations_for_did_change = new Set < string > ( [ "cu" , "cuh" , "c" , "i" , "cpp" , "cc" , "cxx" , "c++" , "cp" , "hpp" , "hh" , "hxx" , "h++" , "hp" , "h" , "ii" , "ino" , "inl" , "ipp" , "tcc" , "txx" , "tpp" , " idl"] ) ;
26582659 const assocs : any = new OtherSettings ( ) . filesAssociations ;
26592660 for ( const assoc in assocs ) {
26602661 const dotIndex : number = assoc . lastIndexOf ( '.' ) ;
0 commit comments