Ver código fonte

Correct current default VS build shortcut is Ctrl+B and not F7 which is an old default.

Martijn Laan 1 ano atrás
pai
commit
2d8cbcc553
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      Projects/Src/CompForm.pas
  2. 1 1
      whatsnew.htm

+ 1 - 1
Projects/Src/CompForm.pas

@@ -5078,7 +5078,7 @@ type
 
 begin
   var KeyMappedMenus := [
-    KMM(BCompile, VK_F9, [ssCtrl], VK_F7, [], CompileButton),
+    KMM(BCompile, VK_F9, [ssCtrl], Ord('B'), [ssCtrl], CompileButton),
     KMM(RRun, VK_F9, [], VK_F5, [], RunButton),
     KMM(RRunToCursor, VK_F4, [], VK_F10, [ssCtrl]),
     KMM(RStepInto, VK_F7, [], VK_F11, []),

+ 1 - 1
whatsnew.htm

@@ -119,7 +119,7 @@ end;</pre>
 <p><span class="head2">Compiler IDE changes</span></p>
 <ul>
   <li>Added toolbar buttons and shortcuts to navigate back (Alt+Left) and forward (Alt+Right). A navigation item is added when changing tabs or moving at least 11 lines at once, similar to Visual Studio 2022.<br />Because of this Alt+Right can no longer be used to initiate auto complete, instead the existing Ctrl+Space or new Ctrl+I alternative must be used. To still be able to also use Alt+Right for this activate Visual Studio-style shortcuts, see below.</li>
-  <li>Added support for Visual Studio-style shortcuts (like Ctrl+- to navigate back, F7 to compile and F5 to run) to the <i>Build</i> and <i>Run</i> menus. To activate this use the <i>Options</i> menu item in the <i>Tools</i> menu to set the new <i>Key Map</i> option to <i>Visual Studio</i>.</li>
+  <li>Added support for Visual Studio-style shortcuts (like Ctrl+- to navigate back, Ctrl+B to compile and F5 to run) to the <i>Build</i> and <i>Run</i> menus. To activate this use the <i>Options</i> menu item in the <i>Tools</i> menu to set the new <i>Key Map</i> option to <i>Visual Studio</i>.</li>
   <li>Added dark mode support to the title bar on Windows 10 Version 2004 and later.</i>
   <li>Added dark mode support to the main menu bar on all versions of Windows.</i>
   <li>Added dark mode support to the menus on Windows 10 Version 1903 and later up to Windows 11 Version 23H2 which is currently the latest version of Windows 11.</i>