Skip to content

IEnvironmentService suggestion #246051

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

IEnvironmentService suggestion #246051

wants to merge 1 commit into from

Conversation

roblourens
Copy link
Member

No description provided.

@roblourens roblourens self-assigned this Apr 9, 2025
@roblourens roblourens requested a review from bpasero April 14, 2025 02:50
Copy link
Member

@bpasero bpasero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Red CI

@roblourens
Copy link
Member Author

Well I didn't actually implement the thing, was just looking for your feedback on the shape 🙂

@bpasero
Copy link
Member

bpasero commented Apr 14, 2025

I think it would be reasonable to have this on INativeWorkbenchEnvironmentService and use the configuration.workspace property in there.

We cannot have it anywhere else because environment service is a service that is instantiated in contexts without workspaces.

@roblourens
Copy link
Member Author

Then what does workspaceStorageHome mean in contexts without workspaces?

@bpasero
Copy link
Member

bpasero commented Apr 14, 2025

@roblourens I think its still fair to have it as the root for workspace related data, as it does not require you to have a workspace per-se. We may be using this for cleanup tasks for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants