-
Notifications
You must be signed in to change notification settings - Fork 29.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow extensions to contribute defaults for built in configurations #46851
Comments
(Experimental duplicate detection) |
@DanTup Why don't you update the setting when your extension is activated? |
@sandy081 That could work, though it has some drawbacks:
I think it'd be better if extensions could declare these in package.json and VS Code merges them all at startup (I guess it already reads the manifests at startup for commands, etc.). |
Supporting overriding configuration defaults might need adoption from all those settings which need restart. Because, they might go in a loop when there is a change in configuration value due to defaults change. |
Second this, redhat-developer/vscode-java#618 We also have similar request to hide some files for Java language specifically. But this |
Java users have been complaining about the temporary files generated for handling a project. The temp files can be generated at any stage and can change as long as users change project settings. Restarting everytime does not look appealing. So we really need vscode to address this issue for us to hide those temp files without reloading window. |
I guess there's no chance of this ever being implemented? |
… serializable. Pass only id and display name as extension info
…onfiguration properties
…it is not serializable. Pass only id and display name as extension info
Currently Code has special knowledge of some folders that shouldn't be looked in, such as:
For the same reason that these folders are in there, extensions may wish to contribute their own folders (for example we'd like to exclude the
.dart_tool
folder).As far as I can tell, this isn't currently possible. I tried adding it to
configurationDefaults
inpackage.json
in the hope I'd be merged with that object but it just seems to have no effect.Is there a way that I can provide values to be added to
files.watcherExclude
,files.exclude
,search.exclude
?The text was updated successfully, but these errors were encountered: