Skip to content

Commit

Permalink
Change command binding for all shortcuts to "Alt + E" #193
Browse files Browse the repository at this point in the history
also fixes #181

Signed-off-by: Andre Bossert <andre.bossert@siemens.com>
  • Loading branch information
andboss committed May 18, 2021
1 parent e3a5976 commit 892505c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
24 changes: 12 additions & 12 deletions plugin/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@
<command
categoryId="de.anbos.eclipse.easyshell.plugin.commands.category"
id="de.anbos.eclipse.easyshell.plugin.commands.all"
name="EasyShell Single Selection">
name="EasyShell All (Single Action)">
</command>
<command
categoryId="de.anbos.eclipse.easyshell.plugin.commands.category"
id="de.anbos.eclipse.easyshell.plugin.commands.allmulti"
name="EasyShell Multi Selection">
name="EasyShell All (Multiple Actions)">
</command>
</extension>
<extension
Expand Down Expand Up @@ -176,42 +176,42 @@
<key
commandId="de.anbos.eclipse.easyshell.plugin.commands.open"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+O">
sequence="M3+E O">
</key>
<key
commandId="de.anbos.eclipse.easyshell.plugin.commands.run"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+R">
sequence="M3+E R">
</key>
<key
commandId="de.anbos.eclipse.easyshell.plugin.commands.explore"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+X">
sequence="M3+E X">
</key>
<key
commandId="de.anbos.eclipse.easyshell.plugin.commands.clipboard"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+C">
sequence="M3+E C">
</key>
<key
commandId="de.anbos.eclipse.easyshell.plugin.commands.all"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+E">
sequence="M3+E E">
</key>
<key
commandId="de.anbos.eclipse.easyshell.plugin.commands.default"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+D">
sequence="M3+E D">
</key>
<key
commandId="de.anbos.eclipse.easyshell.plugin.commands.user"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+U">
sequence="M3+E U">
</key>
<key
commandId="de.anbos.eclipse.easyshell.plugin.commands.allmulti"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M2+M3+E">
sequence="M3+E A">
</key>
</extension>
<extension
Expand All @@ -221,14 +221,14 @@
icon="images/easyshell.png"
id="de.anbos.eclipse.easyshell.plugin.editor"
launcher="de.anbos.eclipse.easyshell.plugin.editor.LauncherAll"
name="EasyShell Single Selection">
name="EasyShell All (Single Action)">
</editor>
<editor
default="false"
icon="images/easyshell.png"
id="de.anbos.eclipse.easyshell.plugin.editor"
launcher="de.anbos.eclipse.easyshell.plugin.editor.LauncherAllMulti"
name="EasyShell Multi Selection">
name="EasyShell All (Multiple Action)">
</editor>
</extension>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ private static void addCommandsConsole(CommandDataList list) {
"powershell.exe -command \"Start-Process powershell -Verb RunAs -ArgumentList '-Command', 'cd ${easyshell:container_loc} ; ./${easyshell:resource_name}'\""));
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,
"powershell.exe -command \"Start-Process powershell -Verb RunAs -ArgumentList '-NoExit', '-Command', 'cd ${easyshell:container_loc} ; ./${easyshell:resource_name}'\""));
// Windows Terminal
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,
"wt new-tab -d \"${easyshell:container_loc}\" --title \"${easyshell:project_name}\""));
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,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 892505c

Please sign in to comment.