Visual Studio keyboard shortcut for Method Name combobox

后端 未结 4 1690
一个人的身影
一个人的身影 2020-12-17 17:12

In VS 2008 (and prior versions as well I believe) when in the code editor there are 2 comboboxes at the top of the editor. On the left is a Class Name combobox and on the ri

4条回答
  •  攒了一身酷
    2020-12-17 17:27

    I frequently use the "collapse definitions" feature which you can access by typing the following keyboard sequence:

    Ctrl + M, O

    If you have code regions set up this will also collapse those and allow you to quickly zoom to different portions of your code.

    I would also recommend setting up bookmarks in your code to assist navigating around easily (this works especially well for multiple files). Put your cursor on the line of code and use the following keyboard sequence:

    Ctrl + K, K

    Once you've got your bookmarks set, you can use the following to skip through all your bookmarks:

    Ctrl + B, N

提交回复
热议问题