You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7663deb
Browse filesBrowse the repository at this point in the historyBrowse files
perf(language-service): quick exit if no code fixes can exist (#57000)
This is a performance optimization that would exit early when
code actions are requested, but we know Angular cannot provide fixes
based on the error codes.
Previously, we would unnecessarily compute and analyze the application
for semantic diagnostics.
This will be helpful for: angular/vscode-ng-language-service#2050
PR Close#57000
Copy file name to clipboardExpand all lines: packages/language-service/src/language_service.ts
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -356,6 +356,17 @@ export class LanguageService {
356
356
});
357
357
}
358
358
359
+
/**
360
+
* Performance helper that can help make quick decisions for
361
+
* the VSCode language server to decide whether a code fix exists
362
+
* for the given error code.
363
+
*
364
+
* Related context: https://github.com/angular/vscode-ng-language-service/pull/2050#discussion_r1673079263
0 commit comments