Setting your default editor for Codespaces

You can set your default editor for Codespaces in your personal settings page.

Codespaces is available for organizations using GitHub Team or GitHub Enterprise Cloud. 更多信息请参阅“GitHub 的产品”。

On the settings page, you can set your editor preference so that any newly created codespaces are opened automatically in either Visual Studio Code for Web or the Visual Studio Code desktop application.

If you want to use Visual Studio Code as your default editor for Codespaces, you need to install Visual Studio Code and the GitHub Codespaces extension for Visual Studio Code. For more information, see the download page for Visual Studio Code and the GitHub Codespaces extension on the Visual Studio Code marketplace.

Setting your default editor

  1. 在任何页面的右上角,单击您的个人资料照片,然后单击 Settings(设置)用户栏中的 Settings 图标
  2. 在左侧边栏中,单击 Codespaces用户设置侧边栏中的 Codespaces 选项卡
  3. Under "Editor preference", select the option you want. Setting your editor If you choose Visual Studio Code, Codespaces will automatically open in the desktop application when you next create a codespace. You may need to allow access to both your browser and Visual Studio Code for it to open successfully. Setting your editor




所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。


或, 了解如何参与。