Visual Studio 2015 - Shortcuts

Toggle OutLine

When we are working in the visual studio all our regions (region, functions, classes) etc. can be expanded, to look at our code, and closed, when there is too much stuff on the screen and you want your screen a bit less messy. We can do this by clicking on the ‘+/-’ signs.

Instead of using your mouse/touchpad, one shortcut you can use is by double clicking Ctrl+M. If the region is already closed it will expand open by pressing Ctrl+M twice and vice versa.

Toggle OutLine

Shifting between Tabs

When you just have two tabs open you can navigate between them by pressing Ctrl+Tab. If you have more than two tabs you can use Ctrl + - to go to the previous recently opened tab. I don’t know how to go to the tabs in the opposite manner, it is supposed to work by using Ctrl + + , but for me it’s not working, so if it does for you do tell me.

Bookmark

Like the name suggests, a bookmark is used to keep track of your work. You can bookmark a line of code, by pressing Ctrl + K, and close your project and when you get back to it you can simply see your bookmarks to see where you left of.

Bookmark

Peek Definition

You can take a peek at the definitions by simply clicking Alt + F12, notice it might not work if you’re using your laptop and you might have to use your function key too (Alt + Fn +F12).

Peek Definition

Light Bulb

Light bulb is a new feature introduced in Visual Studio 2015 that tells you some potential ways to get rid of errors in your code. You can use this feature by pressing ‘Ctrl + .’.

Light Bulb

Increase/Decrease Font Size

One easy and quick way to increase the font size in visual studio 2015 is by pressing ‘Ctrl + Shift + .’ and to decrease the size you can use ‘Ctrl + Shift + ,’.

Ebook Download
View all
Learn
View all