mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
[java] IDEA-375577 Experiment with 'Compact source file' as a separate action
- move caret inside body - move action under Java (cherry picked from commit b8dddfd9711b4f3b251ec935b781518f64716bbf) (cherry picked from commit 678f25cae5f8b3c2887a897ef76da2fb187d5ce9) IJ-MR-169535 GitOrigin-RevId: 9a6e0bb40e686589e2a33bff1d833bbdcd6dea52
This commit is contained in:
committed by
intellij-monorepo-bot
parent
af414c1a76
commit
b29c793883
@@ -2784,7 +2784,7 @@
|
||||
|
||||
<registryKey key="java.create.compact.source.file.separately"
|
||||
defaultValue="true"
|
||||
description="Show 'Create java compact source file' separately from all other classes"/>
|
||||
description="Show 'Create java compact file' separately from all other classes"/>
|
||||
|
||||
<virtualFileCustomDataProvider implementation="com.intellij.ide.JavaCodeStyleSettingsCustomDataSynchronizer"/>
|
||||
</extensions>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#parse("File Header.java")
|
||||
void main(#[[$END$]]#) {
|
||||
|
||||
void main() {
|
||||
#[[$END$]]#
|
||||
}
|
||||
@@ -307,12 +307,15 @@
|
||||
</action>
|
||||
|
||||
<group id="NewJavaSpecialFile">
|
||||
<action id="NewCompactSourceFile" class="com.intellij.ide.actions.CreateCompactSourceFileAction"/>
|
||||
<action id="NewPackageInfo" class="com.intellij.ide.actions.CreatePackageInfoAction"/>
|
||||
<action id="NewModuleInfo" class="com.intellij.ide.actions.CreateModuleInfoAction"/>
|
||||
<add-to-group group-id="NewGroup" anchor="after" relative-to-action="NewDir"/>
|
||||
</group>
|
||||
|
||||
<action id="CompactSourceFile" class="com.intellij.ide.actions.CreateCompactSourceFileAction">
|
||||
<add-to-group group-id="NewGroup1" anchor="after" relative-to-action="NewClass"/>
|
||||
</action>
|
||||
|
||||
<action id="InferNullity" class="com.intellij.codeInspection.inferNullity.InferNullityAnnotationsAction">
|
||||
<add-to-group group-id="AnalyzeActions" anchor="after" relative-to-action="ViewOfflineInspection"/>
|
||||
</action>
|
||||
|
||||
Reference in New Issue
Block a user