This posts frequently encountered scenarios and its solution which will make our life easier.
- Show active file in solution explorer
Tools -> Options -> Projects and Solutions -> Track Active Item in Solution Explorer - Show pinned tabs in a separate row
Tools -> Options -> Environment -> Tabs and Windows -> Show pinned tabs in a separate row - Turn On/Off Showing Whitespace Characters
Edit -> Advanced -> View White Space - Convert TAB to White Space in selected code
Edit -> Advanced -> Untabify Selected Lines - Convert selected lines to Uppercase
Edit -> Advanced -> Make UppercaseKeyboard shortcut for upper case : Ctrl+Shift+U
Keyboard shortcut for lower case : Ctrl+U - Enable Diagnostic for debugging build error , select
- Tools -> Options
- Projects and Solutions -> Build and Run
- Change “MsBuild project build output verbosity” to “Diagnostic”.
- Set breakpoint in all the methods of Class at once
- Bring up the “New Breakpoint” dialog by pressing CTRL+B
- Type in
ClassName::*
to the function field. You may need to include the namespace as well. - This will set the breakpoint to all the methods of
ClassName
. - You can then disable some of them in the breakpoints window.
- Column Selection
To enable column selection i.e. select multiple row of text- Go to Selection -> Column Selection Mode menu.
- Left Click at the desired point and hold down Shift key
- Press down/up arrow to select multiple lines