-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathidea.vcl
executable file
·155 lines (132 loc) · 4.86 KB
/
idea.vcl
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# Voice commands for pycharm
include Unimacro.vch;
include vim.vch;
include UNIX_shell.vch;
menu (show=hold|select=release) [0..9] = $2 Wait(200) Keys.SendInput({ctrl_$1}{tab_$1});
### frequently used ###
update [(from|to)] (version control="#"|default="p") = {ctrl+alt+shift+$2};
commit [to] version control = {ctrl+alt+k};
### Navigation ###
go to (
class = {Ctrl+n}|
file = {Ctrl+Shift+n}|
file structure = {Ctrl+Alt+Shift+s}|
symbol = {Ctrl+Alt+Shift+n}|
declaration = {Ctrl+b}|
implementation = {Ctrl+Alt+b}|
type declaration = {Ctrl+Shift+b}|
usages = {Ctrl+Alt+F7}|
action={ctrl+shift+a}
) = {esc} $1;
return from jump = {ctrl+u};
symbol preview = {ctrl+y};
Recent files popup = {Ctrl+shift+e};
File structure popup = {Ctrl+F12};
File structure view = {Alt+7};
(project=1|structure=7) view = {alt+$1};
Show navigation bar = {Alt+Home};
Hide window = {Shift+Esc};
hide (all=a|side=s) tool Windows = {Ctrl+Shift+F12} {ctrl+$1};
(tool="shift+"|window=) close = {ctrl+$1f4};
quick definition lookup = {Ctrl+Shift+i};
Go to (next=Right|back=Left) tab = {Alt+$1};
charm Switch tab [1..9] = When($1, {Ctrl+Tab_$1}, {ctrl+tab});
Charm back change = {Ctrl+Shift+Backspace};
Select current file or symbol = {Alt+F1};
Toggle bookmark = {F11};
Toggle bookmark with mnemonic = {Ctrl+Shift+F11};
Go to numbered bookmark 0..9 = {Ctrl+$1};
Show bookmarks = {Shift+F11};
### Usage Search ###
Find usages = {Alt+f7};
Find usages in file = {Ctrl+F7};
Highlight usages in file = {Ctrl+Shift+F7};
Rename = {Shift+F6};
charm (
hide tools={ctrl+shift+f12}|
settings={ctrl+shift+f11}|
run console={ctrl+shift+f2}|
manage tasks={ctrl+shift+","}|
last tool={f12}|
list tools={alt+Down}|
run program={shift+f10}|
split vertical={ctrl+shift+\}|
split tools={shift+\}
) = $1;
### editing ###
Show possible actions = {Alt+Enter};
complete = {ctrl+" "};
Show error description = {Ctrl+F1};
(expand="+"|collapse="-") line = {ctrl+$1}; #}>(all="shift+"|line) = {ctrl+$2$1};
comment [the] next 1..20 lines = Repeat($1, Wait(200) {ctrl+"/"});
surround with = {ctrl+alt+t};
(replace normal="ctrl+alt+shift+r"|find in path="ctrl+shift+F"|replace in path="ctrl+shift+R"|structure find=|structure replace=) = {$1};
Select successively increasing code blocks = {Ctrl+w};
Decrease current selection to previous state = {Ctrl+Shift+w};
Select till code block (end="]"|start="[") = {Ctrl+Shift+$1};
Save all = {Ctrl+s};
Inspect file = {Alt+Shift+i};
Optimize imports = {Ctrl+Alt+o};
### end of frequently used ###
### Running ###
Select configuration and run = {Alt+Shift+F10};
Select configuration and debug = {Alt+Shift+F9};
Debug = {Shift+F9};
Run context configuration from editor = {Ctrl+Shift+F10};
Step over = {F8};
Step into = {F7};
Step out = {Shift+F8};
Run to cursor = {Alt+F9};
Evaluate expression = {Alt+F8};
Quick evaluate expression = {Ctrl+Alt+F8};
Resume program = {F9};
Toggle breakpoint = {Ctrl+F8};
View breakpoints = {Ctrl+Shift+F8};
#to super-method/super-class = {Ctrl+u};
Go to (previous=Up|next=Down) method = {Alt+$1};
Move to code block (end="]"|start="[") = {Ctrl+$1};
Type hierarchy = {Ctrl+h};
Method hierarchy = {Ctrl+Shift+h};
Call hierarchy = {Ctrl+Alt+h};
(Next=f2|previous="shift+f2") highlighted error = {$1};
#Edit source / View source = {F4 / Ctrl+Enter};
### Refactoring ###
Safe Delete = {Alt+Delete};
Change Signature = {Ctrl+F6};
Inline = {Ctrl+Alt+n};
Extract (Method=M|Variable=V|Field=F|Constant=C|Parameter=P) = {Ctrl+Alt+$1};
### General ###
Open tool window 0..9 = {Alt+$1};
#Synchronize = {Ctrl+Alt+y};
Add to Favorites = {Alt+Shift+f};
Quick switch current scheme = {Ctrl+"`"};
add item = {alt+insert};
search everywhere = {shift}{shift};
clean compile files = {ctrl+shift+"#"};
#Charm Tab (back=Left|next=Right) = {Ctrl+Alt+$1};
### Editing ###
Complete statement = {Ctrl+Shift+Enter};
Parameter info = {Ctrl+p};
Quick documentation lookup = {Ctrl+q};
External Doc = {Shift+F1};
Generate code = {Alt+Insert};
Override methods = {Ctrl+o};
Reformat code = {Ctrl+Alt+l};
Auto indent line = {Ctrl+Alt+i};
Copy to clipboard = {Ctrl+c};
Paste from clipboard = {Ctrl+v};
Paste from recent buffers = {Ctrl+Shift+v};
Duplicate current line or selected block = {Ctrl+d};
Smart line split = {Ctrl+Enter};
Toggle case for word at caret or selected block = {Ctrl+Shift+u};
### Search/Replace ###
find [(this="ctrl+"|next=|back="shift+")] = When($1,{$1f3},{alt+f3});
select (next="alt+"|all="ctrl+alt+"|unselect="shift+alt+") = {$1j};
### VCS/Local History
Commit project to VCS = {Ctrl+k};
Update project from VCS = {Ctrl+t};
View recent changes = {Alt+Shift+c};
quick popup = {Alt+"`"}; #BackQuote (`) ‘VCS’ quick popup
### +Live Templates+ i##
Surround with Live Template = {Ctrl+Alt+j};
Insert Live Template = {Ctrl+j};