"Go" vs. common shortcut keys

Source: Internet
Author: User

Every time in the online search about vs There are commonly used shortcut keys, come out forever is a string of long can not longer list, completely did not reflect the "common" two words, every time read the front a few can not see down, I believe everyone has this feeling. In fact, we usually use really only a very small part, borrow a "28 principle"--20% of the commonly used shortcut keys can complete your 80% tasks, of course, 20% is inaccurate, just to illustrate the fact. Below is I usually use vs programming when really use more shortcut keys, so more than 10, read without pressure, read a few times can be fully remembered ~ ~ ~

Of course, everyone commonly used generally will be some different, welcome to comment on their own commonly used or the most commonly used shortcut bar, compared to see who used the Qiao ~ ~ ~

ctrl+-(shift+ctrl+-)
: Move the cursor to the last position or the opposite, such as positioning a function, go to the function definition to return to the function, then use ctrl+-, if you want to go back to the function definition, you can press shift+ctrl+-
F12: Go To Definition, where a variable or function is defined, such as a variable declaration, where the function is implemented. Very convenient to use with ctrl+-

Ctrl +]: Matches the selected parentheses (curly braces, parentheses), which is convenient for multi-layered loops + judgment statements. Ctrl+space: Code Completion Ctrl+tab: Toggle open windows in VS, switch individual files Ctrl+i: Incremental Search, unlike ctrl+f is not displayed during the Search dialog box, and Ctrl+f search next directly press ENTER, and Ctrl+i search next press Ctrl+i or F3,escape exit, press two consecutive ctrl+i repeat last search
ctrl+shift+f: Legacy File Search dialog box (similar to the search box in Notepad, can be replaced)
ctrl+f3: Searches for the currently selected section (no need to enter content to search) Shift+alt+enter: Maximize Code Authoring Area (code full-screen mode), i.e. remove all other secondary windows leaving only the code-writing window, then press once back to the original interface Ctrl+k,ctrl+c: Comment A block of code (first select a piece of code) Ctrl+k,ctrl+u: Uncomment a block of code Ctrl+k,ctrl+d: Code Auto-Formatting (entire document)

ctrl+k,ctrl+f: Format only the part you selected

ctrl+k,ctrl+k: Creates a bookmark on the current line ctrl+k, CTRL + N: Go to the next bookmark

CTRL + C, CTRL + V: Copies the current row contents (without checking the current row) on the next line of the current row, copying the current row and pasting it to the next line, which is useful when the two lines are similar, and can be copied and changed ctrl+l: Delete When moving forward


ctrl+m, ctrl+m: Expand or close the current code

From: The best shortcut keys for Visual Studio (which one you like best)

"Go" vs. common 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.