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

API for getting the path to the current *.code-workspace file #49452

Closed
fabiospampinato opened this issue May 8, 2018 · 2 comments
Closed

API for getting the path to the current *.code-workspace file #49452

fabiospampinato opened this issue May 8, 2018 · 2 comments
Assignees
Labels
api feature-request Request for new features or functionality workbench-multiroot Multi-root (multiple folders) issues

Comments

@fabiospampinato
Copy link
Contributor

I maintain the Projects+ extension, used for switching between projects quickly.

I would like to add support for saving the current multi-root project in the extension configuration.

I could do this by saving the paths to all the roots and then opening a new window with them in it, like this basically, but this way workspace-specific settings are basically discarded because this will be considered a new workspace.

I could ask my users to manually write the path to their *.code-workspace files into the extension configuration, but this can be tedious and it should be automated.

If there was an API for retrieving the path to the current *.code-workspace file I could implement this thing optimally. Can we have one?

A similar extension to mine, Project Manager, is amongst the most downloaded in the whole marketplace, and it could benefit from this too. (/cc @alefragnani)

@jrieken jrieken added api workbench-multiroot Multi-root (multiple folders) issues feature-request Request for new features or functionality labels May 8, 2018
@alefragnani
Copy link

Hi @fabiospampinato ,

Thanks for being another vote on this request 😄 .

I have already requested this on #35407 (comment), and then it was extracted by @bpasero to #37421. Last week I asked about any news on this, and I was waiting for some news.

I just remembered that Microsoft Build event is happening right now, and I understand the team being busy working/supporting that, because I see VS Code as one of the most important products at the moment. It's being used in a bunch of MS presentations/videos/tutorials.

Looking forward for this

@fabiospampinato
Copy link
Contributor Author

Nice, closing as duplicate of #37421 then, thanks for your message.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api feature-request Request for new features or functionality workbench-multiroot Multi-root (multiple folders) issues
Projects
None yet
Development

No branches or pull requests

4 participants