Posted by: Tejo | March 11, 2008

ALT+F1 – Show info

In SQL Server Management Studio you can select a stored procedure, function, tablename and press ALT+F1 to get detailed information like paraments, columns, return values etc.

Posted by: Tejo | March 6, 2008

CTRL+D,E – Exceptions

CTRL+D,E (Debug -> Exceptions), here you can specify when you want the debugger to break. Default the debugger does not break on Exceptions that are handled, but here you can say that it should break on all thrown exceptions.

Posted by: Tejo | March 4, 2008

ALT+Shift+F10 – Refactor

You can use ALT+Shift+F10(or right click and choose refactor) to refactor some code.

Generate method Stub 

For example you write a method name of a method that does not exists, you put the cursor on the not existing method call and press ALT+Shift+F10 and Visual Studio will automatically create a method stub for you.

Resolve

You can also ALT+Shift+F10 on a class where you do not imported the correct namespace, this will then for you create the correct using statement, or will put the namespace in front of the class.

Refactor

There are many more refactorings you can use like: Rename, Extract Method, Encapsulate Field, Extract Interface, Promote Local Variable to Parameter, Remove Parameters, Reorder Parameters

Posted by: Tejo | March 3, 2008

F12 – Goto Definition

Select a method and press F12 (or right-click and choose Go To definition) to go to it’s definition

Posted by: Tejo | February 7, 2008

Console.WriteLine(“Hello world!”);

This is the first post and just a test..

Categories