-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Provide UI to easier changing of the running location of an extension #194583
Comments
Extensions have a way in their manifest file (in their
The above is documented at https://code.visualstudio.com/api/advanced-topics/remote-extensions#incorrect-execution-location , but the audience of that document is extension authors, not users of extensions. The above can be overriden by advanced users via settings.json, via the From your feedback, I think you would like for a better experience in managing your extensions, for easier changing of the location where an extension is installed at / executed at. |
@alexdima thanks so much for this response and the context you provided! You're right about what I'm looking for. Looking forward to seeing this issue progress! |
@zachsiegel-capsida Can you please explain what is missing for you in current Extensions UI? |
@sandy081, the response above from @alexdima exactly summarizes what I'm looking for in terms of configuration. He mentioned
and my issue is basically that I think there should be more user-facing configuration and documentation regarding whether extensions run on the remote versus UI.
Ideally, a well-documented settings option would force all extensions that can run on the UI to run on the UI. I believe this would be a killer features for the scores of users who have issues with VS Code filling their remote instance filesystems with gigabytes of |
Here is the user doc for managing extensions in remote set up - https://code.visualstudio.com/docs/devcontainers/containers#_managing-extensions |
Thanks for this response @sandy081. My issue was about the following behavior described this documentation you linked to:
My feature request is to provide a single settings option that configures VS Code to use Trying to figure out which extensions can run in Thank you! |
remote.extensionKind
value and better documentation of that settings parameter
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Updated the summary of the issue accordingly. |
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding, and happy coding! |
@sandy081 if you don't mind me asking, what's the argument against providing an option to prefer extensions to run on |
It is a user convenient feature and I do not see many users asking for this. One can achieve this already using the existing setting. |
Documentation of the
remote.extensionKind
setting is minimal despite it being very important. There are many issues involving "Remote-SSH" connections using more remote compute resources than users would like (#151205, #1110, #182903, and StackOverflow e.g.), and perhaps these issues could be resolved with a bettersettings.json
API for this behavior and improved documentation.Proposed change to
settings.json
: global"ui"
extension configurationIn my case, I would like all extensions that can run on
"ui"
to do so.Currently, I inspect
~/.vscode-server/extensions/extensions.json
and add all the"identifier"."id"
values I can find to"remote.extensionKind"
insettings.json
with the value["ui"]
. I add them manually. This seems like a bad system to me! I should not have to do this. Perhaps the settings UI can give each extension a checkbox setting for "run locally if possible".For extensions that cannot run on
"ui"
, I would like an option for them to not run at all and/or to give an error message. Maybe "cannot run in workspace" in the extensions UI.Extension-specific settings plus a "run all extensions on
"ui"
setting would suffice.Proposed improvement to documentation
The default value of the
"remote.extensionKind"
setting seems to be:What is this
"pub.name"
? This does not seem to be documented, but several GitHub issues quotesettings.json
files containing this value.Also, my method of inspecting
~/.vscode-server/extensions/extensions.json
is basically something I figured out on my own. If this is the best method for forcing extensions to run on"ui"
, then please document this procedure. If there's a better way, please document it.Thank you for the "Remote-SSH" extension! I use it every day and I really appreciate it. I have had to piece together subsets of this extension's functionality in the past and I can't overstate how useful it is to have it all together. Feels like good design to me! Thanks.
The text was updated successfully, but these errors were encountered: