File tree Expand file tree Collapse file tree
packages/language-server/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,14 +23,15 @@ connection.onInitialize((params) => {
2323 } ,
2424 } ) ;
2525
26- // Disable rename provider due to conflict with ts-plugin
27- // TODO: Allow rename operations that do not conflict with ts-plugin
28- // TODO: Do not disable provider in CSS files that are not CSS Modules
26+ // CSS Service's renameProvider conflicts with ts-plugin, causing #121.
27+ // Therefore, we disable that provider.
2928 delete cssService . capabilities . renameProvider ;
30- // Disable references provider due to conflict with ts-plugin
31- // TODO: Allow references operations that do not conflict with ts-plugin
32- // TODO: Do not disable provider in CSS files that are not CSS Modules
29+ // CSS Service's renameProvider conflicts with ts-plugin, causing duplicate entries in find all references.
30+ // Therefore, we disable that provider.
3331 delete cssService . capabilities . referencesProvider ;
32+ // CSS Service's documentLinkProvider conflicts with ts-plugin, causing #133 and #138.
33+ // Therefore, we disable that provider.
34+ delete cssService . capabilities . documentLinkProvider ;
3435
3536 return server . initialize ( params , createSimpleProject ( [ ] ) , [ cssService ] ) ;
3637} ) ;
You can’t perform that action at this time.
0 commit comments