In Visual Studio 2012 what is the Navigate backward shortcut on a french keyboard?

前端 未结 7 2244
野趣味
野趣味 2021-02-13 19:23

It\'s been a while since I wonder how to navigate backward and forward in Visual Studio using a French (fr-FR) keyboard.

Hovering over the buttons it l

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-13 19:40

    Not all keys can be used in Visual Studio shortcut keys. You can try it yourself in the Options dialog / Environment / Keyboard tab, in the 'Press shortcut keys' text box. For example, with a french keyboard, you just can't create the CTRL+. shortcut, you can't either create the CTRL+- shortcut (as some non french suggested :-)

    Why? Because CTRL+. is just seen as CTRL+SHIFT+; (you have to look at a french keyboard to understand that) because Visual Studio extracts the SHIFT from the key pressed (because it wants to keep it as part of the shortcut), and doesn't remember a '.' character was pressed.

    enter image description here (original image courtesy of AZERTY)

    The rule could be something like this:

    A Visual Studio shortcut is not recognized or cannot be used on a given keyboard if the part of it that is not a modifier (CTRL, ALT, SHIFT) cannot be created without using a modifier key on this keyboard.

    Note: there are some (probably hardcoded?) exceptions to this rule, for example, numbers 0 to 9 are usable without using SHIFT on a french keyboard...

提交回复
热议问题