Github
GitHub is a code hosting and version control platform for developers to collaborate on software projects.
Website
Industry
Website
Share this article:

How to set Visual Studio Code as the default editor in GitHub Codespaces

Here is how to set visual studio code as the default editor in github codespaces

  1. First click on your profile picture in the top-right corner of the header
  2. Next click on "Settings" in the dropdown menu
  3. Click on "Codespaces" in the left sidebar under the "Code, planning, and automation" section
  4. On the Codespaces settings page, scroll down to the "Editor preference" section
  5. Finally select the "Visual Studio Code" option 

Create your own interactive guide with Guideflow

Why should you set Visual Studio Code as the default editor in GitHub Codespaces

GitHub is a dynamic platform designed for developers to collaborate, share, and improve code projects seamlessly.

Setting Visual Studio Code as the default editor in GitHub Codespaces enhances your coding experience by providing a robust and familiar environment right from your web browser.

This feature ensures a seamless transition for developers who are accustomed to VS Code's rich capabilities, enabling them to write, debug, and deploy code efficiently within Codespaces.

Leveraging this integration streamlines your workflow, allowing you to harness the full power of Visual Studio Code's extensions and productivity tools directly in your cloud-based development space.

Last update
April 10, 2026
Cursor MariaA cursor points to a button labeled "James."

Create your first demo in less than 30 seconds.