Open lszomoru opened 3 years ago
To support virtual workspaces we would need to route all OmniSharp-Roslyn file access (meaning MSBuild as well) through the extension. Opened a PR to mark that virtualWorkspaces are not supported at this time.
Thanks for adopting the virtualWorkspaces
capability!
It's now also possible to give a description why the capability is enabled or disabled:
{
"capabilities": {
"virtualWorkspaces": {
"supported": false,
"description": "Debugging is not possible in virtual workspaces."
}
}
}
{
"capabilities": {
"virtualWorkspaces": {
"supported": "limited",
"description": "In virtual workspaces, resolving and finding references across files is not supported."
}
}
}
This message can be seen in the extensions view:
Reopening to track providing a description of why virtual workspaces are unsupported.
I forgot to mention that the new format requires 1.57 insiders.
I have an idea that it's possiable to add limited support for virtual workspaces.
.csproj
and post it's content to LSP ServerTargetFramework
and load a local version of Sdkmore adventage:
RegExp
) and then client post them all to the server
👋 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'."virtualWorkspaces": true
if your extension is prepared for virtual workspaces"virtualWorkspaces": false
if your extension should be disabled when a virtual workspace is openedFor questions and comments please use the Virtual Workspaces Tracking Issue.
Thanks for the support and the great work! ❤️