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 => {
70
70
71
71
if ( configService . hasWorkspaceFolderCapability && params . workspaceFolders ) {
72
72
fileSystemService . registerWorkspaces ( params . workspaceFolders ) ;
73
- // fileSystemService.moduleFileList.forEach((file) => {
74
- // connection.console.log(file);
75
- // });
76
73
}
77
74
78
75
if ( configService . hasWorkspaceFolderCapability ) {
@@ -119,9 +116,9 @@ connection.onDidChangeConfiguration((change) => {
119
116
} ) ;
120
117
121
118
connection . 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
+ // });
125
122
} ) ;
126
123
127
124
function validate ( document : TextDocument ) : void {
Original file line number Diff line number Diff line change @@ -27,13 +27,9 @@ export function validateFilePaths(textDocument: TextDocument): Diagnostic[] {
27
27
( m = pattern . exec ( text ) ) &&
28
28
problems < configService . globalSettings . maxNumberOfProblems
29
29
) {
30
- console . log ( m ) ;
31
30
let skip = false ;
32
31
for ( const comment of text . matchAll ( commentPattern ) ) {
33
- console . log ( 'Comment:' , comment ) ;
34
32
if ( ! comment . index ) {
35
- console . log ( 'no index' ) ;
36
-
37
33
continue ;
38
34
}
39
35
@@ -42,7 +38,6 @@ export function validateFilePaths(textDocument: TextDocument): Diagnostic[] {
42
38
comment . index + comment [ 0 ] . length >= m . index ) ||
43
39
( comment . index >= m . index && comment . index <= m . index + m [ 0 ] . length ) ;
44
40
45
- console . log ( 'Skip: ' , skip ) ;
46
41
if ( skip ) {
47
42
break ;
48
43
}
You can’t perform that action at this time.
0 commit comments