이 콘텐츠는 선택한 언어로 제공되지 않습니다.

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.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.