Visual Studio hotkeys sometimes change, in particular F6 and Ctrl-Shift-B to create. WHAT FOR?

I always press F6 to create my project. Suddenly, some of my Visual Studio instances want me to use Ctrl - Shift - B. This is not related to the keyboard - the actual text of the menu parameter changes from " F6 " to " Ctrl - Shift - B ".

Any answers to the question of how to fix it, and what causes this one ?

+80
c # visual-studio-2008
May 12 '09 at 19:54
source share
10 answers

Perhaps a keyboard corruption issue? Checking tools / parameters, environment / keyboard. You should see a drop-down list for your keyboard mapping scheme and the Reset button next to it. Press the reset button.

I am not responsible for this screwing up with your settings - save them until then, just in case you screw pooch.

Oh, in case the drugs are taken care of there, I think this is the right question, and it will be released if someone votes to close it. Of course, now that I have said this, it is certainty, isn't it?

+65
May 12 '09 at 20:00
source share

Your keyboard layout has changed - go to "Tools / Options / Environment / Keyboard" and set the default keyboard layout to "Visual C # 2005"

+45
May 12 '09 at 20:00
source share

This is due to the fact that you selected "General development options" as the default environment settings for your Visual Studio (which we usually do when we first start VS after installation, because it displays a dialog box for choosing default environment settings).

If you want to change the keyboard shortcut settings, you just follow the solution suggested by others ( Tools> Options> Environment> Keyboard> Visual C # 2015 ). BUT , this will change the keyboard settings only in C #, while retaining the rest of the settings only as general settings.

If you really intend to change the complete environment to C #, then follow this approach.

SOLUTION 1:

  • Go to the "Tools" section (menu)
  • Import and Export Options
  • "Import selected environment settings"
  • Select "Yes, save my current settings" or "No, just import the new settings, overwrite my current settings"
  • "What collection of settings do you want to import?"
  • In the "Default Settings" tree, select the "Visual C #" node (you can see a yellow warning sign, DO NOT have to worry about it), and then click the "Finish" button.

or you can do the same as

SOLUTION 2:

  • Go to the "Tools" section (menu)
  • Import and Export Options
  • "Reset all settings"
  • Select "Yes, save my current settings" or "No, just import the new settings, overwrite my current settings"
  • Select "Visual C #" from the list and click "Finish."

Both approaches will lead to the same result of changing your complete environment to "Visual C #" there.

Enjoy the coding :)

+14
Feb 11 '16 at 9:27
source share

If you have other key bindings and don't want to use reset, use: Tools -> Options -> Environment -> Keyboard

Then find Build.BuildSolution or Build.RebuildSolution (at your discretion), select Global from the Use shortcut in drop-down list, place the cursor in the Press Shortcut Key and press F6 . It will show you what it is currently assigned to, it was necessary for me to move the split panels (perhaps this will override F6 when using split panels for the first time? I always wondered why my home computer built with F6 and my work is one, and don’t think that I have never used split panels at home), then click Assign.

+8
Apr 13 2018-10-10T00:
source share

This is because you installed VMWare. He reassigns this key so that F6 can be used to start debugging in the virtual machine.

Annoyed to me too.

+6
May 12, '09 at 20:23
source share

You can reassign SHIFT + F6 only to create the current project:

1 / Go to Tools -> Options -> Environment -> Keyboard

2 / Show commands containing: Build.BuildSelection

3 / Focus the Press shortcut keys field and press SHIFT + F6 to assign it

+3
Apr 04 '14 at 15:12
source share

Notepad ++ NPPscripting notepad broke Ctrl-Shift-B for my entire OS while NP ++ worked. Removing the plugin (I had to remove the DLL manually from the Notepad ++ plugins folder) fixed the display of broken keys for me.

+2
Mar 04 '13 at 22:25
source share

I had TPFanControl installed, which captured Ctrl + Shift + B all over the world. I used the tool mentioned in this answere to find out which program is registered for which shortcuts.

+1
May 27 '15 at 1:04
source share

I had an outdated assembly in my solution (the included libraries apparently used the old versions of the DLL, and I got a MissingMethodException at runtime), so I deleted all the \ bin directories in my C # projects, restarted Visual Studio, and suddenly this the problem now affects me for the first time in 3 years since I started using Visual Studio.

I don’t know how this could affect my user settings, but apparently this happened. They switched from using the keyboard profile "Visual C # 2005" to "default"

0
Jan 24 '17 at 17:22
source share

Tools β†’ Options β†’ Environment β†’ Keyboard

search for this command: "ClassViewContextMenus.ClassViewProjectBuild"

Assign F6

0
Nov 17 '17 at 12:28
source share



All Articles