Visual Studio 2008 Coding Tip

Aug 26 2008 8:19 AM
Is there a shortcut key I can press to automatically add the  { } brackets after typing a method declaration or something like this:

public string GetName()
(press shortcut key here to add brackets)

Then another stupid question :)

My Visual Studio 2008 at home allows me to switch between Code & Form view by pressing F7, but my installation at work does otherwise. When on Form View, I can press F7 and it takes me to Code View, but once in Code View,pressing F7 doesn't take me back to Form View? Where can I change this setting?

Thanks for all your help.

Answers (1)