Skip to content

Commit 11f9799

Browse files
committed
Change command binding for all shortcuts to "Alt + E" #193
also fixes #181 Signed-off-by: Andre Bossert <[email protected]>
1 parent e3a5976 commit 11f9799

File tree

4 files changed

+32
-26
lines changed

4 files changed

+32
-26
lines changed

README.md

+19-14
Original file line numberDiff line numberDiff line change
@@ -32,34 +32,38 @@ The plugin is platform independent in principal. It just launches a (configurabl
3232
Keyboard-shortcuts:
3333
-------------------
3434

35-
**Alt + E**: Main popup menu (Windows)
35+
**ATTENTION** For EasyShell **v2.2 and newer** all shortcuts are starting with **Alt + E** and after releasing one of the letters **A, E, C, D, X, O, R, U** must be used:
3636

37-
![popup_menu_windows](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_popup_menu_windows.png "Popup Menu @ Windows (Alt+E)")
37+
![main_menu_dialog_windows](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.2_main_menu_dialog_windows.png "Main menu dialog @ Windows (Alt+E)")
38+
39+
**Alt + E, A**: Main popup menu shows all commands and multiple commands can be selected (EasyShell v2.1 and older: Alt + E)
3840

39-
**Alt + Shift + E**: execute multiple commands for selection(s)
41+
![multi_selection_dialog_windows](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_multi-selection_dialog_windows.png "Dialog for multiple tool selection @ Windows (Alt+E,M)")
42+
![multi_selection_dialog_linux](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.1_multi-selection_dialog_linux.png "Dialog for multiple tool selection @ Linux (Alt+E,M)")
4043

41-
![multi_selection_dialog_windows](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_multi-selection_dialog_windows.png "Dialog for multiple tool selection @ Windows (Alt+Shift+E)")
42-
![multi_selection_dialog_linux](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.1_multi-selection_dialog_linux.png "Dialog for multiple tool selection @ Linux (Alt+Shift+E)")
44+
**Alt + E, E**: Main popup menu shows all commands and one commands can be directly selected (EasyShell v2.1 and older: Alt + Shift + E)
45+
46+
![popup_menu_windows](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.0_popup_menu_windows.png "Popup Menu @ Windows (Alt+E)")
4347

44-
Shortcuts that executes the command directly if only one defined or opens a popup menu like **Alt + E** reduced for category:
48+
Shortcuts that executes the command directly if only one defined or opens a popup menu like **Alt + E, E** reduced for category:
4549

46-
**Alt + O**: Open Here (shell)
50+
**Alt + E, O**: Open - open or show in shell
4751

4852
![popup_menu_linux](https://raw.githubusercontent.com/anb0s/EasyShell/master/site/images/EasyShell_2.1_popup_menu_linux.png "Popup Menu @ Linux (Alt+O)")
4953

50-
**Alt + R**: Run with (shell)
54+
**Alt + E, R**: Run - execute in shell
5155

52-
**Alt + X**: Explore
56+
**Alt + E, X**: Explore - open and select in file browser
5357

54-
**Alt + C**: Copy to Clipboard
58+
**Alt + E, C**: Clipboard - copy to clipboard
5559

5660
Special and not available if no user defined categories are available:
5761

58-
**Alt + U**: User defined category
62+
**Alt + E, U**: User - user defined category
5963

6064
Special and not available for all OS:
6165

62-
**Alt + D**: Open with Default application
66+
**Alt + E, D**: Default - open with default application
6367

6468
Supported OS and commands:
6569
--------------------------
@@ -68,8 +72,9 @@ The following platform, shell combinations and tools are supported as selections
6872

6973
**Windows:**
7074
- Terminals
71-
- Command prompt (known as DOS shell or cmd.exe)
72-
- PowerShell
75+
- Command prompt (known as DOS shell or cmd.exe) also as admin
76+
- PowerShell (also as admin)
77+
- Windows Terminal
7378
- Bash
7479
- Cygwin: http://cygwin.com
7580
- Git for Windows 1.x/2.x: https://git-for-windows.github.io

plugin/plugin.xml

+12-12
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
<command
7272
categoryId="de.anbos.eclipse.easyshell.plugin.commands.category"
7373
id="de.anbos.eclipse.easyshell.plugin.commands.all"
74-
name="EasyShell Single Selection">
74+
name="EasyShell All (Single Action)">
7575
</command>
7676
<command
7777
categoryId="de.anbos.eclipse.easyshell.plugin.commands.category"
7878
id="de.anbos.eclipse.easyshell.plugin.commands.allmulti"
79-
name="EasyShell Multi Selection">
79+
name="EasyShell All (Multiple Actions)">
8080
</command>
8181
</extension>
8282
<extension
@@ -176,42 +176,42 @@
176176
<key
177177
commandId="de.anbos.eclipse.easyshell.plugin.commands.open"
178178
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
179-
sequence="M3+O">
179+
sequence="M3+E O">
180180
</key>
181181
<key
182182
commandId="de.anbos.eclipse.easyshell.plugin.commands.run"
183183
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
184-
sequence="M2+M3+R">
184+
sequence="M3+E R">
185185
</key>
186186
<key
187187
commandId="de.anbos.eclipse.easyshell.plugin.commands.explore"
188188
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
189-
sequence="M3+X">
189+
sequence="M3+E X">
190190
</key>
191191
<key
192192
commandId="de.anbos.eclipse.easyshell.plugin.commands.clipboard"
193193
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
194-
sequence="M3+C">
194+
sequence="M3+E C">
195195
</key>
196196
<key
197197
commandId="de.anbos.eclipse.easyshell.plugin.commands.all"
198198
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
199-
sequence="M3+E">
199+
sequence="M3+E E">
200200
</key>
201201
<key
202202
commandId="de.anbos.eclipse.easyshell.plugin.commands.default"
203203
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
204-
sequence="M3+D">
204+
sequence="M3+E D">
205205
</key>
206206
<key
207207
commandId="de.anbos.eclipse.easyshell.plugin.commands.user"
208208
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
209-
sequence="M3+U">
209+
sequence="M3+E U">
210210
</key>
211211
<key
212212
commandId="de.anbos.eclipse.easyshell.plugin.commands.allmulti"
213213
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
214-
sequence="M2+M3+E">
214+
sequence="M3+E A">
215215
</key>
216216
</extension>
217217
<extension
@@ -221,14 +221,14 @@
221221
icon="images/easyshell.png"
222222
id="de.anbos.eclipse.easyshell.plugin.editor"
223223
launcher="de.anbos.eclipse.easyshell.plugin.editor.LauncherAll"
224-
name="EasyShell Single Selection">
224+
name="EasyShell All (Single Action)">
225225
</editor>
226226
<editor
227227
default="false"
228228
icon="images/easyshell.png"
229229
id="de.anbos.eclipse.easyshell.plugin.editor"
230230
launcher="de.anbos.eclipse.easyshell.plugin.editor.LauncherAllMulti"
231-
name="EasyShell Multi Selection">
231+
name="EasyShell All (Multiple Action)">
232232
</editor>
233233
</extension>
234234

plugin/src/de/anbos/eclipse/easyshell/plugin/preferences/CommandDataDefaultCollectionWindows.java

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ private static void addCommandsConsole(CommandDataList list) {
6464
"powershell.exe -command \"Start-Process powershell -Verb RunAs -ArgumentList '-Command', 'cd ${easyshell:container_loc} ; ./${easyshell:resource_name}'\""));
6565
list.add(new CommandData("160086ae-dd6d-46b2-8929-f4122048d04d", PresetType.presetPlugin, OS.osWindows, "PowerShell as Admin (hold)", ResourceType.resourceTypeFile, false, null, Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip,
6666
"powershell.exe -command \"Start-Process powershell -Verb RunAs -ArgumentList '-NoExit', '-Command', 'cd ${easyshell:container_loc} ; ./${easyshell:resource_name}'\""));
67+
// Windows Terminal
6768
list.add(new CommandData("1ba8590c-f331-4dd9-8473-e02989a6667a", PresetType.presetPlugin, OS.osWindows, "Windows Terminal", ResourceType.resourceTypeFileOrDirectory, false, null, Category.categoryOpen, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip,
6869
"wt new-tab -d \"${easyshell:container_loc}\" --title \"${easyshell:project_name}\""));
6970
list.add(new CommandData("fa674161-726b-435c-b18d-051ea1d808a2", PresetType.presetPlugin, OS.osWindows, "Windows Terminal", ResourceType.resourceTypeFile, false, null, Category.categoryRun, CommandType.commandTypeExecute, CommandTokenizer.commandTokenizerSpacesAndQuotesSkip,
Loading

0 commit comments

Comments
 (0)