General Actions
Shortcut | Menu equivalent | Action |
|---|---|---|
Ctrl-N | File → New File | Creates a new file for the project. |
Ctrl-Shift-N | File → New Project | Creates a new project. |
Shift-Alt-N | File → New Web Site | Creates a new website. |
Ctrl-O | File → Open File | Opens a file. |
Ctrl-Shift-O | File → Open Project | Opens a project. |
Shift-Alt-O | File → Open Web Site | Opens a website. |
Ctrl-P | File → Print | Prints the current file. |
Ctrl-Shift-S | File → Save All | Saves all currently altered files. |
Ctrl-S | File → Save | Saves alterations to the current file. |
Ctrl-Shift-W | File → View in Browser | Opens the current HTML or ASPX file in a browser window. |
Shift-Alt-A | Project → Add Existing Item | Adds an existing item to the current project. |
Ctrl-Shift-A | Project → Add New Item | Adds a new item to the current project. |
Shift-F4 | Project → | Views the Properties pages for the current project. |
Ctrl-F4 | File → Close | Closes the current file (tab). |
Ctrl-Shift-B | Build → Build Solution | Builds the open solution. |
Shift-Alt-D | Data → Show Data Sources | Shows the Data Sources window. |
Shift-Alt-Enter | View → Full Screen | Switches VS2008 to full-screen mode. |
Ctrl-/ | Focuses the cursor on the command-line area in the Standard toolbar. | |
Alt-comma key | Visual Basic only. Changes the IntelliSense filter from Common to All. | |
Alt-period key | Visual Basic only. Changes the IntelliSense filter from All to Common. | |
Ctrl-E, Ctrl-W | Toggles word wrap in the main editor window. | |
Ctrl-K, Ctrl-I | Edit → IntelliSense → Quick Info | Displays a tool tip about the current symbol the cursor is on. |
Ctrl-R, Ctrl-W | Edit → ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access