Visual Studio

I started with Visual Studio 6.0

A integrated development environment from Microsoft with support for C,C++, C# and more. I use the Visual Assist plugin to get some useful features for C++.


Natvis

For C++ use .natvis files to specify the debugger visualization rules for native types displayed in the debugger.


Visual Studio Hotkeys

  • Comment section : CTRL+K , CTRL+U

  • Ctrl+Shift+S : Save All


Visual Assist Hotkeys

  • Shift+Alt+O: Open file in solution

  • Alt+O : Switch header/cpp

  • ALT+M : List functions in current file

  • Shift + Alt + S : Find symbol - Show a dialog box with all symbols in solution (and even third party libraries if)

  • Shift + Alt + F : Find All References - List of places where a variable is used.

  • References in File : In menu to limit to current file.

  • Alt + G: Go to Definition/Implementation

  • Shift + Alt + G: Go To Related (base classes, derived classes or members)

  • Shift + Alt + Q: Display context sensitive refactor menu.

  • Ctrl + Shift + Space : Show overload menu

  • Ctrl + . : VA quick menu

  • Shift + Alt + R : Rename

  • Alt Left/Right : Move to previous/next visited place in file.

  • Alt Up/Down : Move to Previous/Next scope.

  • VA Hashtags

    • use #name to tag comments

    • Shift + ALT + H : Show VA hashtag window


Struct Layout

https://marketplace.visualstudio.com/items?itemName=RamonViladomat.StructLayout

https://devblogs.microsoft.com/cppblog/stl-visualizers-on-github/

https://devblogs.microsoft.com/cppblog/customized-warning-levels-and-code-analysis-for-external-headers/


Reference