diff --git a/flutter-idea/src/io/flutter/actions/FlutterExternalIdeActionGroup.java b/flutter-idea/src/io/flutter/actions/FlutterExternalIdeActionGroup.java index a795846794..ce298c1a37 100644 --- a/flutter-idea/src/io/flutter/actions/FlutterExternalIdeActionGroup.java +++ b/flutter-idea/src/io/flutter/actions/FlutterExternalIdeActionGroup.java @@ -15,6 +15,11 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; +/** + * This action has been removed from the plugin.xml as a required dependent method call {GradleProjectImporter.importAndOpenProjectCore() + * throws "configureNewProject should be used with new projects only". + * See https://github.com/flutter/flutter-intellij/issues/7103 + */ public class FlutterExternalIdeActionGroup extends DefaultActionGroup { private static boolean isExternalIdeFile(AnActionEvent e) { final VirtualFile file = e.getData(CommonDataKeys.VIRTUAL_FILE); diff --git a/flutter-idea/src/io/flutter/actions/OpenInAndroidStudioAction.java b/flutter-idea/src/io/flutter/actions/OpenInAndroidStudioAction.java index 05d40b1a2d..bcd4cab5af 100644 --- a/flutter-idea/src/io/flutter/actions/OpenInAndroidStudioAction.java +++ b/flutter-idea/src/io/flutter/actions/OpenInAndroidStudioAction.java @@ -36,6 +36,11 @@ import java.io.File; +/** + * This action has been removed from the plugin.xml as a required dependent method call {GradleProjectImporter.importAndOpenProjectCore() + * throws "configureNewProject should be used with new projects only". + * See https://github.com/flutter/flutter-intellij/issues/7103 + */ public class OpenInAndroidStudioAction extends AnAction { private static final String LABEL_FILE = FlutterBundle.message("flutter.androidstudio.open.file.text"); private static final String DESCR_FILE = FlutterBundle.message("flutter.androidstudio.open.file.description"); diff --git a/resources/META-INF/plugin.xml b/resources/META-INF/plugin.xml index c4f0ef5bd4..195da60c70 100644 --- a/resources/META-INF/plugin.xml +++ b/resources/META-INF/plugin.xml @@ -368,9 +368,9 @@ text="Open Flutter DevTools" description="Open Flutter DevTools"/> - + + + @@ -391,7 +391,7 @@ - + @@ -401,16 +401,17 @@ - - - - - - - - - - + + + + + + + + + + + diff --git a/resources/META-INF/plugin_template.xml b/resources/META-INF/plugin_template.xml index 24102f9784..5d42ccd177 100644 --- a/resources/META-INF/plugin_template.xml +++ b/resources/META-INF/plugin_template.xml @@ -102,9 +102,9 @@ text="Open Flutter DevTools" description="Open Flutter DevTools"/> - + + + @@ -125,7 +125,7 @@ - + @@ -135,16 +135,17 @@ - - - - - - - - - - + + + + + + + + + + +