Skip to content

Improve opening flow + docs for VS Code Desktop (many popups) #9568

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

Closed
tobiasdiez opened this issue Apr 26, 2022 · 2 comments
Closed

Improve opening flow + docs for VS Code Desktop (many popups) #9568

tobiasdiez opened this issue Apr 26, 2022 · 2 comments
Labels
aspect: growth Issues relating to product growth initiatives editor: code (desktop) team: IDE

Comments

@tobiasdiez
Copy link

tobiasdiez commented Apr 26, 2022

When you start a workspace in desktop VS code, you have to

  1. Allow the redirect to desktop client
    1. https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#autolaunchprotocolsfromorigins
    2. https://chromeenterprise.google/policies/#AutoLaunchProtocolsFromOrigins
    3. https://admx.help/?Category=Chrome&Policy=Google.Policies.Chrome::AutoLaunchProtocolsFromOrigins
    4. MS Edge configuration: [{"allowed_origins": [ "https://gitpod.io" ], "protocol": "vscode"}, {"allowed_origins": ["https://gitpod.io"], "protocol": "jetbrains-gateway"}]
    5. https://support.google.com/chrome/a/answer/7517624?hl=en&ref_topic=9023246
  2. Select the remote server platform (linux)
  3. Accept the ssh fingerprint
  4. Decide if you trust the contents of the remote repo

Relates to:

Original description

Is your feature request related to a problem? Please describe

When you start a workspace in desktop VS code, you have to

  • Select the remote server platform (linux)
  • Accept the ssh fingerprint
  • Decide if you trust the contents of the remote repo

One has to do this for every new workspace, even for the same repo.

Describe the behaviour you'd like

Make it possible to save the choices (per repo), so that one doesn't need to answer any questions when working on repos that one usually contributes too.

Describe alternatives you've considered

Writing a script that automatically clicks the correct buttons.

Additional context

Might be part of #8513

@loujaybee
Copy link
Member

loujaybee commented May 9, 2022

Thanks for raising @tobiasdiez! 🙏

@jeanp413 can you confirm if gitpod-io/openvscode-server#346 would resolve the SSH fingerprint prompt? We have a fix in JetBrains to suppress the known hosts dialog (CC: @iQQBot).

@loujaybee loujaybee added the aspect: growth Issues relating to product growth initiatives label May 9, 2022
@loujaybee loujaybee removed this from 🚀 IDE Team May 9, 2022
@loujaybee loujaybee changed the title VS code desktop: make starting a workspace simpler Improve opening flow + docs for VS Code Desktop (many popups) Jul 22, 2022
@loujaybee
Copy link
Member

loujaybee commented Aug 16, 2022

Thanks again for raising this @tobiasdiez 🙏

Going to now close this issue, here are a couple related docs:

  1. SSH fingerprint is now optimised with SSH Gateway settings, we recommend setting up an SSH key, and setting gitpod.remote.useLocalApp to false in your VS Code Preferences so that you get the latest connection method.
  1. The browser redirect will only need to be dismissed once going forward (not per workspace)
  1. How to optimise Workspace Trust is now documented

Please have a go setting everything up @tobiasdiez and let us know if you have any feedback 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspect: growth Issues relating to product growth initiatives editor: code (desktop) team: IDE
Projects
None yet
Development

No branches or pull requests

2 participants