Skip to content
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

Use workspace/folder settings when file is opened outside of workspace #30841

Closed
OliverJAsh opened this issue Jul 17, 2017 · 1 comment
Closed
Assignees
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

Comments

@OliverJAsh
Copy link
Contributor

Given a workspace foo, if file foo/bar is opened in VSCode standalone (not inside the foo 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?

@vscodebot vscodebot bot added the workbench label Jul 17, 2017
@bpasero bpasero assigned sandy081 and unassigned bpasero Jul 17, 2017
@sandy081 sandy081 added settings-editor VS Code settings editor issues feature-request Request for new features or functionality labels Aug 25, 2017
@sandy081 sandy081 added this to the Backlog milestone Aug 25, 2017
@bpasero bpasero removed the workbench label Nov 16, 2017
@sandy081 sandy081 added config VS Code configuration, set up issues and removed settings-editor VS Code settings editor issues labels Nov 17, 2017
@sandy081
Copy link
Member

Duplicate of #32693

@sandy081 sandy081 marked this as a duplicate of #32693 Nov 17, 2017
@sandy081 sandy081 added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 17, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
Development

No branches or pull requests

3 participants