Skip to content

Commit

Permalink
Updated shortcuts for OptimiseImports and FormatDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
justcla committed Sep 23, 2022
1 parent 04a24a2 commit 478e2d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion HotKeysVSIX/IntelliJ IDEA.vssettings
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@
<!--Shortcut Command="Edit.FormatCode" Scope="Text Editor">Ctrl+Alt+L</Shortcut--> <!-- HotCommands.FormatCode IntelliJ: Reformat Code. Offers choice of selection/document where appropriate. -->
<Shortcut Command="Edit.FormatDocument" Scope="Text Editor">Ctrl+Alt+L</Shortcut> <!-- Near-match -->
<Shortcut Command="Edit.FormatSelection" Scope="Text Editor">Ctrl+Shift+Alt+L</Shortcut> <!-- Introduced shortcut! for Near-match -->
<Shortcut Command="EditorContextMenus.CodeWindow.OrganizeUsings.RemoveAndSort" Scope="Text Editor">Ctrl+Alt+O</Shortcut> <!-- "OptimizeImports" -->
<Shortcut Command="Edit.RemoveAndSort" Scope="Text Editor">Ctrl+Alt+O</Shortcut> <!-- "OptimizeImports" -->
<Shortcut Command="EditorContextMenus.CodeWindow.OrganizeUsings.RemoveAndSort" Scope="Text Editor">Ctrl+Alt+O</Shortcut> <!-- Pre VS2022 -->
<Shortcut Command="Edit.FormatIndents" Scope="Text Editor">Ctrl+Alt+I</Shortcut> <!-- NYI [Auto-indent line(s)]-->
<!--<Shortcut Command="Edit.IncreaseLineIndent" Scope="Text Editor">Tab</Shortcut>--> <!-- Near-match. Not near enough to replace existing key behaviour -->
<!--<Shortcut Command="Edit.DecreaseLineIndent" Scope="Text Editor">Shift+Tab</Shortcut>--> <!-- Near-match. Not near enough to replace existing key behaviour -->
Expand Down
1 change: 1 addition & 0 deletions HotKeysVSIX/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Hot Keys - Keyboard Shortcuts
by Justin Clareburt
23-Sep-2022: v4.2.1 Updated shortcuts for OptimiseImports and FormatDocument.
05-Mar-2022: v4.2.0 Added new settings files for Camel-Hump navigation.
05-Mar-2022: v4.1.0 Added shortcuts for new VS commands - ToggleLineComment and ToggleBlockComment. Uses Keyboard Manager 3.1.0
19-Jan-2022: v4.0.0 Upgraded for VS2022+. Included KeyboardShortcutsManager-v3.0.0
Expand Down
2 changes: 1 addition & 1 deletion HotKeysVSIX/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="HotKeys.e18a1a2b-78e5-4f4c-aade-448d36fd6016" Version="4.2.0" Language="en-US" Publisher="Justin Clareburt" />
<Identity Id="HotKeys.e18a1a2b-78e5-4f4c-aade-448d36fd6016" Version="4.2.1" Language="en-US" Publisher="Justin Clareburt" />
<DisplayName>Hot Keys - Keyboard Shortcuts</DisplayName>
<Description xml:space="preserve">Installs alternative keyboard mapping schemes to work with Visual Studio.</Description>
<MoreInfo>https://aka.ms/hotkeys2017</MoreInfo>
Expand Down

0 comments on commit 478e2d1

Please sign in to comment.