Skip to main content

Posts

Showing posts from December, 2010

Visual Studio Keyboard Shortcuts

Visual Studio has over 450 keyboard shortcuts. The most useful of which are listed below. The keyboard shortcuts are categorized by the Visual Studio activity:
Switching between Windows within Visual Studio:
Ctrl+F6 – switch between the panes   in the  main code editing window.Shift+Alt+Enter – full-screen mode toggle.Alt+F6/Alt +Shift+F6 – move cursor from the main editing window to the   docked windows such as  Properties, Help,   Server Explorer  etc.F7 – Move to the Code Behind editing page.Editing:




Ctrl+Shift+V – cycle through the items saved onto the clipboard ring.Ctrl+- (Ctrl + Hyphen) – navigate between pages (as in Internet Explorer). Use Shift Ctrl+- to move in the opposite directionBlock Selection: – hit Alt and then select the highlight the area.Line No in Code – Tools>Options>Text Editor>All Languages>General>Line numbers.F4: Property WindowCtrl+Alt+L – Open and show the Solution ExplorerCtrl+Alt+O – Open and show the Visual…

Visual Studio Debugging Tutorial – Basics

If there’s a single feature of Visual Studio that every developer uses and is essential to the development process it is the built-in debugger.
Debugging can be commenced by clicking the green arrow button in the VS toolbar, selecting Debug-Strart Debugging from the menu, or hitting F5. Before commencing debugging you will need to select what exactly you are debugging, just starting debugging will commence the project from the default point. For a Web Forms app, if you want to start from another page other the default start page right click the page and select Set As Start Page. For a Win Forms app set the start Form in the application properties window first.
Prior to debugging, it will almost always be necessary to to set some breakpoints. Breakpoints pause the execution of the code and allow developers to examine controls and variables before allowing the program to continue to execute. Set a breakpoint by clicking in the margin of the code editor to and a red ball with …

Visual Studio Debugging Tutorial – Basics

If there’s a single feature of Visual Studio that every developer uses and is essential to the development process it is the built-in debugger.




Debugging can be commenced by clicking the green arrow button in the VS toolbar, selecting Debug-Strart Debugging from the menu, or hitting F5. Before commencing debugging you will need to select what exactly you are debugging, just starting debugging will commence the project from the default point. For a Web Forms app, if you want to start from another page other the default start page right click the page and select Set As Start Page. For a Win Forms app set the start Form in the application properties window first.



Prior to debugging, it will almost always be necessary to to set some breakpoints. Breakpoints pause the execution of the code and allow developers to examine controls and variables before allowing the program to continue to execute. Set a breakpoint by clicking in the margin of the code editor to and a red ball with code highligh…

C# FAQ—Frequently Asked Questions