C # shortcut keys (essential to becoming a master)

Source: Internet
Author: User

CTRL + SHIFT + B generate Solution

CTRL + F7 generate Compilation

CTRL + O open the file

CTRL + SHIFT + O open the project

CTRL + SHIFT + C display Class View window

F4 Display Properties window

SHIFT + F4 display Project Properties window

CTRL + SHIFT + E display resource view

F12 to definition

CTRL + F12 go to Declaration

CTRL + ALT + J object browsing

CTRL + ALT + F1 help directory

CTRL + F1 dynamic help

F1 help

SHIFT + F1 current window help

CTRL + ALT + F3 help-Search

SHIFT + ALT + ENTER full screen display

CTRL +-backward Positioning

CTRL + SHIFT +-forward positioning

CTRL + F4 close document window

CTRL + page down cursor positioned above the window

CTRL + page up cursor positioned below the window

CTRL + F6

CTRL + TAB next document window

CTRL + SHIFT + F6

CTRL + SHIFT + TAB

ALT + F6 next panel window

CTRL + K, CTRL + L cancel remark

CTRL + K, CTRL + C comment on the selected code

CTRL + K, CTRL + U uncomment the selected code

CTRL + M, CTRL + O fold Code definition

CTRL + M, CTRL + L expand Code definition

CTRL + DELETE to the end

CTRL + BACKSPACE Delete to word Header

SHIFT + TAB cancel TAB

CTRL + U to lowercase

CTRL + SHIFT + U convert to uppercase

CTRL + SHIFT + END select to END of the document

CTRL + SHIFT + HOME select to start at the end of the document

SHIFT + END select to END of line

SHIFT + HOME select to start line

SHIFT + ALT + END vertical selection to the END

SHIFT + ALT + HOME vertical select to the beginning

CTRL + A select all

CTRL + W select current word

CTRL + SHIFT + page up select to the front of this PAGE

CTRL + SHIFT + page down select after this PAGE

CTRL + END document to final

CTRL + HOME locate to the beginning

CTRL + G...

CTRL + K, CTRL + P

CTRL + K, CTRL + N next tag

ALT + F10 debugging-ApplyCodeChanges

CTRL + ALT + Break stop debugging

CTRL + SHIFT + F9 cancel all breakpoints

CTRL + F9 allow interruption

CTRL + SHIFT + F5 debug-start again

F5 running debugging

CTRL + F5 run not debug

F10 Program Execution

F11 one-step and one-sentence execution

CTRL + J list members

CTRL + page down next view

CTRL + B format-bold

CTRL + SHIFT + T format-text indent

Debugging shortcuts

F6: generate a solution

Ctrl + F6: generate the current project

F7: view code

Shift + F7: view the Form Designer

F5: start debugging

Ctrl + F5: start execution (not debugging)

Shift + F5: Stop debugging

Ctrl + Shift + F5: restart debugging

F9: breakpoint Switching

Ctrl + F9: Enable/stop a breakpoint

Ctrl + Shift + F9: delete all breakpoints

F10: Process by Process

Ctrl + F10: run at the cursor

F11: statement by statement

Edit shortcuts

Shift + Alt + Enter: Switch to full screen editing

Ctrl + B, T/Ctrl + K, K: Switch the bookmarks

Ctrl + B, N/Ctrl + K, N: Move to the next bookmarks

Ctrl + B, P: Move to the previous bookmarks

Ctrl + B, C: Clear all labels

Ctrl + I: Progressive search

Ctrl + Shift + I: reverse progressive search

Ctrl + F: Search

Ctrl + Shift + F: find in the file

F3: Find the next

Shift + F3: Find the previous one

Ctrl + H: replace

Ctrl + Shift + H: Replace in the file

Alt + F12: Search symbols (list all search results)

Ctrl + Shift + V: clipboard Loop

Ctrl + left and right arrow keys: One word can be moved at a time

Ctrl + up and down arrow keys: Scroll the code screen without moving the cursor position.

Ctrl + Shift + L: Delete the current row

Ctrl + M, M: Hide or expand the current nested folding status

Ctrl + M, L: Set all processes to the same hidden or expanded State

Ctrl + M, P: Stop outline display

Ctrl + E, S: View Blank

Ctrl + E, W: automatic line feed

Ctrl + G: Go to the specified row

Shift + Alt + Arrow: Select rectangular text

Alt + mouse left button: Select rectangular text

Ctrl + Shift + U: all are capitalized

Ctrl + U: lowercase for all

Code shortcut

Ctrl + J/Ctrl + K, L: List Members

Ctrl + Shift + Space key/Ctrl + K, P: parameter information

Ctrl + K, I: quick information

Ctrl + E, C/Ctrl + K, C: Comment the selected content

Ctrl + E, U/Ctrl + K, U: cancel the selected comment content

Ctrl + K, M: Generate method stubs

Ctrl + K, X: insert code segment

Ctrl + K, S: insert external code

F12: Go to the definition of the called process or variable

Window shortcut

Ctrl + W, W: browser window

Ctrl + W, S: solution Manager

Ctrl + W, C: Class View

Ctrl + W, E: Error List

Ctrl + W, O: Output View

Ctrl + W, P: attribute window

Ctrl + W, T: task list

Ctrl + W, X: toolbox

Ctrl + W, B: Bookmarks window

Ctrl + W, U: document outline

Ctrl + D, B: breakpoint window

Ctrl + D, I: Real-Time Window

Ctrl + Tab: active form Switching

Ctrl + Shift + N: Create a project

Ctrl + Shift + O: Open the project

Ctrl + Shift + S: Save all

Shift + Alt + C: Create a class

Ctrl + Shift + A: new item

Hide shortcut keys in VS2005

Here, I will share some of the shortcut keys that were not explicitly stated in VS2005, not all of them, or some common shortcut keys.

1. Ctrl + Space directly completes the class or function (originally this is not a hidden shortcut key, but because the Chinese Input Method preemptible this shortcut key, so..., the alternative shortcut key is Alt + Right)

2. Shift + Delete the entire row and place the row to the clipboard (you cannot select a part of content at this time)

3. Shift + Insert and paste. It's a bit incredible. Just press Ctrl + V to match Shift + Delete.

4. Ctrl + Up, Ctrl + Down scroll editor, but do not move the cursor as much as possible. Ensure that the cursor is within the visible range.

5. Ctrl + BackSpace and Ctrl + Delete are useful in some cases.

6. Press Ctrl + Left, Ctrl + Right to move the cursor by the entire word (not to hide it, and add it to the previous several items as the Ctrl cursor control suite)

7. Alt + Shift + F10 open the execution Rename and implement the small window of the interface and abstract class (you can also use Ctrl + .., but some Chinese input methods use this)

8. Shift + F9 debugging is to enable QuickWatch, where the content of the current cursor is located

9. F12 jump to definition, which is a useful shortcut

10. Shift + F12 search for all references

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.