集成 GitHub Classroom 与 IDE

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

About integration with an IDE

You can optionally configure an assignment to use an integrated development environment (IDE). IDEs allow your students to write code, run programs, and collaborate without installing Git and a full development toolchain on the student's computer. If you choose an IDE for an assignment, students can still check out and run code locally on a computer with the necessary software.

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. 学生可以立即开始工作,无需进行其他配置。

Supported IDEs

GitHub 课堂 supports the following IDEs. 您可以详细了解每个 IDE 的学生体验。

IDE更多信息
Microsoft MakeCode Arcade"关于结合使用 MakeCode Arcade 与 GitHub 课堂"
Visual Studio CodeGitHub 课堂 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."

Authorizing the OAuth app for an IDE

The first time you configure an assignment with an IDE, you must authorize the OAuth app for the IDE for your organization.

对于所有仓库,授予应用程序读取元数据、管理和代码的权限,以及写入问管理和代码的权限。 更多信息请参阅“授权 OAuth 应用程序”。

延伸阅读

此文档对您有帮助吗?

隐私政策

帮助我们创建出色的文档!

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

做出贡献

或, 了解如何参与。