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

Alternative storage location for VS classic extension setting #922

Open
nguerrera opened this issue Aug 25, 2022 · 0 comments
Open

Alternative storage location for VS classic extension setting #922

nguerrera opened this issue Aug 25, 2022 · 0 comments
Labels
ide Issues for VS, VSCode, Monaco, etc.
Milestone

Comments

@nguerrera
Copy link
Contributor

In #916 that fixed #660, we had to read .vs/VSWorkspaceSettings.json ourselves when a solution is open. We should keep that for backwards compatibility, but I also think it might make sense to supporting storing this configuration elsewhere.

The problem with .vs/ is that it is commonly .gitignored and contains a lot of temporary junk. Although can do this in .gitignore, it's a pain to figure out.

.vs/
!.vs/VSWorkspaceSettings.json

And so long as we need code to read the data from elsewhere, maybe we should support another location and avoid the .vs/ folder.

And if we're doing that, it becomes interesting to think about whether we can store these settings in a place that works for both VS and VS Code (and potentially other IDEs/editors). We could maybe use cadl-project.yaml, or maybe read .vscode/settings.json in VS classic.

This is now lower priority with #660 fixed, but keeping an issue for things we talked about on #660 but didn't do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide Issues for VS, VSCode, Monaco, etc.
Projects
None yet
Development

No branches or pull requests

5 participants