[typescript-language-features] Add option for excluding library symbols in "Go to Symbol in Workspace" (#192798)

* add option for excluding library symbols

* clarify in message that new option requires ts 5.3

* remove expect error
This commit is contained in:
Gabriela Araujo Britto
2023-09-13 11:19:52 -07:00
committed by GitHub
parent ca3b12f580
commit f563e33800
4 changed files with 14 additions and 0 deletions

View File

@@ -153,6 +153,7 @@
"typescript.preferences.includePackageJsonAutoImports.on": "Always search dependencies.",
"typescript.preferences.includePackageJsonAutoImports.off": "Never search dependencies.",
"typescript.preferences.autoImportFileExcludePatterns": "Specify glob patterns of files to exclude from auto imports. Relative paths are resolved relative to the workspace root. Patterns are evaluated using tsconfig.json [`exclude`](https://www.typescriptlang.org/tsconfig#exclude) semantics. Requires using TypeScript 4.8 or newer in the workspace.",
"typescript.workspaceSymbols.excludeLibrarySymbols": "Exclude symbols that come from library files in `Go To Symbol in Workspace` results. Requires using TypeScript 5.3+ in the workspace.",
"typescript.updateImportsOnFileMove.enabled": "Enable/disable automatic updating of import paths when you rename or move a file in VS Code.",
"typescript.updateImportsOnFileMove.enabled.prompt": "Prompt on each rename.",
"typescript.updateImportsOnFileMove.enabled.always": "Always update paths automatically.",