Skip to content

Linux VS Code Guide

Mattscreative edited this page Dec 5, 2025 · 2 revisions

Linux VS Code Guide

Complete beginner-friendly guide to Visual Studio Code on Linux, covering Arch Linux, CachyOS, and other distributions including installation, configuration, extensions, and development setup.


Table of Contents

  1. VS Code Installation
  2. VS Code Configuration
  3. Extensions
  4. Development Setup
  5. Troubleshooting

VS Code Installation

Install VS Code

Arch/CachyOS:

# Install VS Code
yay -S visual-studio-code-bin

# Or open-source version
sudo pacman -S code

Debian/Ubuntu:

# Download from code.visualstudio.com
# Or use snap
sudo snap install code --classic

Fedora:

# Download from code.visualstudio.com
# Or use flatpak
flatpak install com.visualstudio.code

Launch VS Code

Start VS Code:

# Launch VS Code
code

# Or from application menu

VS Code Configuration

Settings

Configure VS Code:

  1. FilePreferencesSettings
  2. Search for setting
  3. Modify value
  4. Save

Keybindings

Customize shortcuts:

  1. FilePreferencesKeyboard Shortcuts
  2. Search command
  3. Change keybinding

Extensions

Install Extensions

Install extension:

  1. ViewExtensions
  2. Search extension
  3. Click Install

Popular Extensions

Recommended extensions:

  • Python: Python language support
  • GitLens: Git integration
  • Prettier: Code formatter
  • ESLint: JavaScript linter

Development Setup

Python Development

Python setup:

  1. Install Python extension
  2. Select Python interpreter
  3. Create .vscode/settings.json
  4. Configure debugger

Git Integration

Git features:

  • Source Control panel
  • Git commands in command palette
  • GitLens extension

Troubleshooting

VS Code Not Starting

Check installation:

# Reinstall VS Code
yay -S visual-studio-code-bin

# Check errors
code --verbose

Extension Issues

Reset extensions:

# Disable extensions
code --disable-extensions

# Re-enable one by one

Summary

This guide covered VS Code installation, configuration, and development setup for Arch Linux, CachyOS, and other distributions.


Next Steps


This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.

Clone this wiki locally