Skip to content

Commit 1045706

Browse files
committed
Add comments to identify current risk from the Components deprecation, i.e. flutter#6953
1 parent 6769946 commit 1045706

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

flutter-idea/src/io/flutter/font/ProjectOpenListener.java

+9
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@
1111
import org.jetbrains.annotations.NotNull;
1212

1313
public class ProjectOpenListener implements ProjectManagerListener {
14+
//See https://plugins.jetbrains.com/docs/intellij/plugin-components.html#comintellijpoststartupactivity
15+
// for notice and documentation on the deprecation intentions of
16+
// Components from JetBrains.
17+
//
18+
// Migration forward has different directions before and after
19+
// 2023.1, if we can, it would be prudent to wait until we are
20+
// only supporting this major platform as a minimum version.
21+
//
22+
// https://github.com/flutter/flutter-intellij/issues/6953
1423
@Override
1524
public void projectOpened(@NotNull Project project) {
1625
// Ensure this isn't part of testing

flutter-idea/src/io/flutter/project/FlutterProjectStructureDetector.java

+9
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,15 @@ private void scheduleAndroidModuleAddition(@NotNull String projectName, @NotNull
8989
scheduleDisconnectIfCancelled(connection);
9090
//noinspection ConstantConditions
9191
connection[0].subscribe(ProjectManager.TOPIC, new ProjectManagerListener() {
92+
//See https://plugins.jetbrains.com/docs/intellij/plugin-components.html#comintellijpoststartupactivity
93+
// for notice and documentation on the deprecation intentions of
94+
// Components from JetBrains.
95+
//
96+
// Migration forward has different directions before and after
97+
// 2023.1, if we can, it would be prudent to wait until we are
98+
// only supporting this major platform as a minimum version.
99+
//
100+
// https://github.com/flutter/flutter-intellij/issues/6953
92101
@Override
93102
public void projectOpened(@NotNull Project project) {
94103
if (connection[0] != null) {

flutter-idea/src/io/flutter/sdk/FlutterSdkManager.java

+9
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ private FlutterSdkManager(@NotNull Project project) {
5151
});
5252

5353
ProjectManager.getInstance().addProjectManagerListener(myProject, new ProjectManagerListener() {
54+
//See https://plugins.jetbrains.com/docs/intellij/plugin-components.html#comintellijpoststartupactivity
55+
// for notice and documentation on the deprecation intentions of
56+
// Components from JetBrains.
57+
//
58+
// Migration forward has different directions before and after
59+
// 2023.1, if we can, it would be prudent to wait until we are
60+
// only supporting this major platform as a minimum version.
61+
//
62+
// https://github.com/flutter/flutter-intellij/issues/6953
5463
@Override
5564
public void projectOpened(@NotNull Project project) {
5665
checkForFlutterSdkChange();

0 commit comments

Comments
 (0)