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

Support virtual workspaces #2571

Open
lszomoru opened this issue May 7, 2021 · 2 comments
Open

Support virtual workspaces #2571

lszomoru opened this issue May 7, 2021 · 2 comments
Labels
enhancement New feature or request revisit

Comments

@lszomoru
Copy link

lszomoru commented May 7, 2021

👋 Hi there, Martin here, from the VS Code team.

Recently we've announced the Remote Repository feature that lets you browse and edit files and folders directly on GitHub.

Open Remote Repository... opens VSCode on a folder or workspace located on a virtual file system. We call this a virtual workspace. We observed that not all extension support this well, either because they can not, or they haven't thought about it.

It would be fantastic if you could test whether your extension can handle virtual workspaces:

Check out the Virtual Workspaces Extension Author Guide on how to do that.

When done, set the new virtualWorkspaces capability in your 'package.json'.

{
  "capabilities": {
    "virtualWorkspaces": true | false
  }
}
  • Use "virtualWorkspaces": true if your extension is prepared for virtual workspaces
  • Use "virtualWorkspaces": false if your extension should be disabled when a virtual workspace is opened

For questions and comments please use the Virtual Workspaces Tracking Issue.

Thanks for the support and the great work! ❤️

@ghost ghost added the Needs: Triage 🔍 label May 7, 2021
@majastrz
Copy link
Member

majastrz commented May 8, 2021

It doesn't look like this feature offers any sort of file system abstraction we could use from the language server, so we have to be either degraded or disabled with a remote workspace. My vote is to disable because without a language server we basically only have TextMate, which isn't meant for full syntax highlighting duties.

@alex-frankel alex-frankel added enhancement New feature or request and removed Needs: Triage 🔍 labels May 13, 2021
@alex-frankel
Copy link
Collaborator

Will revisit once Remote Repositories has proper LSP support. We will plan to disable this capability for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request revisit
Projects
None yet
Development

No branches or pull requests

3 participants