-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
extensionKind "["ui"] is too strict, the extension can also run a a workspace extension #330
Comments
Hi @egamma , This has been intentionally stricted in the latest release. It was discussed in #318 and #284, and to sum up, I didn’t thought users would need/want to install the extension on remotes, but instead, just see the projects from the host. But it appears some users installed the extension inside the remote and would like to have separate projects, for each remote. I'm collecting feedbacks in #323 , so new updates could incorporate new/better support for these scenarios. Thank you for your PR. It’s one of the changes that I have to make, and it’s a good start 👍 . I also need to re-enable the I wonder if I could have a way to open any remote folder, even when I’m local. It appears this comment Is a start, but I didn’t dig on the extension itself to see if I can know if I’m currently running remotely, so I would know if I save local or remote folders. I’ll think about that after re-enabling Thank you |
Stricting the extension to
Another use case is when VS Code is run in the browser in VS Online. In this setup there is no UI extension host and your extension cannot be installed at all when it is You could think of a project manager that would work across VSO Environements and VS Code. To do so you would have to store the project.json in the cloud or in some gist so that it can be accessed from anywhere.
This is possible when you know the full URI of the remote folder. It can either be done using a command (see this comment microsoft/vscode#89952 (comment)) or it can be done using the VS Code CLI using the |
Hi, given the PR from @Chuxel this extension can now also run as workspace extension. It does but does not have any hard requirements on local assets, devices, or capabilities. Therefore please change the extensionKind to "extensionKind": ["ui", "workspace"] which makes the extension more generally usable.
For more details pls see https://code.visualstudio.com/api/advanced-topics/remote-extensions#incorrect-execution-location.
The text was updated successfully, but these errors were encountered: