Useful Visual Studio shortcut keys 来自MSDN Blogs

Useful Visual Studio shortcut keys

16 Mar 2007 5:18 AM 

Shortcut Keys

Association

F8/Shift-F8

Navigate compilation errors

Ctrl-D

Move to mini-buffer

Ctrl-Shift-G in mini-buffer or
Ctrl-O in mini-buffer

Open file name in mini-buffer (Ctrl-O seems to open stuff Ctrl-Shift-G does not)

"> command" in mini-buffer

Execute command

Ctrl+/

Move to mini-buffer, typing the leading > for you

Ctrl-Alt-A

Open the command window

Ctrl-PageUp in HTML Design View

Open source view

Ctrl-PageDown in HTML Source View

Open design view

F7 in Form Design View

Open source view

Shift-F7 in Form Source View

Open design view

Ctrl-Alt-L

Solution Explorer

F4 or Alt-Enter

Properties of selected item

Ctrl-Shift-B

Build

F5

Debug

Ctrl-F5

Run, but not debug

Ctrl-Alt-J

Object Browser

Ctrl-Shift-C

Class View

Ctrl-Space when typing a symbol

Complete the symbol you're currently typing or give you a choice of possibilities

Ctrl-Space when entering arguments

Show the function prototype

"-" (no quotes) as the name of a menu item

Menu item becomes a separator

Ctrl-K Ctrl-F

Reformat selection

}

Reformat scope being closed

Ctrl-K Ctrl-C

Comment out selected lines

Ctrl-K Ctrl-U

Uncomment selected lines

Ctrl-}

Match braces, brackets or compiler directives

Shift-Ctrl-}

Select match between braces, brackets or compiler directives

Ctrl-L or Shift-Del or
Ctrl-X w/ no selection

Delete entire line

Ctrl-Del

Delete next "word"

Alt-F6

Next visible pane (not for use with all windows unpinned)

Ctrl-Shift-F12

Jumps to next *whatever*, depending on what's active, e.g. next find result, next task, next error, etc.

Ctrl-"-"/Ctrl-Shift-"-" (no quotes)

Jumps to last/next place you worked

Ctrl-C in the Class View

Copies fully qualified name to the Clipboard

Ctrl-M Ctrl-M

Collapse or expand a region or outlined block (as marked by the [+] and [-] on the left hand side of the editor).

Ctrl-M Ctrl-O

Collapse everything in the current file

Ctrl-M Ctrl-L

Expand everything in the current file

F12

Jump to the current symbol's declaration

Ctrl-G, line #, Enter or
Ctrl-D, line #, Ctrl-G

Jump to line

Ctrl-I/Ctrl-Shift-I + string

Incremental search for string

Ctrl-R+Ctrl-R

Turn on/off word wrap

Ctrl+Up/Down Arrow

Scroll window up/down without moving the cursor away from the current line

Shift+Alt+Arrows
(Alt+Mouse works, too)

Column selection (include of line selection)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值