-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCommands.properties
238 lines (207 loc) · 6.64 KB
/
Commands.properties
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
# SciTE Common Tools Commands Menu
[Expand Snippet]
#command.name.5.*=Expand Snippet
command.subsystem.5.*=3
command.5.*=expand_snippet
command.mode.5.*=savebefore:no
#snippet trigger:Tab
command.snippet.shortcut=9
[Side Bar]
# Set show(1) or hide(0) to SciTE start
sidebar.show=0
# Set whether sidebar auto docking
sidebar.dock=0
# Set position(left|right)
sidebar.position=right
# sidebar color
#sidebar.foreground=#0FD50F
#sidebar.background=#151A1D
command.checked.9.*=$(sidebar.show)
command.name.9.*=SideBar
command.9.*=SideBar_ShowHide
command.mode.9.*=subsystem:lua,savebefore:no
command.shortcut.9.*=Alt+C
# Set default settings for Functions/Procedures List
sidebar.functions.flags=0
sidebar.functions.params=0
# Project build tags
project.opendir.buildtags=1
#Switch sidebar tabs
#command.name.6.*=Switch Sidebar Tabs
command.6.*=SideBar_Switch_Tabs -1
command.mode.6.*=subsystem:lua,savebefore:no
command.shortcut.6.*=Alt+Down
command.7.*=SideBar_Switch_Tabs 1
command.mode.7.*=subsystem:lua,savebefore:no
command.shortcut.7.*=Alt+Up
[Context Menu]
#通用右键菜单
user.context.menu.*=||\
SVN Update|1115|\
SVN Commit|1116|\
SVN Revert|1118|\
#SVN Diff|1119|\
||\
Block Comment or Uncomment|IDM_BLOCK_COMMENT|\
Stream Comment|IDM_STREAM_COMMENT|\
Box Comment|IDM_BOX_COMMENT|\
Html Comment|1136|\
||\
Make Selection Uppercase|IDM_UPRCASE|\
Make Selection Lowercase|IDM_LWRCASE|\
||\
Open Selected Filename|IDM_OPENSELECTED|\
Find in Files|IDM_FINDINFILES|\
Search Online|1121|\
[Tab Context Menu]
user.tabcontext.menu.*=\
Export|POPUPBEGIN|\
As HTML|IDM_SAVEASHTML|\
As RTF|IDM_SAVEASRTF|\
As PDF|IDM_SAVEASPDF|\
As LaTeX|IDM_SAVEASTEX|\
As XML|IDM_SAVEASXML|\
Export|POPUPEND|\
Copy|POPUPBEGIN|\
File Full Path|1123|\
File Directory|1124|\
||\
File Name With Ext|1125|\
File Name|1126|\
File Ext|1127|\
Copy|POPUPEND|\
SVN|POPUPBEGIN|\
Update...|1115|\
Commit...|1116|\
||\
Add...|1117|\
Revert to...|1118|\
Diff|1119|\
||\
Show Log|1120|\
SVN|POPUPEND|\
||\
Encoding|POPUPBEGIN|\
Code Page Property|IDM_ENCODING_DEFAULT|\
UTF-8|IDM_ENCODING_UCOOKIE|\
Encoding|POPUPEND|\
[Edit Color]
command.name.12.*=Edit Colour
command.subsystem.12.*=3
command.save.before.12.*=2
command.12.*=edit_colour
command.shortcut.12.*=Ctrl+Shift+C
[Switch Page Code]
command.name.13.*=Switch Encoding
command.subsystem.13.*=3
command.save.before.13.*=2
command.13.*=switch_encoding
command.shortcut.13.*=Alt+E
[SVN]
command.separator.14.*=1
command.submenu.name.14.*=Subversion
command.parent.15.*=14
command.name.15.*=Update...
command.15.*=dostring svn_exec('update',props['FilePath'])
command.mode.15.*=subsystem:lua,savebefore:yes,quiet:yes
command.shortcut.15.*=Ctrl+Alt+U
command.parent.16.*=14
command.name.16.*=Commit...
command.16.*=dostring svn_exec('commit',props['FilePath'])
command.mode.16.*=subsystem:lua,savebefore:yes,quiet:yes
command.shortcut.16.*=Ctrl+Alt+C
command.parent.17.*=14
command.name.17.*=Add...
command.17.*=dostring svn_exec('add',props['FilePath'])
command.mode.17.*=subsystem:lua,savebefore:yes,quiet:yes
command.parent.18.*=14
command.name.18.*=Revert To...
command.18.*=dostring svn_exec('revert',props['FilePath'])
command.mode.18.*=subsystem:lua,savebefore:yes,quiet:yes
command.shortcut.18.*=Ctrl+Alt+R
command.parent.19.*=14
command.name.19.*=Diff
command.19.*=dostring svn_exec('diff',props['FilePath'])
command.mode.19.*=subsystem:lua,savebefore:yes,quiet:yes
command.separator.20.*=1
command.parent.20.*=14
command.name.20.*=Show Log
command.20.*=dostring svn_exec('log',props['FilePath'])
command.mode.20.*=subsystem:lua,quiet:yes
[Search Online]
command.name.21.*=
#command.21.*=http://www.google.cn/search?complete=1&hl=zh-CN&newwindow=1&q=$(CurrentWord)&meta=&aq=f
command.21.*=http://www.baidu.com/s?wd=$(CurrentWord)
#command.21.*=http://cn2.php.net/manual-lookup.php?pattern=$(CurrentWord)&lang=zh
command.subsystem.21.*=2
command.mode.21.*=savebefore:no
[Copy Path To Clipboard]
command.submenu.name.22.*=Copy To Clipboard
command.parent.23.*=22
#将此命令置于tab右键
#command.tabcontext.23.*=1
command.name.23.*=File Full Path
command.23.*=dostring editor:CopyText(props['FilePath'])
command.mode.23.*=subsystem:lua,savebefore:no
command.parent.24.*=22
command.name.24.*=File Directory
command.24.*=dostring editor:CopyText(props['FileDir'])
command.mode.24.*=subsystem:lua,savebefore:no
command.parent.25.*=22
command.name.25.*=File Name With Ext
command.25.*=dostring editor:CopyText(props['FileNameExt'])
command.mode.25.*=subsystem:lua,savebefore:no
command.parent.26.*=22
command.name.26.*=File Name
command.26.*=dostring editor:CopyText(props['FileName'])
command.mode.26.*=subsystem:lua,savebefore:no
command.parent.27.*=22
command.name.27.*=File Ext
command.27.*=dostring editor:CopyText(props['FileExt'])
command.mode.27.*=subsystem:lua,savebefore:no
[Move lines]
#command.name.30.*=Move Lines Upwards
command.30.*=dostring horizontal=0 vertical=-1 dofile(props["SciteDefaultHome"].."\\additions\\MoveLines.lua")
command.mode.30.*=subsystem:lua,savebefore:no
command.shortcut.30.*=Ctrl+Alt+Up
#command.name.31.*=Move Lines Downwards
command.31.*=dostring horizontal=0 vertical=1 dofile(props["SciteDefaultHome"].."\\additions\\MoveLines.lua")
command.mode.31.*=subsystem:lua,savebefore:no
command.shortcut.31.*=Ctrl+Alt+Down
#command.name.32.*=Move Lines Leftwards
command.32.*=dostring horizontal=1 vertical=1 dofile(props["SciteDefaultHome"].."\\additions\\MoveLines.lua")
command.mode.32.*=subsystem:lua,savebefore:no
command.shortcut.32.*=Ctrl+Alt+Left
#command.name.33.*=Move Lines Rightwards
command.33.*=dostring horizontal=1 vertical=-1 dofile(props["SciteDefaultHome"].."\\additions\\MoveLines.lua")
command.mode.33.*=subsystem:lua,savebefore:no
command.shortcut.33.*=Ctrl+Alt+Right
[Screen up/down]
#command.name.34.*=Screen Up
command.mode.34.*=subsystem:lua,savebefore:no
command.34.*=screen_up
command.shortcut.34.*=Alt+W
#command.name.35.*=Screen Down
command.mode.35.*=subsystem:lua,savebefore:no
command.35.*=screen_down
command.shortcut.35.*=Alt+Z
[Add Html Comment]
#command.name.36.*=Html Comment
command.36.*=add_html_comment
command.mode.36.*=subsystem:lua,savebefore:no
command.shortcut.36.*=Ctrl+Shift+T
[Replace spaces]
command.name.37.*=Replace Tabs To Spaces
command.37.*=dofile $(SciteDefaultHome)\additions\IndentTabToSpace.lua
command.mode.37.*=subsystem:lua,savebefore:no
command.shortcut.37.*=Alt+Shift+~
[Rebuild Tags]
command.parent.43.*=38
command.separator.43.*=1
#Rebuild Tags
#command.name.43.*=Rebuild Tags
command.43.*=$(SciteDefaultHome)/additions/ctags/ctags.exe -f "$(ctags.path.php)" -R --line-directives=yes --totals=yes --languages=php "$(ProjectPath)\*"
command.subsystem.43.*=0
# value can be: 0,1,2,3,4
command.quiet.43.*=3
command.mode.43.*=savebefore:no