Visual Studio 2010 Shortcuts


Uploaded by ProNotion, updated on 11/28/2013 by jmb Platform: Windows/ English

pdf PDF    printer_friendly Print  minimize Hide all   maximize Show all

minusplus1. Manage Visual Studio
Ctrl+SSave current file
Ctrl+Shift+SSave all files
Ctrl+Shift+NCreate new project
Ctrl+OOpen file
Ctrl+Shift+OOpen project
Ctrl+Shift+AAdd item to project
EscClose menu or dialog
Ctrl+PPrint
Shift+Alt+EnterToggle full screen mode
Ctrl+F4Close current tab
Ctrl+F6/Ctrl+Shift+F6Go to next / go to previous window
Ctrl+Tab, then Arrow keysPress and hold Ctrl+Tab, then using arrow keys gives a small task manager with all open files and views

▲ up

minusplus2. Bookmarks
For keystrokes with two keys such as Ctrl+k+k, keep holding the Ctrl key until releasing the last key.
Ctrl+K+KToogle bookmark
Ctrl+K+NGoto next bookmark
Ctrl+K+PGoto previous bookmark
Ctrl+Shift+K+NGoto next bookmark in folder
Ctrl+Shift+K+PGoto previous bookmark in folder
Ctrl+K+WPut focus on bookmark window
EscLeave bookmark window and focus on editor
Ctrl+K+HToggle code shortcut at current line*
Ctrl+K+LClear all bookmarks
Ctrl+\+TShow Task List (including code shortcuts)
*if somebody figures out additional shortut keys on how to use code shortcuts, please edit this page and add.

 

minusplus3. Code Editor
minusplusFind, Replace, and Goto
Ctrl+FFind and replace dialog box
F3/Shift+F3Find next / find previous
Ctrl+HDisplay Replace options on the quick tab
Shift+F12Find all references for selected symbol
Ctrl+Shift+FFind in files
Alt+F3, sStop current find in files operation
Ctrl+F3/Ctrl+Shift+F3Find next / find previous in selected text
Alt+F12Find symbol
Ctrl+DPut cursor in find/command box of the toolbar. Use ctrl+/ in Visual C#
Ctrl+I/Ctrl+Shift+IIncremental search / reverse incremental search
Shift+Alt+F12Quick find symbol
Ctrl+,Display Navigate-To dialog box
Ctrl+GGoto line number
Ctrl+]Go to matching brace in source file
Shift+Ctrl+Arrow downJump to next occurrence of highlighted symbol
Shift+Ctrl+Arrow upJump to previous occurrence of highlighted symbol
 
minusplusUndo, Redo, Copy, Paste
Ctrl+x, Ctrl+c, Ctrl+VCut, copy, paste
Ctrl+Shift+VPastes an item from the Clipboard ring
Ctrl+ZUndo
Ctrl+YRedo (or Shift+Alt+Backspace, or Ctrl+Shift+Z)
 
minusplusSelect Text
Shift+Arrow KeysExtend selection one character/one line
Ctrl+Shift+End/Ctrl+Shift+HomeExtend selection to end / to beginning of document
Ctrl+Shift+]Extend selection to nexst brace
Shift+End/Shift+HomeExtend selection to end / to beginning of line
Shift+Page Down/Shift+Page UpExtends selection down one page / up one page
Ctrl+WSelect current word
EscCancel Selection
Ctrl+Shift+Page Down/Page UpMoves cursor and extend selection to the last line / first line in view.
Ctrl+Shift+Arrow Right/Arrow LeftExtend selection one word to the right / one word to the left
Ctrl+ASelect All
 
minusplus4. Coding
minusplusCollapse Items
Ctrl+M+MCollapse / un-collapse current preset area (e.g. method)
Ctrl+M+HCollpase / hide current selection
Ctrl+M+OCollapse declaration bodies
Ctrl+M+ACollapse all
Ctrl+M+XUncollapse all
Ctrl+m, ctrl+TCollapse Html tag
 
minusplusEdit Code
Ctrl+LDelete current line or selection of lines to and add to clipboard
Ctrl+Shift+LDelete current line or selection of lines
Ctrl+DeleteDelete word to right of cursor
Ctrl+BackspaceDelete word to left of cursor
Ctrl+EnterEnter blank line above cursor
Ctrl+Shift+EnterEnter blank line below cursor
Ctrl+Shift+UMake uppercase
Ctrl+UMake lowercase (reverse upercase)
Ctrl+K+CComment selected text
Ctrl+K+UUncomment selected text
Ctrl+K+\Remove white space and tabs in selection or around current cursor position
Ctrl+K+DFormat document to code formatting settings
Ctrl+K+FFormat selection to code formatting settings
Ctrl+Shift+SpaceDisplay parameter required for selected method
Ctrl+Shift+8Visualize whitespace (or press Ctrl+r, then Ctrl+w)
Ctrl+K+DFormat document to code formatting settings
Ctrl+K+FFormat selection to code formatting settings
Ctrl+Shift+TTranspose word to right of cursor; makes b=a out of a=b if cursor was in front of a
Ctrl+TTranspose character left and right of cursor; cursor between ab would make ba
Shift+Alt+TTranspose line: Move line below cursor up and current line down.
 
minusplusIntelliSense and Code Helper
Ctrl+SpaceAutocomplete word from completion list (or alt+right arrow)
Ctrl+Shift+SpaceShow parameter info
Ctrl+F12Display symbol definition
F12Display symbol declaration
Ctrl+JOpen IntelliSense completion list
 
minusplus5. Build and Debug
F6Build solution (or Ctrl+shift+b)
Ctrl+Alt+F7Rebuild solution
Ctrl+BreakCancel build process
Ctrl+\+EShow error list
F9Toggle breakpoint
Ctrl+BInsert new function breakpoint
F5Start debugging
F11Debug / step into
F10Debug / step over
Shift+F11Debug / step out
Ctrl+F10Debug / run to cursor
Ctrl+Alt+QShow Quickwatch window
Ctrl+Shift+F10Set current statement to be the next executed
Alt+* (on numeric keyboard)Show nexst statement
Ctrl+Alt+EShow Exception dialog box
Ctrl+F11Toggle between disassembly and user code view
Shift+F5Stop Debugging
Ctrl+F5Bypass debugger
Ctrl+Alt+PShow attach to process window
Ctrl+Alt+breakBreak all executing threads

 

minusplus6. Tool Windows
Ctrl+/Put cursor in the find/command box in toolbar
Ctrl+K+BOpen code snippet manager window
Alt+F11Open macro IDE window
Ctrl+K+WOpen bookmark window
Ctrl+Alt+KOpen call hierarchy window
Ctrl+Shift+COpen class view window
Ctrl+Alt+AOpen Command window
Ctrl+Shift+OOpen Output window
Ctrl+Shift+EOpen Resource view window
Ctrl+Alt+SOpen Server explorer window
Ctrl+Shift+LOpen Solution explorer window
Shift+EscClose Find & Replace Window

转载于:https://www.cnblogs.com/hjbf/p/10303693.html

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值