Visual Studio 2010 Shortcuts
|
Uploaded by ProNotion, updated on 11/28/2013 by jmb Platform: Windows/ English |
Table of Contents
![]() 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 | |
| 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的更多相关文章
- VS:101 Visual Studio 2010 Tips
101 Visual Studio 2010 Tips Tip #1 How to not accidentally copy a blank line TO – Text Editor ...
- 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 ...
- [入门级] 基于 visual studio 2010 mvc4 的图书管理系统开发初步 (二)
[入门级] 基于 visual studio 2010 mvc4 的图书管理系统开发初步 (二) Date 周六 10 一月 2015 By 钟谢伟 Category website develop ...
- [入门级] visual studio 2010 mvc4开发,用ibatis作为数据库访问媒介(一)
[入门级] visual studio 2010 mvc4开发,用ibatis作为数据库访问媒介(一) Date 周二 06 一月 2015 By 钟谢伟 Tags mvc4 / asp.net 示 ...
- 用C#语言在Visual Studio 2010里开发一个自定义的PowerShell Cmdlet
1. 打开Visual Studio 2010 2. 新建一个基于Class Library的项目 3. 给项目起个名字然后OK 4. 为项目添加下列Reference System.Manageme ...
- 【处理手记】VS2010SP1安装不上Visual Studio 2010 SP1 SDK的解决办法
想写个VS插件,需要安装VS的SDK,VS2010SP1对应的SDK自然是Visual Studio 2010 SP1 SDK,下载页面: https://www.microsoft.com/en-u ...
- 水晶报表初体验(Visual Studio 2010)
安装水晶报表后如下使用: 配置rpt文件,如图 前台(Asp.net页面): <%@ Register Assembly="CrystalDecisions.Web, Version= ...
- Visual Studio 2010编译时总是提示"调用目标发生了异常"的解决
现象: 无论建立的是Win32 Console的解决方案,还是MFC的解决方案,重新打开Visual Studio 2010之后,编译时总是提示“调用的目标发生了异常” 解决: 1. 关闭Visual ...
- WIN7环境下CUDA7.5的安装、配置和测试(Visual Studio 2010)
以下基于"WIN7(64位)+Visual Studio 2010+CUDA7.5". 系统:WIN7,64位 开发平台:Visual Studio 2010 显卡:NVIDIA ...
随机推荐
- LeetCode算法题-Ransom Note(Java实现)
这是悦乐书的第212次更新,第225篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第80题(顺位题号是383).给定一个任意赎金票据字符串和另一个包含所有杂志字母的字符串 ...
- 让python bottle框架支持jquery ajax的RESTful风格的PUT和DELETE等请求(新方法)
通过上篇博文的方法处理后,进入代码调试后发现ajax获取不了服务器端返回的数据,度娘后发现原来AJAX的OPTIONS请求方式是状态类型查询,即向服务器提交信息后不返回任何信息,只将执行状态(200状 ...
- 14.UA池和代理池
今日概要 scrapy下载中间件 UA池 代理池 今日详情 一.下载中间件 先祭出框架图: 下载中间件(Downloader Middlewares) 位于scrapy引擎和下载器之间的一层组件. - ...
- IntelliJ IDEA LicenseServer激活及使用
一.激活 IntelliJ IDEA下载地址:https://www.jetbrains.com/idea/download/#section=windows 原文地址:http://blog.csd ...
- Thread.currentThread()和this的区别——《Java多线程编程核心技术》
前言:在阅读<Java多线程编程核心技术>过程中,对书中程序代码Thread.currentThread()与this的区别有点混淆,这里记录下来,加深印象与理解. 具体代码如下: pub ...
- 利用nginx搭建小型的文件服务器
PS内的文件如果需要共享给其他计算机下载,可以选择ftp的方式,优点是操作性很高,修改删除下载等等都可以,但是速度略慢. 如果仅仅是将VPS作为文件中转站,可以尝试用Nginx架设一个简单的文件服务器 ...
- Web开发人员vs网页设计师
Web开发人员vs网页设计师 我们都遇到过,但实际的区别是什么?如果您是该领域的新手,请阅读详细内容,这些内容比您想象的更重要. 经过几周(或几个月)的规划和准备,进行市场调查,与其他企业家交谈,现在 ...
- BZOJ3110:[ZJOI2013]K大数查询(整体二分)
Description 有N个位置,M个操作.操作有两种,每次操作如果是1 a b c的形式表示在第a个位置到第b个位置,每个位置加入一个数c.如果是2 a b c形式,表示询问从第a个位置到第b个位 ...
- Apache 项目列表功能分类便于技术选型
big-data (49): Apache Accumulo Apache Airavata Apache Ambari Apache Apex Apache Avro Apache Be ...
- js获取访问IP、地区、、当前操作浏览器
js获取IP.地区.当前操作浏览器有什么用呢? 我的回答是用处很多,比如现在的异地登录和对用户常用浏览器做数据分析等. 源代码如下:index.html <!DOCTYPE html> & ...
PDF
Print
Hide all
Show all