Note
ამ გვერდზე წვდომა ავტორიზაციას მოითხოვს. შეგიძლიათ სცადოთ შესვლა ან დირექტორიების შეცვლა.
ამ გვერდზე წვდომა ავტორიზაციას მოითხოვს. შეგიძლიათ სცადოთ დირექტორიების შეცვლა.
This article shows you how to install the GitHub Copilot modernization extension for Visual Studio Code or the GitHub Copilot modernization plugin for IntelliJ IDEA. After installation, you can use GitHub Copilot modernization to upgrade Java applications, migrate them to Azure, and modernize them without leaving your IDE.
Prerequisites
- A GitHub account with GitHub Copilot enabled. You need a Free Tier, Pro, Pro+, Business, or Enterprise plan.
- Java JDK for both the source and target JDK versions.
- Maven or Gradle to build Java projects.
- A Git-managed Java project that uses Maven or Gradle.
- For Maven-based projects, access to the public Maven Central repository.
Note
An Azure account is required only for deploying resources to Azure, and isn't needed when using GitHub Copilot modernization to make code changes.
If you're using Gradle, only the Gradle wrapper version 5 or later is supported.
The Kotlin Domain Specific Language (DSL) isn't supported.
Install GitHub Copilot modernization
Select the tab that matches the IDE you use, and then follow the steps to install GitHub Copilot modernization.
Before you install the extension, make sure you have the following IDE prerequisites in place:
- Visual Studio Code version 1.101 or later.
- GitHub Copilot for Visual Studio Code. For setup instructions, see Set up GitHub Copilot in Visual Studio Code. Be sure to sign in to your GitHub account within Visual Studio Code.
- In the Visual Studio Code settings, make sure
chat.extensionTools.enabledis set totrue. Your organization might control this setting.
To install the extension, use the following steps:
- In Visual Studio Code, open the Extensions view from the Activity Bar.
- Search for GitHub Copilot modernization in the marketplace.
- Select GitHub Copilot modernization in the results.
- On the extension page, select Install.
- Restart Visual Studio Code.
After installation completes, you should see a confirmation notification in Visual Studio Code.
For more information, see Install a VS Code extension and the GitHub Copilot modernization marketplace listing.