RSS
Showing posts with label Visual Studio IDE Tips amp; tricks:. Show all posts
Showing posts with label Visual Studio IDE Tips amp; tricks:. Show all posts

Visual Studio IDE Tips & tricks: ShortCuts for playing with blocks regions


How many times we get fed up of all the cluttered code? Best thing to do is put regions and collapse the regions to free up some space...

  • Fold/Unfold the current code block - Ctrl+M, Ctrl+M

  • Unfold all - Ctrl+M, Ctrl+L

  • Stop outlining - Ctrl+M, Ctrl+P

  • Fold all - Ctrl+M, Ctrl+O

Visual Studio IDE Tips & tricks: Shortcut Letting .Net remind you of the TODO task in your code


Letting .Net remind you of the TODO task in your code

.Net IDE provides a mechanism of keeping track of all the TODO tasks in your code.This is done through the Task window
Using the “TODO“ Keyword we can tell .NET IDE to remind us about this TODO task in the task window

HOWTO : - simply add a comment to your code that starts with the TODO keyword. It will automatically be added to your existing Task list.

E.g : - // TODO: Need to optimise the AuthoriseUser Method.

To view the Task list (ShortCut Key : Ctrl+Alt+K ):-

select View > Other Windows > Task List from the menu .
The Task list often filters its contents, so it displays only certain information. To view everything, right-click on your list and select All Tasks > All.
Copyright © Shounak S. Pandit. Powered by Blogger.

Ads