Edit

Install GitHub Copilot modernization in your IDE

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:

To install the extension, use the following steps:

  1. In Visual Studio Code, open the Extensions view from the Activity Bar.
  2. Search for GitHub Copilot modernization in the marketplace.
  3. Select GitHub Copilot modernization in the results.
  4. On the extension page, select Install.
  5. 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.

Next step