You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/java/migration/github-copilot-app-modernization-for-java-rearchitecture.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
-
title: Re-architect projects by using GitHub Copilot modernization
2
+
title: Re-architect Projects by Using GitHub Copilot Modernization
3
3
titleSuffix: Azure
4
4
description: Learn how to use the re-architecture feature in GitHub Copilot modernization to rewrite projects from legacy frameworks to modern architectures.
5
5
author: KarlErickson
6
6
ms.author: karler
7
7
ms.reviewer: xiading
8
8
ms.topic: overview
9
-
ms.date: 04/10/2026
9
+
ms.date: 04/17/2026
10
10
ms.custom: devx-track-java
11
11
ms.subservice: migration-copilot
12
12
ms.collection: ce-skilling-ai-copilot
@@ -15,7 +15,7 @@ ai-usage: ai-generated
15
15
16
16
# Re-architect projects by using GitHub Copilot modernization
17
17
18
-
This article describes how to use the re-architecture feature in GitHub Copilot modernization to rewrite projects from legacy frameworks to modern architectures, for example, from Struts to Spring MVC.
18
+
This article describes how to use the re-architecture feature in GitHub Copilot modernization to rewrite projects from legacy frameworks to modern architectures, such as from Struts to Spring MVC.
19
19
20
20
> [!IMPORTANT]
21
21
> The re-architecture feature is currently in preview. Preview features might have limited capabilities and aren't recommended for production use.
@@ -41,11 +41,11 @@ Common re-architecture scenarios include:
41
41
42
42
## Enable the re-architecture feature
43
43
44
-
The re-architecture feature requires manual activation in VS Code because it's in preview.
44
+
The re-architecture feature is in preview, so you need to activate it manually in Visual Studio Code.
45
45
46
46
Use the following steps to enable the feature:
47
47
48
-
1. In VS Code, open the **Settings** editor by selecting **File** > **Preferences** > **Settings** (or **Code** > **Preferences** > **Settings** on macOS).
48
+
1. In Visual Studio Code, open the **Settings** editor by selecting **File** > **Preferences** > **Settings** (or **Code** > **Preferences** > **Settings** on macOS).
49
49
50
50
1. Search for `appmod.experimental.task.rearchitecture`.
51
51
@@ -65,15 +65,15 @@ After you enable the feature, use the re-architecture agent in the GitHub Copilo
65
65
66
66
Use the following steps to re-architect a project:
67
67
68
-
1. Open your project in VS Code.
68
+
1. Open your project in Visual Studio Code.
69
69
70
70
1. Open the **GitHub Copilot Chat** panel.
71
71
72
72
1. Select the **modernize-rearchitecture** agent from the agent list.
73
73
74
74
1. Describe the transformation you want to perform. For example:
75
75
76
-
```text
76
+
```prompt
77
77
Rewrite the entire project from Struts to Spring MVC
78
78
```
79
79
@@ -94,7 +94,7 @@ You can improve the transformation results by providing additional context in yo
94
94
95
95
For example:
96
96
97
-
```text
97
+
```prompt
98
98
Rewrite the entire project from Struts to Spring MVC using Spring Boot 3.2.
99
99
Refer to the Spring MVC migration guide at https://docs.spring.io/spring-framework/reference/web/webmvc.html.
100
100
Keep the existing backend business logic unchanged.
0 commit comments