Use workspace/folder settings when file is opened outside of workspace #30841
Labels
config
VS Code configuration, set up issues
*duplicate
Issue identified as a duplicate of another issue(s)
feature-request
Request for new features or functionality
Milestone
Given a workspace
foo
, if filefoo/bar
is opened in VSCode standalone (not inside thefoo
workspace), any settings in
foo/.vscode/settings.json` will not be picked up.This matters when using VSCode as a git mergetool. VSCode will open a file an editor to present the merge conflict, but the editor will not respect workspace settings. One example is where this is significant is formatter settings (like Prettier). Formatting the file will not respect project settings.
I understand workspace settings are specifically related to workspaces in VSCode, but I can't help but wonder if it makes sense to have "folder" settings which can be inherited from any parent folder for a given file. Has this idea been discussed?
The text was updated successfully, but these errors were encountered: