vscode/extensions/typescript-language-features/src
Matt Bierner 2ae9352ae3
Try to avoid opening text documents just to process diagnostics
To handle JS/TS diagnostics, we currently use the language mode of an open text document. This should always be correct, but also causes us to open text documents that we don't need to

This change instead tries using the file extension first before falling back to use the text document. Using the file extension is not strictly correct since users can setup weird file associations, but should be ok for the vast majority of use cases

Investigated as part of #101885
2021-10-19 17:54:23 -07:00
..
commands Adopting langauge status api for JS/TS versions (#132015) 2021-09-14 08:35:12 -07:00
languageFeatures Simplify _onDidChangeInlayHints firing 2021-10-12 12:11:34 -07:00
task Extend disposable 2020-09-18 16:27:21 -07:00
test Fix rendering of @example comment blocks (#132821) 2021-10-07 16:22:36 -07:00
tsServer Disable dynamic routing when experimental project wide diagnostics are enabled 2021-10-11 14:50:28 -07:00
typings Inline object map type 2021-02-01 18:03:18 -08:00
ui Use warning for partial mode language status item 2021-10-04 09:19:47 -07:00
utils Try to avoid opening text documents just to process diagnostics 2021-10-19 17:54:23 -07:00
api.ts Organize imports in TS ext 2021-08-03 13:22:45 -07:00
extension.browser.ts Bundle TS 4.4 2021-08-02 15:33:27 -07:00
extension.ts Spelling 2021-09-28 16:59:04 -07:00
languageProvider.ts Try to avoid opening text documents just to process diagnostics 2021-10-19 17:54:23 -07:00
lazyClientHost.ts Use service for loading service configuration 2021-07-08 15:29:53 -07:00
protocol.const.ts chore(typescript-language-features): fix spelling of deprecated (#125693) 2021-06-07 14:45:08 -07:00
protocol.d.ts Remove old cast 2021-08-03 22:15:43 -07:00
test-all.ts tests - enable colors for windows (CI supports it and the new Windows terminal too) 2021-04-19 09:29:20 +02:00
typescriptService.ts Bundle TS 4.4 2021-08-02 15:33:27 -07:00
typescriptServiceClient.ts Add more specific check for lib files on web 2021-10-14 10:10:55 -07:00
typeScriptServiceClientHost.ts Try to avoid opening text documents just to process diagnostics 2021-10-19 17:54:23 -07:00