Visual Studio Code is a free Microsoft code editor for Windows, macOS and Linux. It combines source-file editing with language assistance, command-line tools, debugging and Git. Developers can work on individual files or open a project folder, then add extensions for the languages and tools that project uses.
Working in a Visual Studio Code workspace
Opening a folder makes its contents available in the Explorer and gives Visual Studio Code a workspace for searching files, running tasks and storing project settings. Editor groups display files beside each other, so a script and its related markup can stay visible together. The Command Palette provides a searchable route to editor actions, while Quick Open locates files without expanding their folders.
Multiple cursors apply an edit at several selected positions. Selecting successive occurrences of a word lets the developer choose which repetitions to change. For broader edits, workspace search groups matching text by file and accepts regular expressions and patterns that include or exclude paths. Replacement previews show the pending differences before changes are applied to a match, a file or the wider workspace.
Formatting can operate on a whole document or a selection. Visual Studio Code includes formatters for JavaScript, TypeScript, JSON, HTML and CSS, with extension-based formatters available for other languages and conventions. Formatting on save, paste or typing can be enabled separately. Project settings let a repository use its own editing conventions without changing the user’s preferences for other folders.
IntelliSense and language extensions
IntelliSense uses a language service to analyze code and suggest variables, methods and other valid members. Typing narrows the suggestions; accepting a candidate inserts it into the file. Parameter hints show what a function expects, and quick information exposes details about a proposed member without opening another file.
JavaScript, TypeScript, JSON, HTML, CSS, SCSS and Less have built-in IntelliSense support. Other languages can gain richer analysis through extensions, while basic word completion is available more broadly. The language extension determines which assistance features are available, so adding syntax colors alone does not necessarily add the same analysis or debugging capabilities.
Integrated terminal and tasks
The integrated terminal runs installed shells such as PowerShell or Bash inside the editor. A terminal normally starts in the workspace’s root folder, and multiple terminals can remain open for different commands.
Visual Studio Code also turns recurring commands into tasks. It can discover supported project scripts, including npm tasks, or use a tasks.json file to define commands, arguments, working directories and environment variables. Tasks can be grouped so related jobs run together or in a specified order.
A problem matcher reads a tool’s warning and error output and connects it to source locations in the editor and Problems panel. The compiler, linter or build system still supplies the actual processing.
Debugging
Breakpoints suspend a running application at selected lines. While execution is paused, the debugger shows variable values and the chain of function calls that led there. Watch expressions are reevaluated at pauses, and the Debug Console can evaluate expressions in the selected stack frame. Stepping into, over or out of function calls exposes how values and control flow change.
Visual Studio Code includes debugging for JavaScript, TypeScript and Node.js. Other languages and runtimes use debugger extensions. A reusable launch configuration can specify an entry point, arguments and environment variables for applications that need more than running the active file. Supported debuggers also offer conditional breakpoints and logpoints, which write diagnostic messages without adding logging statements to the source.
Git through the Source Control view
The Source Control view lists modified files and separates staged changes from edits that have not been selected for a commit. Its diff editor compares content and supports staging individual changes, allowing part of a file to enter the next commit. Commits record local snapshots; push, pull and synchronization actions exchange work with remote repositories.
A graph presents commit and branch history, while file history and blame help trace earlier changes. When branches conflict, inline actions and a three-way merge editor provide ways to assemble the result. These operations use a separate Git installation and the same repository as command-line Git. Creating or reviewing GitHub pull requests uses the GitHub Pull Requests and Issues extension.
Coding agents
Natural-language requests can be used to plan code changes and have an agent create or edit several project files, run commands and check the result. Chat supports follow-up requests alongside the source, while the Agents window organizes sessions across projects. Changed-file diffs show what an agent modified, and checkpoints restore workspace file changes from a request.
Agent work can write directly to project files, with permissions controlling access to tools and resources. GitHub Copilot requires an account, and its free plan limits monthly completions and chat interactions. Available models, allowances and costs depend on the selected provider and plan; the desktop editor itself remains free.
Remote Development
The Remote Development extensions connect Visual Studio Code to folders on an SSH host, in a development container or inside Windows Subsystem for Linux. Commands and relevant extensions run in that target environment through VS Code Server. Source files can remain on the remote machine while the local editor provides the interface.
This lets a project use a container’s toolchain or a Linux environment rather than the local operating system’s tools. Remote Tunnels provide another connection method, and GitHub Codespaces supplies managed cloud development environments.





