Skip to main content

Integrate GitHub Classroom with an IDE

You can preconfigure a supported integrated development environment (IDE) for assignments you create in GitHub Classroom.

Who can use this feature

Organization owners who are admins for a classroom can integrate GitHub Classroom with an IDE. 有关教室管理员的详细信息,请参阅“关于教室管理”。

About integration with an IDE

您可以选择性地配置作业来使用集成开发环境 (IDE)。 IDE 允许您的学生编写代码、运行程序和协作, 而无需在学生的计算机上安装 Git 和完整的开发工具链。 如果您为作业选择 IDE,学生仍然可以在本地查看并使用必要软件在计算机上运行代码。

After a student accepts an assignment with an IDE, the README file in the student's assignment repository will contain a button to open the assignment in the IDE. The student can begin working immediately, and no additional configuration is necessary.

Supported IDEs

GitHub Classroom supports the following IDEs. You can learn more about the student experience for each IDE.

IDEMore information
GitHub Codespaces"Using GitHub Codespaces with GitHub Classroom"
Microsoft MakeCode Arcade"About using MakeCode Arcade with GitHub Classroom"
Visual Studio CodeGitHub Classroom extension in the Visual Studio Marketplace

We know cloud IDE integrations are important to your classroom and are working to bring more options.

Configuring an IDE for an assignment

You can choose the IDE you'd like to use for an assignment when you create an assignment. To learn how to create a new assignment that uses an IDE, see "Create an individual assignment" or "Create a group assignment."

Setting up an assignment in a new IDE

The first time you configure an assignment using a different IDE, you must ensure that it is set up correctly.

Unless you use GitHub Codespaces, you must authorize the OAuth app for the IDE for your organization. For all repositories, grant the app read access to metadata, administration, and code, and write access to administration and code. For more information, see "Authorizing OAuth Apps."

GitHub Codespaces does not require an OAuth app, but you need to enable GitHub Codespaces for your organization to be able to configure an assignment with GitHub Codespaces. For more information, see "Using GitHub Codespaces with GitHub Classroom."

Further reading