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

Provide a new API that returns globalStorageUri, respecting the active Profile #160466

Closed
alefragnani opened this issue Sep 8, 2022 · 1 comment
Assignees
Labels
api feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code user-profiles User profile management
Milestone

Comments

@alefragnani
Copy link

I've noticed that ExtensionContext.globalStorageUri always returns the same Default Profile location (~/Library/Application Support/Code - Insiders/User in MacOS), no matter which Profile is currently active.

My Project Manager extension stores its projects and some cache files inside that folder, and with the new Profiles feature, I tried to have different projects / caches for each profile, with no success. This happens because ExtensionContext.globalStorageUri does not respect the active profile.

I don't think that updating ExtensionContext.globalStorageUri to respect the active Profile is the answer, because What If I want to share the same projects between all Profiles instead?

On the other hand, I think that it would require a new API, to provide the globalStorageUri, with a parameter to respect or not the active Profile.

Thanks in advance

@vscodenpa
Copy link

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding, and happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code user-profiles User profile management
Projects
None yet
Development

No branches or pull requests

6 participants