Linux · Programming
VS Code
A lightweight, extensible source code editor supporting many languages, built on Electron and open-source core.
- License
- MIT
- Latest version
- 1.143.1
What is VS Code?
Visual Studio Code is a source code editor developed by Microsoft. It combines a lightweight interface with powerful features like IntelliSense and debugging. The core is open-source, but the branded version includes proprietary telemetry and updates. It has become the de facto standard for web and general-purpose development due to its speed and extension ecosystem.
It targets developers who want a fast, customizable editor without the overhead of a full IDE. It works well for JavaScript, Python, C++, and Go, among others. Its extension market allows you to tailor the environment to specific languages or workflows, making it suitable for both beginners and experienced engineers.
Compared to Windows tools, it feels nearly identical on Linux. Since it is built on Electron, the UI is consistent across platforms. The main difference is the integration with the Linux terminal and file system. It handles native Linux paths and permissions correctly, avoiding the path-separator issues common in other cross-platform tools.
Best for: Developers who want a versatile, feature-rich editor that works consistently across different operating systems.
Key features of VS Code
- IntelliSense with context-aware suggestions
- Integrated terminal and shell integration
- Built-in Git version control
- Extensive extension marketplace
- Debugging support for multiple languages
- Remote development via SSH and containers
- Multi-cursor editing and find/replace
Pros
- Free and open-source core
- Huge extension ecosystem
- Fast startup and low memory usage for an Electron app
- Consistent experience across Windows, macOS, and Linux
Cons
- Heavy memory usage compared to native editors
- Proprietary branding and telemetry in the official build
- Can feel bloated for simple text editing tasks
Windows programs VS Code replaces
How to install VS Code on Linux
sudo pacman -S codeTips for Windows users
If you are coming from Windows, your shortcuts will mostly work, but check for conflicts with your desktop environment. Use the integrated terminal for running scripts, as it inherits your shell environment. Note that file paths use forward slashes, and permissions matter; ensure your user has read/write access to project directories. Install the 'Code - OSS' package from your distro repository if you want to avoid Microsoft's proprietary updates, or use the official .deb/.rpm packages for the latest features.
VS Code: frequently asked questions
Is VS Code free on Linux?
Yes, the editor is free to use. The core is open-source, and Microsoft offers it at no cost for commercial and personal use.
Can I use VS Code without an internet connection?
Yes, once installed and extensions are downloaded, it works offline. Some features like cloud sync or specific remote connections require internet.
How do I install VS Code on Arch Linux?
You can install the official package from the AUR or the 'code' package from the community repository. The AUR version tracks the latest release.
Does VS Code support Python development?
Yes, install the official Python extension. It provides linting, formatting, and debugging support for Python scripts.
Updated