How to Setup Visual Studio Code for Remote Development | Scribe

    How to Setup Visual Studio Code for Remote Development

    • Stanley Ndagi |
    • 0 step |
    • 4 minutes

    Setting up vscode.dev

    You don't need to have VSCode installed in your machine. You can use the online VSCode. In this tutorial, I'll show you how to do that. If you are using GitHub for your remote repositories using [[github.dev]] is a better process. It's good to know that you have this option, ideally for prototyping but it also supports remote repositories.
    Navigate to [https://vscode.dev/](https://vscode.dev/)
    Click here (user account icon).
    Click "Turn on Cloud Changes..."
    Click on your preferred account to sign in (GitHub or Microsoft). In this case, "Sign in with GitHub".
    Click this icon, again, to confirm that you're signed in.
    Since it reads that "You are not signed in to any accounts", reload the browser tab.
    Click this icon, again, to confirm that you're signed in.
    Great. You are if you can see the account name.\ In this case, **NdagiStanley (GitHub)**. Click on that. Then, click "Manage Trusted Extensions" to see whether your account has any.\ More on extensions below. Click "OK" or the 'x' icon to close that modal.
    Click "Turn on Settings Sync..." to sync your settings.
    Click "Sign in & Turn on"
    Click on your preferred account (GitHub or Microsoft) In this case, "... GitHub" (since I'm signed in already) > Note that: Settings Sync and Cloud Changes can be synced from different accounts
    Click the icon, again.\ (Notice mine is on the left, since that's how I've configured my VSCode) You'll notice the checkmark next to "Settings Sync is On". Great!
    Great. Your editor is ready.
    external-screenshot

    Editor options

    Click here (hamburger icon) to view the menu.
    Open the integrated terminal. Terminal Keyboard shortcuts?\ Press [[Ctrl]] + [[\\\`]] (For Windows or Linux) OR [[⌃]] +[[\\\`]] (For macOS)\ \ Refer to <https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf> , <https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf> and <https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf>
    The terminal is not active on [[vscode.dev]] Click "Continue Working in GitHub Codespaces" to spin up a fully-configured development environment for this repository in the cloud with GitHub Codespaces.

    Opening a Remote Repository

    This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe