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

 PDF    Print   Hide all    Show all

1. Manage Visual Studio
Ctrl+S Save current file
Ctrl+Shift+S Save all files
Ctrl+Shift+N Create new project
Ctrl+O Open file
Ctrl+Shift+O Open project
Ctrl+Shift+A Add item to project
Esc Close menu or dialog
Ctrl+P Print
Shift+Alt+Enter Toggle full screen mode
Ctrl+F4 Close current tab
Ctrl+F6/Ctrl+Shift+F6 Go to next / go to previous window
Ctrl+Tab, then Arrow keys Press and hold Ctrl+Tab, then using arrow keys gives a small task manager with all open files and views

▲ up

2. Bookmarks
For keystrokes with two keys such as Ctrl+k+k, keep holding the Ctrl key until releasing the last key.
Ctrl+K+K Toogle bookmark
Ctrl+K+N Goto next bookmark
Ctrl+K+P Goto previous bookmark
Ctrl+Shift+K+N Goto next bookmark in folder
Ctrl+Shift+K+P Goto previous bookmark in folder
Ctrl+K+W Put focus on bookmark window
Esc Leave bookmark window and focus on editor
Ctrl+K+H Toggle code shortcut at current line*
Ctrl+K+L Clear all bookmarks
Ctrl+\+T Show Task List (including code shortcuts)
*if somebody figures out additional shortut keys on how to use code shortcuts, please edit this page and add.
3. Code Editor
Find, Replace, and Goto
Ctrl+F Find and replace dialog box
F3/Shift+F3 Find next / find previous
Ctrl+H Display Replace options on the quick tab
Shift+F12 Find all references for selected symbol
Ctrl+Shift+F Find in files
Alt+F3, s Stop current find in files operation
Ctrl+F3/Ctrl+Shift+F3 Find next / find previous in selected text
Alt+F12 Find symbol
Ctrl+D Put cursor in find/command box of the toolbar. Use ctrl+/ in Visual C#
Ctrl+I/Ctrl+Shift+I Incremental search / reverse incremental search
Shift+Alt+F12 Quick find symbol
Ctrl+, Display Navigate-To dialog box
Ctrl+G Goto line number
Ctrl+] Go to matching brace in source file
Shift+Ctrl+Arrow down Jump to next occurrence of highlighted symbol
Shift+Ctrl+Arrow up Jump to previous occurrence of highlighted symbol
 
Undo, Redo, Copy, Paste
Ctrl+x, Ctrl+c, Ctrl+V Cut, copy, paste
Ctrl+Shift+V Pastes an item from the Clipboard ring
Ctrl+Z Undo
Ctrl+Y Redo (or Shift+Alt+Backspace, or Ctrl+Shift+Z)
 
Select Text
Shift+Arrow Keys Extend selection one character/one line
Ctrl+Shift+End/Ctrl+Shift+Home Extend selection to end / to beginning of document
Ctrl+Shift+] Extend selection to nexst brace
Shift+End/Shift+Home Extend selection to end / to beginning of line
Shift+Page Down/Shift+Page Up Extends selection down one page / up one page
Ctrl+W Select current word
Esc Cancel Selection
Ctrl+Shift+Page Down/Page Up Moves cursor and extend selection to the last line / first line in view.
Ctrl+Shift+Arrow Right/Arrow Left Extend selection one word to the right / one word to the left
Ctrl+A Select All
 
4. Coding
Collapse Items
Ctrl+M+M Collapse / un-collapse current preset area (e.g. method)
Ctrl+M+H Collpase / hide current selection
Ctrl+M+O Collapse declaration bodies
Ctrl+M+A Collapse all
Ctrl+M+X Uncollapse all
Ctrl+m, ctrl+T Collapse Html tag
 
Edit Code
Ctrl+L Delete current line or selection of lines to and add to clipboard
Ctrl+Shift+L Delete current line or selection of lines
Ctrl+Delete Delete word to right of cursor
Ctrl+Backspace Delete word to left of cursor
Ctrl+Enter Enter blank line above cursor
Ctrl+Shift+Enter Enter blank line below cursor
Ctrl+Shift+U Make uppercase
Ctrl+U Make lowercase (reverse upercase)
Ctrl+K+C Comment selected text
Ctrl+K+U Uncomment selected text
Ctrl+K+\ Remove white space and tabs in selection or around current cursor position
Ctrl+K+D Format document to code formatting settings
Ctrl+K+F Format selection to code formatting settings
Ctrl+Shift+Space Display parameter required for selected method
Ctrl+Shift+8 Visualize whitespace (or press Ctrl+r, then Ctrl+w)
Ctrl+K+D Format document to code formatting settings
Ctrl+K+F Format selection to code formatting settings
Ctrl+Shift+T Transpose word to right of cursor; makes b=a out of a=b if cursor was in front of a
Ctrl+T Transpose character left and right of cursor; cursor between ab would make ba
Shift+Alt+T Transpose line: Move line below cursor up and current line down.
 
IntelliSense and Code Helper
Ctrl+Space Autocomplete word from completion list (or alt+right arrow)
Ctrl+Shift+Space Show parameter info
Ctrl+F12 Display symbol definition
F12 Display symbol declaration
Ctrl+J Open IntelliSense completion list
 
5. Build and Debug
F6 Build solution (or Ctrl+shift+b)
Ctrl+Alt+F7 Rebuild solution
Ctrl+Break Cancel build process
Ctrl+\+E Show error list
F9 Toggle breakpoint
Ctrl+B Insert new function breakpoint
F5 Start debugging
F11 Debug / step into
F10 Debug / step over
Shift+F11 Debug / step out
Ctrl+F10 Debug / run to cursor
Ctrl+Alt+Q Show Quickwatch window
Ctrl+Shift+F10 Set current statement to be the next executed
Alt+* (on numeric keyboard) Show nexst statement
Ctrl+Alt+E Show Exception dialog box
Ctrl+F11 Toggle between disassembly and user code view
Shift+F5 Stop Debugging
Ctrl+F5 Bypass debugger
Ctrl+Alt+P Show attach to process window
Ctrl+Alt+break Break all executing threads
6. Tool Windows
Ctrl+/ Put cursor in the find/command box in toolbar
Ctrl+K+B Open code snippet manager window
Alt+F11 Open macro IDE window
Ctrl+K+W Open bookmark window
Ctrl+Alt+K Open call hierarchy window
Ctrl+Shift+C Open class view window
Ctrl+Alt+A Open Command window
Ctrl+Shift+O Open Output window
Ctrl+Shift+E Open Resource view window
Ctrl+Alt+S Open Server explorer window
Ctrl+Shift+L Open Solution explorer window
Shift+Esc Close Find & Replace Window

Visual Studio 2010 Shortcuts的更多相关文章

  1. VS:101 Visual Studio 2010 Tips

    101 Visual Studio 2010 Tips Tip #1        How to not accidentally copy a blank line TO – Text Editor ...

  2. Creating a SharePoint BCS .NET Connectivity Assembly to Crawl RSS Data in Visual Studio 2010

    from:http://blog.tallan.com/2012/07/18/creating-a-sharepoint-bcs-net-assembly-connector-to-crawl-rss ...

  3. [入门级] 基于 visual studio 2010 mvc4 的图书管理系统开发初步 (二)

    [入门级] 基于 visual studio 2010 mvc4 的图书管理系统开发初步 (二) Date  周六 10 一月 2015 By 钟谢伟 Category website develop ...

  4. [入门级] visual studio 2010 mvc4开发,用ibatis作为数据库访问媒介(一)

    [入门级] visual studio 2010 mvc4开发,用ibatis作为数据库访问媒介(一) Date  周二 06 一月 2015 By 钟谢伟 Tags mvc4 / asp.net 示 ...

  5. 用C#语言在Visual Studio 2010里开发一个自定义的PowerShell Cmdlet

    1. 打开Visual Studio 2010 2. 新建一个基于Class Library的项目 3. 给项目起个名字然后OK 4. 为项目添加下列Reference System.Manageme ...

  6. 【处理手记】VS2010SP1安装不上Visual Studio 2010 SP1 SDK的解决办法

    想写个VS插件,需要安装VS的SDK,VS2010SP1对应的SDK自然是Visual Studio 2010 SP1 SDK,下载页面: https://www.microsoft.com/en-u ...

  7. 水晶报表初体验(Visual Studio 2010)

    安装水晶报表后如下使用: 配置rpt文件,如图 前台(Asp.net页面): <%@ Register Assembly="CrystalDecisions.Web, Version= ...

  8. Visual Studio 2010编译时总是提示"调用目标发生了异常"的解决

    现象: 无论建立的是Win32 Console的解决方案,还是MFC的解决方案,重新打开Visual Studio 2010之后,编译时总是提示“调用的目标发生了异常” 解决: 1. 关闭Visual ...

  9. WIN7环境下CUDA7.5的安装、配置和测试(Visual Studio 2010)

    以下基于"WIN7(64位)+Visual Studio 2010+CUDA7.5". 系统:WIN7,64位 开发平台:Visual Studio 2010 显卡:NVIDIA ...

随机推荐

  1. Windows 下自动同步文件夹内容到另一个文件夹下

    实现windows 使用bat脚本文件,复制文件夹到另一个盘,参考如下代码:/y是可以不显示:提示你需要覆盖一个文件,如下图: bat文件内容为 @echo off echo "使用bat脚 ...

  2. xshell远程登录工具的星号密码查看方法

    当我们在使用ftp,或者xshell等远程登录工具的时候,连接的密码是用星号*处理的,无法查看到,该如何查看到原始的密码呢? 推荐一款星号密码查看器,可以查看一些软件的带星号的密码,非常好用. 下载地 ...

  3. 第七章 LED将为我闪烁:控制发光二级管

    LED驱动开发实验 如图所示,LED1-LED2 分别与GPC0_3.GPC0_4 相连,通过GPC0_3.GPC0_4 引脚的高低电平来控制三极管的导通性,从而控制LED 的亮灭. 根据三极管的特性 ...

  4. ZooKeeper Administrator's Guide A Guide to Deployment and Administration(吃别人嚼过的馍没意思,直接看官网资料)

    Deployment System Requirements Supported Platforms Required Software Clustered (Multi-Server) Setup ...

  5. Nginx使用教程(五):使用Nginx缓存之缓存静态内容

    NGINX虽然已经对静态内容做过优化. 但在高流量网站的情况下,仍然可以使用open_file_cache进一步提高性能. NGINX缓存将最近使用的文件描述符和相关元数据(如修改时间,大小等)存储在 ...

  6. 最短路 summary

    有四种类型: 单源:dij,spfa,bellman-ford 多源:floyd dij有两种: 一个复杂度为n^2,一个复杂度是m*logn 畅通工程续 某省自从实行了很多年的畅通工程计划后,终于修 ...

  7. 设计模式のProxyPattern(代理模式)----结构模式

    一.产生背景 在直接访问对象时带来的问题,比如说:要访问的对象在远程的机器上.在面向对象系统中,有些对象由于某些原因(比如对象创建开销很大,或者某些操作需要安全控制,或者需要进程外的访问),直接访问会 ...

  8. 十大PHP程序员必备工具

    十大PHP程序员必备工具 1.Notepad++ 总结来说就是小而精,7.4版本的软件包只有2.9M,比一般的IDE小数十倍,但是Notepad++的功能确是很全面的,代码高亮,语法折叠,宏功能,内置 ...

  9. BZOJ4327:[JSOI2012]玄武密码(SAM)

    Description 在美丽的玄武湖畔,鸡鸣寺边,鸡笼山前,有一块富饶而秀美的土地,人们唤作进香河.相传一日,一缕紫气从天而至,只一瞬间便消失在了进香河中.老人们说,这是玄武神灵将天书藏匿在此.  ...

  10. PHP 3种方法实现采集网站数据

    什么叫采集? 就是使用PHP程序,把其他网站中的信息抓取到我们自己的数据库中.网站中. PHP制作采集的技术: 从底层的socket到高层的文件操作函数,一共有3种方法可以实现采集. 1. 使用soc ...