microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.48k stars 28.65k forks source link

Allow banning certain symbols or sort them based on usage counts #227616

Open alexdima opened 2 weeks ago

alexdima commented 2 weeks ago

Image

mjbvz commented 1 week ago

@andrewbranch Is it possible to scope autoImportFileExcludePatterns to just one specific tsconfig project? We never really want to auto import from there in our core repo

andrewbranch commented 1 week ago

No, but VS Code evaluates the setting and sends it to TS Server per-file, so if VS Code itself supported applying resource-level settings to a glob pattern of files, for example, it would Just Work.

RyanCavanaugh commented 1 week ago

Moving this back to VS Code. This should be solved with per-folder VS Code user settings via autoImportFileExcludePatterns