We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e50853 commit 2953574Copy full SHA for 2953574
src/server/session.ts
@@ -882,8 +882,8 @@ namespace ts.server {
882
}
883
884
private getEncodedSyntacticClassifications(args: protocol.EncodedSyntacticClassificationsRequestArgs) {
885
- const { file, project } = this.getFileAndProject(args);
886
- return project.getLanguageService().getEncodedSyntacticClassifications(file, args);
+ const { file, languageService } = this.getFileAndLanguageServiceForSyntacticOperation(args);
+ return languageService.getEncodedSyntacticClassifications(file, args);
887
888
889
private getEncodedSemanticClassifications(args: protocol.EncodedSemanticClassificationsRequestArgs) {
0 commit comments