Introduction
In this article I will explain about Visual Studio shortcut keys Part - 2.
Description:
In Previous article I explained Visual Studio shortcut keys, here I will explain remaining shortcut keys. You are familiar with many of Visual Studio's shortcut keys, but not all of them. Here is a handy reference that can make your .NET lifestyle easier and a lot more productive. The 'must-know' shortcut keys are highlighted.
if you have any queries leave a comment...
In this article I will explain about Visual Studio shortcut keys Part - 2.
Description:
In Previous article I explained Visual Studio shortcut keys, here I will explain remaining shortcut keys. You are familiar with many of Visual Studio's shortcut keys, but not all of them. Here is a handy reference that can make your .NET lifestyle easier and a lot more productive. The 'must-know' shortcut keys are highlighted.
Search and replace
Shortcut | Description |
Ctrl-F | Displays the Find dialog |
Ctrl-Shift-F | Displays the Find in Files dialog |
F3 | Finds the next occurrence of the previous search text |
Ctrl-F3 | Finds the next occurrence of the currently selected text or the word under the cursor if there is no selection |
Shift-F3 | Finds the previous occurrence of the search text |
Ctrl-Shift-F3 | Finds the previous occurrence of the currently selected text or the word under the cursor |
Ctrl-D | Places the cursor in the Find/Command line on the Standard toolbar |
Alt-F3, H | Selects or clears the Search Hidden Text option for the Find dialog |
Ctrl-I | Starts an incremental search—after pressing Ctrl-I, you can type in text, and for each letter you type, VS.NET will find the first occurrence of the sequence of letters you have typed so far. This is a very convenient facility, as it lets you find text by typing in exactly as many characters as are required to locate the text and no more. If you press Ctrl-I a second time without typing any characters, it recalls the previous pattern. If you press it a third time or you press it when an incremental search has already found a match, VS.NET searches for the next occurrence. |
Alt-F3, C | Selects or clears the Match Case option for Find and Replace operations |
Alt-F3, R | Selects or clears the Regular Expression option so that special characters can be used in Find and Replace operations |
Ctrl-H | Displays the Replace dialog |
Ctrl-Shift-H | Displays the Replace in Files dialog |
Ctrl-Shift-I | Performs an incremental search in reverse direction |
Alt-F3, S | Halts the current Find in Files operation |
Alt-F3, B | Selects or clears the Search Up option for Find and Replace operations |
Alt-F3, W | Selects or clears the Match Whole Word option for Find and Replace operations |
Alt-F3, P | Selects or clears the Wildcard option for Find and Replace operations |
Help
Shortcut | Description |
Ctrl-Alt-F1 | Displays the Contents window for the documentation |
Ctrl-F1 | Displays the Dynamic Help window, which displays different topics depending on what items currently have focus. If the focus is in a source window, the Dynamic Help window will display help topics that are relevant to the text under the cursor |
F1 | Displays a topic from Help that corresponds to the part of the user interface that currently has the focus. If the focus is in a source window, Help will try to display a topic relevant to the text under the cursor |
Ctrl-Alt-F2 | Displays the Help Index window |
Shift-Alt-F2 | Displays the Index Results window, which lists the topics that contain the keyword selected in the Index window |
Alt-Down Arrow | Displays the next topic in the table of contents. Available only in the Help browser window |
Alt-Up Arrow | Displays the previous topic in the table of contents. Available only in the Help browser window |
Ctrl-Alt-F3 | Displays the Search window, which allows you to search for words or phrases in the documentation |
Shift-Alt-F3 | Displays the Search Results window, which displays a list of topics that contain the string searched for from the Search window. |
Shift-F1 | Displays a topic from Help that corresponds to the user interface item that has the focus |
Debugging
Shortcut | Description |
Ctrl-Alt-V, A | Displays the Auto window to view the values of variables currently in the scope of the current line of execution within the current procedure |
Ctrl-Alt-Break | Temporarily stops execution of all processes in a debugging session. Available only in run mode |
Ctrl-Alt-B | Displays the Breakpoints dialog, where you can add and modify breakpoints |
Ctrl-Alt-C | Displays the Call Stack window to display a list of all active procedures or stack frames for the current thread of execution. Available only in break mode |
Ctrl-Shift-F9 | Clears all of the breakpoints in the project |
Ctrl-Alt-D | Displays the Disassembly window |
Ctrl-F9 | Enables or disables the breakpoint on the current line of code. The line must already have a breakpoint for this to work |
Ctrl-Alt-E | Displays the Exceptions dialog |
Ctrl-Alt-I | Displays the Immediate window, where you can evaluate expressions and execute individual commands |
Ctrl-Alt-V, L | Displays the Locals window to view the variables and their values for the currently selected procedure in the stack frame |
Ctrl-Alt-M, 1 | Displays the Memory 1 window to view memory in the process being debugged. This is particularly useful when you do not have debugging symbols available for the code you are looking at. It is also helpful for looking at large buffers, strings, and other data that does not display clearly in the Watch or Variables window |
Ctrl-Alt-M, 2 | Displays the Memory 2 window |
Ctrl-Alt-M, 3 | Displays the Memory 3 window |
Ctrl-Alt-M, 4 | Displays the Memory 4 window |
Ctrl-Alt-U | Displays the Modules window, which allows you to view the .dll or .exe files loaded by the program. In multiprocess debugging, you can right-click and select Show Modules for all programs |
Ctrl-B | Opens the New Breakpoint dialog |
Ctrl-Alt-Q | Displays the Quick Watch dialog with the current value of the selected expression. Available only in break mode. Use this command to check the current value of a variable, property, or other expression for which you have not defined a watch expression |
Ctrl-Alt-G | Displays the Registers window, which displays CPU register contents |
Ctrl-Shift-F5 | Terminates the current debugging session, rebuilds if necessary, and then starts a new debugging session. Available in break and run modes |
Ctrl-Alt-N | Displays the Running Documents window that displays the set of HTML documents that you are in the process of debugging. Available in break and run modes |
Ctrl-F10 | Starts or resumes execution of your code and then halts execution when it reaches the selected statement. This starts the debugger if it is not already running |
Ctrl-Shift-F10 | Sets the execution point to the line of code you choose |
Alt-NUM * | Highlights the next statement to be executed |
F5 | If not currently debugging, this runs the startup project or projects and attaches the debugger. If in break mode, this allows execution to continue (i.e., it returns to run mode). |
Ctrl-F5 | Runs the code without invoking the debugger. For console applications, this also arranges for the console window to stay open with a "Press any key to continue" prompt when the program finishes |
F11 | Executes code one statement at a time, tracing execution into function calls |
Shift-F11 | Executes the remaining lines of a function in which the current execution point lies |
F10 | Executes the next line of code but does not step into any function calls |
Shift-F5 | Available in break and run modes, this terminates the debugging session |
Ctrl-Alt-V, T | Displays the This window, which allows you to view the data members of the object associated with the current method |
Ctrl-Alt-H | Displays the Threads window to view all of the threads for the current process |
F9 | Sets or removes a breakpoint at the current line |
Ctrl-F11 | Displays the disassembly information for the current source file. Available only in break mode |
Ctrl-Alt-W, 1 | Displays the Watch 1 window to view the values of variables or watch expressions |
Ctrl-Alt-W, 2 | Displays the Watch 2 window |
Ctrl-Alt-W, 3 | Displays the Watch 3 window |
Ctrl-Alt-W, 4 | Displays the Watch 4 window |
Ctrl-Alt-P | Displays the Processes dialog, which allows you to attach or detach the debugger to one or more running processes |
Object browser
Shortcut | Description |
Alt-F12 | Displays the Find Symbol dialog |
Ctrl-F12 | Displays the declaration of the selected symbol in the code |
F12 | Displays the definition for the selected symbol in code |
Ctrl-Alt-F12 | Displays the Find Symbol Results window |
Ctrl-Alt-J | Displays the Object Browser to view the classes, properties, methods, events, and constants defined either in your project or by components and type libraries referenced by your project |
Alt-+ | Moves back to the previously selected object in the selection history of the object browser |
Shift-Alt-+ | Moves forward to the next object in the selection history of the object browser |
Tool window
Shortcut | Description |
Ctrl-Shift-M | Toggles the Command window into or out of a mode allowing text within the window to be selected |
Ctrl-Shift-C | Displays the Class View window |
Ctrl-Alt-A | Displays the Command window, which allows you to type commands that manipulate the IDE |
Ctrl-Alt-T | Displays the Document Outline window to view the flat or hierarchical outline of the current document |
Ctrl-Alt-F | Displays the Favorites window, which lists shortcuts to web pages |
Ctrl-Alt-O | Displays the Output window to view status messages at runtime |
F4 | Displays the Properties window, which lists the design-time properties and events for the currently selected item |
Shift-F4 | Displays the property pages for the item currently selected. (For example, use this to show a project's settings.) |
Ctrl-Shift-E | Displays the Resource View window |
Ctrl-Alt-S | Displays the Server Explorer window, which allows you to view and manipulate database servers, event logs, message queues, web services, and many other operating system services |
Ctrl-Alt-R | Displays the web browser window, which allows you to view pages on the Internet |
Ctrl-Alt-L | Displays the Solution Explorer, which lists the projects and files in the current solution |
Ctrl-Alt-K | Displays the TaskList window, which displays tasks, comments, shortcuts, warnings, and error messages |
Ctrl-Alt-X | Displays the Toolbox, which contains controls and other items that can be dragged into editor and designer windows |
Html editor (Design View)
Shortcut | Description |
Ctrl-B | Toggles the selected text between bold and normal |
Ctrl-Shift-T | Decreases the selected paragraph by one indent unit |
Ctrl-T | Indents the selected paragraph by one indent unit |
Ctrl-I | Toggles the selected text between italic and normal |
Ctrl-Shift-K | Prevents an absolutely positioned element from being inadvertently moved. If the element is already locked, this unlocks it |
Ctrl-G | Toggles the grid |
Ctrl-Shift-G | Specifies that elements be aligned using an invisible grid. You can set grid spacing on the Design pane of HTML designer options in the Options dialog, and the grid will be changed the next time you open a document |
Ctrl-U | Toggles the selected text between underlined and normal |
Ctrl-Shift-L | Displays the Bookmark dialog |
Ctrl-J | Inserts <div></div> in the current HTML document |
Ctrl-L | When text is selected, displays the Hyperlink dialog |
Ctrl-Shift-W | Displays the Insert Image dialog |
Ctrl-Alt-Up Arrow | Adds one row above the current row in the table |
Ctrl-Alt-Down Arrow | Adds one row below the current row in the table |
Ctrl-Alt-Left Arrow | Adds one column to the left of the current column in the table |
Ctrl-Alt-Right Arrow | Adds one column to the right of the current column in the table |
Ctrl-Shift-Q | Toggles display of marker icons for HTML elements that do not have a visual representation, such as comments, scripts, and anchors for absolutely positioned elements |
Ctrl-Page Down | Switches from design view to HTML view and vice versa |
Ctrl-Q | Displays a 1-pixel border around HTML elements that support a BORDER attribute and have it set to zero, such as tables, table cells, and divisions |
Macro
Shortcut | Description |
Alt-F8 | Displays the Macro Explorer window, which lists all available macros |
Alt-F11 | Launches the macros IDE |
Ctrl-Shift-R | Places the environment in macro record mode or completes recording if already in record mode |
Ctrl-Shift-P | Plays back a recorded macro |
if you have any queries leave a comment...
No comments:
Post a Comment