From 4b3b6dad5ef010aca4018caeb00cfda429858042 Mon Sep 17 00:00:00 2001 From: nik Date: Wed, 20 Mar 2019 12:33:36 +0300 Subject: [PATCH] idea: reuse PlatformLangActionManager.xml instead of copying its content Groups which include analysis actions into Code, Tools and popup menus are now overriden with empty groups in JavaActions.xml so these actions will be shown in a separate Analyze menu as before if Java support is enabled. This is a preliminary step to reuse PlatformLangPlugin.xml in IntelliJ IDEA as well to make all IDEs consistent and avoid duplication. This is also needed to properly extract Java support to a separate plugin (IDEA-195719). --- .../src/idea/PlatformLangActionManager.xml | 7 ++-- resources/src/META-INF/JavaIdePlugin.xml | 41 +------------------ resources/src/idea/JavaActions.xml | 4 ++ 3 files changed, 9 insertions(+), 43 deletions(-) diff --git a/platform/platform-resources/src/idea/PlatformLangActionManager.xml b/platform/platform-resources/src/idea/PlatformLangActionManager.xml index a54d5ac7df6b..4333212f8060 100644 --- a/platform/platform-resources/src/idea/PlatformLangActionManager.xml +++ b/platform/platform-resources/src/idea/PlatformLangActionManager.xml @@ -40,7 +40,7 @@ - + @@ -60,10 +60,11 @@ - + + - + diff --git a/resources/src/META-INF/JavaIdePlugin.xml b/resources/src/META-INF/JavaIdePlugin.xml index 71b6e2d04d07..5af6d98a7e00 100644 --- a/resources/src/META-INF/JavaIdePlugin.xml +++ b/resources/src/META-INF/JavaIdePlugin.xml @@ -101,34 +101,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -167,18 +140,6 @@ - - - - - - - - - - - - diff --git a/resources/src/idea/JavaActions.xml b/resources/src/idea/JavaActions.xml index c003b7ab3742..23d3815490b9 100644 --- a/resources/src/idea/JavaActions.xml +++ b/resources/src/idea/JavaActions.xml @@ -42,6 +42,10 @@ + + + +