Edit

Share via


GitHub Copilot App Modernization for Java (preview) FAQ

Answers frequently asked questions about GitHub Copilot App Modernization for Java (preview).

What's the product scope of the GitHub Copilot App Modernization for Java (preview)?

We recognize that the migration process is always complex and intertwined, with different layers of app ecosystems. At this time, we're limiting the migration scope to Java backend apps.

Can I use App Modernization for Java to upgrade my Java version?

There's a separate GitHub Copilot App Modernization - upgrade for Java (preview) tool, and you can use it together with App Modernization for Java.

Will App Modernization for Java be open sourced in the future?

We currently have no plans to open source App Modernization for Java.

What GitHub Copilot license plan do I need to use App Modernization for Java?

App Modernization for Java is available to all GitHub Copilot paid plans.

In addition to Java, I also need to migrate apps written in other languages. Is there a plan for App Modernization to go beyond Java or consolidate with the .NET experience?

Currently, App Modernization for Java is focused on assisting with Java applications. However, we're actively collecting requirements and feedback from customers regarding the need to support other languages and potentially consolidate with the .NET experience.

What are the token size limits of the top models?

For detailed model specifications, see the GitHub Copilot documentation.

Why does App Modernization for Java stop after listing a plan without making any code changes?

Sometimes, App Modernization for Java requires explicit confirmation before proceeding. You can type yes or continue in the chat to enable the agent to move forward with the code modifications.

Why does App Modernization for Java frequently prompt me to select **Continue**?

To ensure safer operations, the GitHub Copilot agent repeatedly asks for user confirmation. As a workaround, you can select the dropdown arrow next to the Continue button and then select Always allow, or update your Visual Studio Code setting chat.tools.autoApprove to true to automatically approve all tools.

How can I view more details about the code changes made by the agent?

The agent always includes explanations for its code changes in the chat window. However, these details might be collapsed in the UI. You can expand the response in the chat to see the full rationale and step-by-step reasoning.

Why is the code regeneration process unstable?

App Modernization for Java is powered by AI, so occasional errors might occur. Always review the output carefully before use. You can also retry the regeneration process to see alternative code suggestions.

Where are formulas stored on the local machine and how can they be shared?

Predefined formulas are in the following ___location: %USERPROFILE%.vscode\extensions\microsoft.migrate-java-to-azure-0.1.0\rag

Custom formulas are in the following ___location: %USERPROFILE%.azure\migrate-copilot\custom-rule

How do I switch large language models (LLMs)?

App Modernization for Java currently supports the following three models:

  • gpt-4o
  • claude-3.5-sonnet
  • gemini-2.0-flash

To switch models, use the following steps:

  1. Press Ctrl+Shift+P.
  2. Select Preferences: Open Settings (UI).
  3. Search for migrate.java.
  4. Adjust the Migrate Java: Model Family setting.

Does the tool store my source code?

No. The tool uses GitHub Copilot in the same way you use it to modify code, which doesn't retain code snippets beyond the immediate session. We don't collect, transmit, or store your custom formulas either.

Telemetry metrics are collected and analyzed to track feature usage and effectiveness.

For more information, see the Microsoft Privacy Statement.