Provide a new API that returns globalStorageUri
, respecting the active Profile
#160466
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
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
The text was updated successfully, but these errors were encountered: