vs shortcut Keys

Source: Internet
Author: User

Text Actions shortcut keys

command name shortcut Keys Description

Edit. Collapse To Definition

Ctrl + M,ctrl + O

Automatically determines the logical boundaries (such as procedures) for creating zones in your code, and then hides them.

Edit. Comment Selection

Ctrl + K,ctrl + C

Use the correct comment syntax for the programming language to mark the current line of code as a comment. (vc2003)

edit . Complete the word

Ctrl + j Alt + RIGHT Arrow

Displays the "full word" based on the current language. (vc2003)

Edit. Delete

Delete

Deletes a character to the right of the cursor.

Edit. Remove Backward

Backspace Shift + Backspace

Deletes a character to the left of the cursor.

Edit. Remove horizontal whitespace

Ctrl + K,ctrl + \

Collapses white space in the selection, or removes the white space next to the cursor if there is no selection.

Edit. Format Document

Ctrl + K,ctrl + D

Applies indentation and space formatting to the language, as specified on the formatting pane of the language in the Text Editor section of the Options dialog box.

Edit. Formatting the selection

Alt + F8 Ctrl + K,ctrl + F

Indents the selected lines of code correctly, based on the surrounding lines of code. (vc2003) (Alt + F8 call Macro Explorer)

Edit. Hide Selection

Ctrl + M,ctrl + H

Hides the selected text. The signal icon marks the position of the hidden text in the file.

editing. Inserting tabs

Tab

Indents a line of text by a specified number of spaces, such as 5. (This shortcut supports multi-line operations)

Edit. Cut lines

Ctrl + L Shift + Alt + L

Cuts all selected rows to the Clipboard, and cuts the current row to the Clipboard If nothing has been selected. (vc2003) (Shift + Alt + L does not work)

Edit. Delete Rows

Ctrl + Shift + L

Deletes all selected rows, or deletes the current row if no rows are selected.

Edit. Open New Line

Ctrl + Enter

Inserts a blank line above the insertion point. (regardless of where the cursor is on one line)

Edit. Open New Line

Ctrl + Shift + Enter

Inserts a blank line below the insertion point. (so you don't have to first move the cursor to the beginning or end of the line)

Edit. Line Transpose

Shift + Alt + T

Move the row that contains the insertion point below the next line. (can be seen as two lines of exchange)

Edit. Convert to Lowercase

Ctrl + U

Changes the selected text to lowercase characters.

Edit. Convert to Uppercase

Ctrl + Shift + U

Changes the selected text to uppercase characters.

Edit. Overtype mode

Insert

Toggles between inserting and overwriting insert modes. Available only when using a text editor.

Edit. Stop hiding the current zone

Ctrl + M,ctrl + U

Removes the outlining information for the currently selected range.

Edit. Stop Outlining

Ctrl + M,ctrl + P

Removes all outlining information from the entire document.

Edit. Swap anchor Points

Ctrl + R,ctrl + P

Swaps the anchor point and end point of the current selection.

Edit. Left Indent

Shift + Tab

Moves the selected row left one tab stop. (This shortcut supports multi-line operations)

Edit. Toggle All Outline Display

Ctrl + M,ctrl + L

Toggles between hidden and displayed states all portions of text that were previously marked as hidden.

Edit. Toggle Bookmarks

CTRL + F2 CTRL + K,ctrl + K

Sets or removes a bookmark at the current line.

Edit. Toggle Outline Display Expand

Ctrl + M,ctrl + M

Toggles the currently selected hidden text portion between hidden and displayed states.

Edit. Toggle Task List Shortcuts

Ctrl + K,ctrl + H

Sets or removes a shortcut at the current line.

Edit. Toggle Line Wrapping

Ctrl + R,ctrl + R

Enables or disables line wrapping in the editor.

Edit. Uncomment selection

Ctrl + K,ctrl + U

Removes the comment syntax from the current line of code.

Edit. View Blank

CTRL + Shift + 8 Ctrl + R,ctrl + W

Show or hide spaces and tab markers.

Edit. Word deletion until the end

Ctrl + Delete

Deletes the word to the right of the insertion point.

Edit. Word Delete until start

Ctrl + Backspace

Deletes the word to the left of the insertion point.

Edit. Word Transpose

Ctrl + Shift + T

Swap the words on either side of the insertion point. For example, themain int changes to int main.

Project shortcut keys

command name shortcut Keys Description
Build. Build Solution CTRL + SHIFT + B Build all the projects in the solution using the current solution configuration.
File. New file CTRL + SHIFT + N Displays the new File dialog box, where you can select a new file to add to the current project.
File. New Project CTRL + N Displays a submenu that lists the types of items that you can add to the currently open project. The icon changes to the previous item type that was added.
File. Open File CTRL + SHIFT + O Displays the Open File dialog box, where you can select an existing file to open.
File. Open Project CTRL + O Displays the Open Project dialog box, where you can add new or existing projects to your solution.
Project. Adding an existing Item CTRL + SHIFT + D Displays the Add Existing Item dialog box.
Project. Adding a new item CTRL + D Displays the Add New Item dialog box, which enables you to select an item to add to the current project.
debugging shortcut keys
command name shortcut Keys Description
Debug. All interrupts CTRL + Break Temporarily stops execution of all processes in the debugging session. Applies to run mode only.
Debugging. Breakpoints CTRL + B Displays the Breakpoints dialog box, where you can add and modify breakpoints.
Debug. Call stack 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. Applies to run mode only.
Debug. Clear All Breakpoints CTRL + SHIFT + F9 Clears all breakpoints in the project.
Debugging. Enabling breakpoints CTRL + F9 Sets a breakpoint on the current line.
Debugging. Exceptions CTRL + SHIFT + E Displays the Exceptions dialog box.
Debugging. Instant CTRL + ALT + I Displays the Immediate window, in which you can evaluate an expression and execute a single command.
Debugging. Local Variables CTRL + ALT + L Displays the local Variables window to view the variables and their values for each procedure in the current stack frame.
Debugging. Process CTRL + SHIFT + R Displays the Processes dialog box, which allows you to debug multiple programs at the same time in a single solution.
Debugging. Quick Monitoring SHIFT + F9 Displays the Quick Watch dialog box with the current value of the selected expression. Only available in break mode. Use this command to examine the current value of a variable, property, or other expression for which a watch expression has not been defined.
Debug. Restart CTRL + SHIFT + F5 Terminates the debug session, rebuilds, and then starts running the application from the beginning. Available for break mode and run mode.
Debugging. Running the document CTRL + ALT + R Displays the Run document window, which displays the set of documents that are in the process of debugging. Applies to run mode.
Debug. Run to Cursor CTRL + F10 In break mode, continue executing code from the current statement until the selected statement. The current execution line margin indicator appears in the margin indicator bar.
In design mode, start the debugger and execute the code until the cursor position.
Debug. Set Next Statement CTRL + SHIFT + F10 Sets the execution point on the selected line of code.
Debug. Show Next Statement ALT + * In the number key area Highlight the next statement that you want to execute.
Debug. Start F5 Automatically attaches the debugger and runs the application from the startup form specified in the Properties dialog box. If it is break mode, change to continue.
Debug. Start execution Without debugging CTRL + F5 Run the code without invoking the debugger.
Debugging. Per- statement F11 Executes the code on an itemized statement after executing the ENTER function call. that is, one step, the tracking program is very useful!
Debug. Jump out SHIFT + F11 Executes the remaining rows of the function where the current execution point is located.
Debugging. Step Over process F10 Executes the next line of code, but does not perform any function calls.
Debugging. Stop Debugging SHIFT + F5 Stop running the current application in the program. Available for break mode and run mode.
Debugging. Threads CTRL + ALT + H Displays the Threads window to view all threads and their associated information for the current process.
Debugging. Toggle Breakpoint F9 Sets or removes a breakpoint at the current line.
Debugging. Monitoring 1 CTRL + ALT + w,1 key Displays the Watch 1 window to view the values of the selected variable or watch expression.
Debugging. Monitoring 2 CTRL + ALT + w,2 key Displays the Watch 2 window to view the values of the selected variable or watch expression.
Debugging. Monitoring 3 CTRL + ALT + w,3 key Displays the Watch 3 window to view the values of the selected variable or watch expression.
Debugging. Monitoring 4 CTRL + ALT + w,4 key Displays the Watch 4 window to view the values of the selected variable or watch expression.
Search and replace shortcut keys
command name shortcut Keys Description
Edit. Find CTRL + F Displays the Find dialog box.
Edit. Find Next F3 Finds the next occurrence of the last search text.
Edit. Find Next selected item CTRL + F3 Finds the next occurrence of the currently selected text in the document.
Edit. Find Previous SHIFT + F3 Finds the previous occurrence of the search text.
Edit. Find previous selected item CTRL + SHIFT + F3 Finds the previous occurrence of the currently selected text or the word at the caret.
Edit. Go to find combo box CTRL + SHIFT + F Places the caret in the Find/Command box on the Standard toolbar.
Edit. Hide Text ALT + f3,n Select or clear the Search hidden text option in the Find and Replace dialog boxes.
Edit. Case Matching ALT + f3,c Select or clear the case matching option for the Find and replace operation.
Edit. Regular expressions ALT + f3,r Select or clear the "regular expression" option that allows special characters to be used. Applies only to find, replace, find in files, replace in Files dialog boxes, and find/command boxes.
Edit. Replace CTRL + H Displays the Replace dialog box.
Edit. Stop Search ALT + f3,s Pauses the current "Find in Files" operation.
Edit. Up ALT + f3,b Select or clear the Search up option for the find and replace actions.
Edit. Whole Word match ALT + f3,w Select or clear the Match whole word option for the Find and replace actions. Applies only to find, replace, find in files, replace in Files dialog boxes, and find/command boxes.
Text Navigation shortcut keys
command name shortcut Keys Description
Edit. Move Left character Left ARROW key Moves the insertion point one character to the left.
Edit. Right-shift character Right ARROW key Moves the insertion point one character to the right.
Edit. End of document CTRL + END Moves the insertion point to the last line of the document.
Edit. Document Start CTRL + HOME Moves the insertion point to the first line of the document.
Edit. Go to CTRL + G Displays the Go To Line dialog box.
Edit. Go to curly Braces CTRL +] Moves the insertion point to the next curly brace in the document.
Edit. Move down one line Down ARROW key Moves the insertion point down one line.
Edit. End of Line END Moves the insertion point to the end of the line.
Edit. Beginning of the line HOME Moves the insertion point to the beginning of the line.
Edit. Move one line up Up ARROW key Moves the insertion point up one line.
Edit. Next Bookmark CTRL + K,ctrl + N Move to the next bookmark in the document.
Edit. Page Down PAGE down Scrolls the document or window down one page.
Edit. Page Up PAGE up Scrolls the document or window up one page.
Edit. Previous Bookmark CTRL + K,ctrl + P Move to the previous bookmark.
Edit. Scroll down one line CTRL + DOWN ARROW key Scrolls the text down one line.
Edit. Scroll up one line CTRL + UP ARROW key Scrolls the text up one line.
Edit. Top of view CTRL + PAGE Up Moves the cursor to the first row at the top of the current window. Applies only to HTML view of the HTML editor.
Edit. View Blank CTRL + R,ctrl + W Show or hide spaces and tab markers.
Edit. Next Word CTRL + RIGHT ARROW key Move the insertion point right one word.
Edit. Previous Word CTRL + LEFT ARROW key Move the insertion point to the beginning of the previous word.
View. View Code F7 Displays the selected item in Code view in the editor.
View. View Designer SHIFT + F7 Displays the selected item in the Design view of the editor or designer.

Window Management shortcut keys

command name shortcut Keys Description
window. activating the document window Esc Closes the menu or dialog box, cancels the action in progress, or places the focus in the current document window.
window. Close the document window CTRL + F4 Closes the currently selected document window.
window. Close tool window SHIFT + ESC Close the tool window, such as the Task List and toolbox.
window. Next document window CTRL + F6
CTRL + TAB
Loops through the MDI child window, one by one.
window. Next Pane ALT + F6 Move to the next tool window.
window. Next Splitter Pane F6 Moves to the next pane of the Split pane view of a single document.
window. Next tab CTRL + PAGE Down Move to the next tab in the document or window.
window. previous document window CTRL + SHIFT + F6
CTRL + SHIFT + TAB
Move to the previous document in the editor.
window. Previous Pane SHIFT + ALT + F6 Moves to the last selected window.
window. previous Splitter pane SHIFT + F6 Move to the previous pane of the document in the Split pane view.
window. Previous tab CTRL + PAGE Up Move to the previous tab in the document or window.
tool window shortcut keys
command name shortcut Keys Description
View. Document Outline CTRL + ALT + T Displays the Document Outline window to view the planar or hierarchical outline of the current document.
View. Object Browser CTRL + ALT + B

F2

Displays the Object Browser to view the classes, properties, methods, events, and constants that are available for the package, as well as the object libraries and procedures in the project. When in the editor, the F2 key displays only the Object Browser.
View. Output CTRL + ALT + O Displays the Output window, which displays the build and other status information.
View. Properties Window F4 Displays the Properties window.
View. Property Pages SHIFT + F4 Displays the property page for the currently selected item in the Solution Explorer window.
View. Refresh CTRL + R Updates the information currently displayed in the Web browser window.
View. Solution Explorer CTRL + ALT + J Displays the Solution Explorer window.
View. Task List CTRL + ALT + K Displays the Task List window, where you can customize, categorize, and manage tasks, comments, shortcuts, warnings, and error messages.
View. Toolbox CTRL + ALT + X Displays the toolbox.

vs shortcut Keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.