-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Local VSCode Desktop extensions have to be installed manually (Install in SSH) on workspace open #7906
Local VSCode Desktop extensions have to be installed manually (Install in SSH) on workspace open #7906
Comments
Does it happen to all of your local extensions? |
You can add these extension to .gitpod.yaml then they will automatic install |
@shaal do you have this button? Other than that, what @mustard-mh said is correct, you can list your extensions in Not sure if this will work but you can try adding: #!/usr/bin/bash -eui
_exts=(
one.two
three.four
)
for _ext in "${_exts[@]}"; do {
code --install-extension "$_ext";
} done in your dotfiles repo Footnotes |
@axonasif @mustard-mh thank you, but I think it's missing the point of this bug/feature request, what you suggested is a workaround and not solving the actual problem. Gitpod is a service that improves developer experience. That behavior is different when opening a workspace in a local VSCode, because all of a sudden, my favorite VSCode extension do not "carry over" to the project that runs on Gitpod workspace. |
Yeah, that's true, if it was then we'd be already closing the issue you know. |
@akosyakov is that something that can be added? or not possible? |
What is wrong with |
There is also a command |
Relates to: #9136 |
@shaal - Have you tried the recently introduced settings sync: https://www.gitpod.io/changelog/vs-code-desktop-settings-sync - I think that + the extensions in the gitpod.yml should cover your needs? Can you give it a try, if you're still having issues, feel free to re-open! 🙏 Any edge cases for personal setups, dotfiles should hopefully plug any final developer experience gaps for tweaking personal setup. |
@loujaybee I enabled VSCode sync (and restarted VSCode). When I open Gitpod workspace in a local VSCode, it's not that VSCode is not aware of the extension I wanted installed (in my example - CoPilot, and Gitlens). It's that there's an additional manual step, every time I open a workspace. |
@loujaybee just to confirm, I am still seeing this issue. |
I think we should fetch setting sync endpoint and install extensions from there automatically and then nudge people to configure Setting Sync with Gitpod. I am not sure we can access extension which are not installed from VS Code Desktop core. cc @jeanp413 |
The changelog is updated with documentation. Will start to begin phased release to users. |
Currently, the rollout is on hold as we're reviewing the data, and it seems that some users are not able to enable properly. It's possible to enable this manually still, but we won't yet roll out to all users. |
Let's just leave it as an opt in setting and remove the cofig cat key, also update docs. |
@loujaybee This problem still exists when running VSCode on Windows. |
@shaal do you have |
Could you please also share logs through email 🙏 ? |
Sure, I'll send the logs. |
@axonasif @loujaybee logs sent to [email protected] |
@shaal could you share the logs from |
@shaal do you still have this issue? if so please share the following logs
|
Yes, I still have this issue, I'll share the logs next time I'm opening Gitpod in vscode. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is still not resolved. |
@jeanp413 thank you. |
@shaal what's the version of the remote-ssh extension, it was buggy in insiders and you need to update it to latest version |
@jeanp413 thank you! That was it! I had to switch I can confirm Gitpod workspace that opens in local VSCode - loads all local VSCode extension as expected, no manual steps required. 🎉 |
Bug description
When you have local VSCode extensions installed, and you open a Gitpod workspace locally.
You'll get this action button next to some extensions (e.g. Composer, Gitlens, etc)
Install in SSH: <name_of_workspace>
Clicking on that button works as expected.
But it's very annoying that the on every new Gitpod workspace I open locally, I have to repeat the whole process on dozens of extensions.
cc: @JSchreff
Steps to reproduce
Gitlens
VSCode extension locally on your computer.Extensions
->Local - Installed
section, findGitlens
extension.Install in SSH: <name_of_workspace>
Gitlens
extension again.Workspace affected
No response
Expected behavior
Similar to how Gitpod 'remembers' the VSCode extensions I like to use when I open a workspace in the browser, I'd like it to rememebr and carry over all my installed extensions when I work locally on my computer.
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: