Visual Studio Code Installation

1. Installation

  1. Open the appropriate OS section:

    Expand for Windows
    1. Download the installer from here.

    Expand for Rhel
    • Original install doc can be referenced here.

    • Steps:

      1. Install the key and repo

        sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
      2. Install the repo

        sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
      3. Update the package cache

        dnf check-update
      4. Install

        sudo dnf install code
    Expand for Ubuntu
    • Original install doc can be referenced here.

    • If Snap is installed then:

      sudo snap install --classic code
    Expand for Fedora
    • If Snap is installed then:

      sudo snap install --classic code

2. Configuration

2.1. Edit Config

  • Add the following to the VSCode settings file:

    1. Open the config file for editing:

      Unix Config File location
      ~/.config/Code/User/settings.json

      You may need to create the folder first with:

      mkdir -p ~/.config/Code/User
      Windows Config File location
      %APPDATA%\Code\User\settings.json
    2. Add these key-value pairs:

      New entries
          "workbench.sideBar.location": "right",
          "files.autoSave": "afterDelay",
          "window.titleBarStyle": "native",
          "asciidoc.preview.useEditorStyle": false,
          "workbench.colorTheme": "Visual Studio Light",
          "workbench.iconTheme": "material-icon-theme",
          "editor.codeLens": false
      The key window.titleBarStyle entry will fix the SSH X11 forwarding Window Resize bug.

2.2. Install Extensions

  1. AsciiDoc

  2. C# Dev Kit

  3. Continue (AI code assistant)

  4. Docker

  5. Draw.io Integration

  6. Markdown Preview Enhanced

  7. markdownlint

  8. Material Icon Theme

  9. PowerShell

  10. Pylance

  11. PyScript

  12. Python

  13. scriptcsRunner

  14. SQL Server (mssql)

  15. YAML

3. Extension Configuration

3.1. Continue