Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 4. Reviewing and resolving migration issues


You can review and resolve migration issues identified by the MTA extension in the left pane.

4.1. Reviewing issues

You can use the MTA extension icons to prioritize issues based on their severity. You can also see which issues have a Quick Fix automatic code replacement.

Procedure

  1. Select a run configuration directory on the left pane.
  2. Expand its folders to view the Hints generated for each application file.
  3. Select a hint to view the source code.
  4. Right-click a hint and select View Details to view the Rule ID and other information.
  5. Prioritize issues based on the following icons, which are displayed next to each hint:

    • Mandatory : The issue must be fixed for a successful migration.
    • Warning : The issue might need to be addressed during migration.
    • Optional or Quick Fix : The issue is optional to fix for migration. This icon is also used to indicate any Quick Fixes available for an issue.

4.2. Resolving issues

You can resolve issues by doing one of the following:

  • Using a Quick Fix automatic code replacement
  • Editing the code of a file with a hint

You can keep track of resolved issues by using the Delete or Mark as Complete options. Files marked deleted or completed will be analyzed again the next time you analyze a project that contains them.

4.2.1. Using a Quick Fix

You can use a Quick Fix automatic code replacement to save time and ensure consistency in resolving repetitive issues.

Procedure

  1. In the left pane, right-click an issue that has the Quick Fix icon ( Optional or Quick Fix ) and select Preview Quick Fix.
  2. To accept the suggested fix, right-click the issue again and select Apply Quick Fix.
  3. Optional: Right-click the issue and select Mark as Complete or Delete.

4.2.2. Editing the code of a file

You can edit the file of a project imported to VS Code.

Procedure

  1. In the left pane, right-click an issue and select Open Code.
  2. Make any changes needed to the code and save the file.
  3. Optional: Right-click the issue and select Mark as Complete or Delete.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat