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

  1. In the Primary Side Bar, click on the Continue Icon.

  2. Click on the Assistants drop down button.

    Continue Assistants Dropdown

  3. Click on the Local Assistant Config button to open the yaml config file.

    Continue Assistants LocalAssistant Config

  4. Create a yaml config. Reference is here.:

    Example yaml config file
    name: Local Ollama Assistant
    version: 1.0.0
    schema: v1
    models:
      - name: Ollama-Phi4
        apiBase: http://192.168.1.2:11434/
        provider: ollama
        model: phi4:latest
        roles:
          - autocomplete
          - chat
          - edit
          - apply
        defaultCompletionOptions:
          temperature: 0.3
      - name: Ollama-DeepSeek-R1-14b
        apiBase: http://192.168.1.2:11434/
        provider: ollama
        model: deepseek-r1:14b
        roles:
          - autocomplete
          - chat
          - edit
          - apply
        defaultCompletionOptions:
          temperature: 0.3
      - name: Ollama-DeepSeek-Coder-R2-16b
        apiBase: http://192.168.1.2:11434/
        provider: ollama
        model: deepseek-coder-v2:16b
        roles:
          - autocomplete
          - chat
          - edit
          - apply
        defaultCompletionOptions:
          temperature: 0.3
    context:
      - provider: code
      - provider: docs
      - provider: diff
      - provider: terminal
      - provider: problems
      - provider: folder
      - provider: codebase