File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,6 @@ connection.onInitialize((params: InitializeParams): InitializeResult => {
7070
7171 if ( configService . hasWorkspaceFolderCapability && params . workspaceFolders ) {
7272 fileSystemService . registerWorkspaces ( params . workspaceFolders ) ;
73- // fileSystemService.moduleFileList.forEach((file) => {
74- // connection.console.log(file);
75- // });
7673 }
7774
7875 if ( configService . hasWorkspaceFolderCapability ) {
@@ -119,9 +116,9 @@ connection.onDidChangeConfiguration((change) => {
119116} ) ;
120117
121118connection . onDidChangeWatchedFiles ( ( change ) => {
122- change . changes . forEach ( ( change ) => {
123- connection . console . log ( change . type . toString ( ) + change . uri ) ;
124- } ) ;
119+ // change.changes.forEach((change) => {
120+ // connection.console.log(change.type.toString() + change.uri);
121+ // });
125122} ) ;
126123
127124function validate ( document : TextDocument ) : void {
Original file line number Diff line number Diff line change @@ -27,13 +27,9 @@ export function validateFilePaths(textDocument: TextDocument): Diagnostic[] {
2727 ( m = pattern . exec ( text ) ) &&
2828 problems < configService . globalSettings . maxNumberOfProblems
2929 ) {
30- console . log ( m ) ;
3130 let skip = false ;
3231 for ( const comment of text . matchAll ( commentPattern ) ) {
33- console . log ( 'Comment:' , comment ) ;
3432 if ( ! comment . index ) {
35- console . log ( 'no index' ) ;
36-
3733 continue ;
3834 }
3935
@@ -42,7 +38,6 @@ export function validateFilePaths(textDocument: TextDocument): Diagnostic[] {
4238 comment . index + comment [ 0 ] . length >= m . index ) ||
4339 ( comment . index >= m . index && comment . index <= m . index + m [ 0 ] . length ) ;
4440
45- console . log ( 'Skip: ' , skip ) ;
4641 if ( skip ) {
4742 break ;
4843 }
You can’t perform that action at this time.
0 commit comments