summaryrefslogtreecommitdiff
path: root/platform/platform-resources/src/idea/PlatformLangActionManager.xml
blob: c5d83d776ce454e2b94c8ecdb10472680e1a22b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<component xmlns:xi="http://www.w3.org/2001/XInclude">
  <actions>
    <group id="LookupActions">
      <!-- these must be declared before standard EnterAction and TabAction -->
      <action id="EditorChooseLookupItem" class="com.intellij.codeInsight.lookup.impl.actions.ChooseItemAction$FocusedOnly"/>
      <action id="EditorChooseLookupItemReplace" class="com.intellij.codeInsight.lookup.impl.actions.ChooseItemAction$Replacing"/>
      <action id="EditorChooseLookupItemCompleteStatement" class="com.intellij.codeInsight.lookup.impl.actions.ChooseItemAction$CompletingStatement"/>
      <action id="EditorChooseLookupItemDot" class="com.intellij.codeInsight.lookup.impl.actions.ChooseItemAction$ChooseWithDot"/>

      <action id="ExpandLiveTemplateByTab" class="com.intellij.codeInsight.template.impl.editorActions.ExpandLiveTemplateByTabAction" use-shortcut-of="EditorTab"/>

      <action id="NextTemplateVariable" class="com.intellij.codeInsight.template.impl.actions.NextVariableAction"/>
      <action id="PreviousTemplateVariable" class="com.intellij.codeInsight.template.impl.actions.PreviousVariableAction"/>

      <action id="NextParameter" class="com.intellij.codeInsight.hint.actions.NextParameterAction"/>
      <action id="PrevParameter" class="com.intellij.codeInsight.hint.actions.PrevParameterAction"/>
    </group>

    <action id="EditorIndentSelection" class="com.intellij.openapi.editor.actions.LangIndentSelectionAction"/>

    <action id="EditorLookupUp" class="com.intellij.codeInsight.lookup.impl.LookupActionHandler$UpAction"/>
    <action id="EditorLookupDown" class="com.intellij.codeInsight.lookup.impl.LookupActionHandler$DownAction"/>

  </actions>

  <xi:include href="/idea/PlatformActions.xml" xpointer="xpointer(/component/*)"/>
  <xi:include href="/idea/VcsActions.xml" xpointer="xpointer(/component/*)"/>
  <xi:include href="/idea/LangActions.xml" xpointer="xpointer(/component/*)"/>

  <actions>
    <group id="WelcomeScreen.QuickStart.Platform">
      <add-to-group group-id="WelcomeScreen.QuickStart" anchor="first"/>
    </group>

    <group id="AnalyzePlatformMenu">
      <separator/>
      <action id="Unscramble" class="com.intellij.unscramble.AnalyzeStacktraceAction"/>

      <add-to-group group-id="ToolsMenu" anchor="last"/>
    </group>

    <group id="InspectCodeGroup">
      <separator/>
      <action id="InspectCode" class="com.intellij.codeInspection.actions.CodeInspectionAction"/>
      <action id="CodeCleanup" class="com.intellij.codeInspection.actions.CodeCleanupAction" internal="true"/>
      <action id="RunInspection" class="com.intellij.codeInspection.actions.RunInspectionAction" />
      <action id="PopupHector" class="com.intellij.codeInsight.daemon.impl.PopupHectorAction"/>
      <action id="ViewOfflineInspection" class="com.intellij.codeInspection.actions.ViewOfflineResultsAction"/>

      <add-to-group group-id="CodeMenu" anchor="last"/>
    </group>

    <reference ref="InspectCode">
      <add-to-group group-id="ProjectViewPopupMenu" anchor="after" relative-to-action="ReplaceInPath"/>
      <add-to-group group-id="FavoritesViewPopupMenu" anchor="after" relative-to-action="ReplaceInPath"/>
    </reference>
  </actions>

</component>