VS代码生成工具ReSharper提供了丰富的快捷键,可以极大地提高你的开发效率。安装ReSharper后首次启动Visual Studio时,会出现一个名为ReSharper Keyboard Scheme的对话框,如下图所示:

选择对话框提供的三个选项之一后的任何时候,您可以配置单独的键盘快捷键。

配置单个键盘快捷键

1、在主菜单上,选择Tools | Options

2、在导航视图中选择Environment | Keyboard

3、在命令列表中,选择启动ReSharper的命令名称。浏览列表以查看或者编辑ReSharper的特定操作的键盘快捷方式。

在键盘快捷方式间切换或者恢复到当前选定方案的默认状态

1、在主菜单上,选择ReSharper | Options

2、选择Environment | Keyboard and Menus

3、 在Keyboard and Menus选项卡上,选择 Visual Studio, ReSharper 2.x 或 IntelliJ IDEA或 None,点击Apply Scheme。如果你选择None,你可以在Visual Studio的本地选项菜单中定义任意一组自定义快捷键(Tools | Options | Environment | Keyboard) 。

完整的快捷键列表

代码分析(Code analysis)

Command Shortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Toggle code analysis in the current file Ctrl+Shift+Alt+8 Ctrl+Shift+Alt+8
Go to next code issue (error, warning or suggestion) Alt+PgDn F12
Go to previous code issue (error, warning or suggestion) Alt+PgUp Shift+F12
Go to next error Shift+Alt+PgDn Alt+F12
Go to next error in solution Shift+Alt+PgDn Alt+F12
Go to previous error Shift+Alt+PgUp Shift+Alt+F12
Go to previous error in solution Shift+Alt+PgUp Shift+Alt+F12
Inspect this Ctrl+Shift+Alt+A Ctrl+Shift+Alt+A
View type hierarchy Ctrl+E,H Ctrl+Alt+H
Inspection Results window Ctrl+Alt+V Ctrl+Alt+V

编码援助(Coding assistance)

Command Shortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Show action list Ctrl+R,W Ctrl+R,W
Paste multiple   Ctrl+Shift+V 
Code cleanup Ctrl+E,C Ctrl+Alt+F 
Silent code cleanup Ctrl+E,F Ctrl+Shift+Alt+F
Symbol code completion Ctrl+Space Ctrl+Space
Smart code completion Ctrl+Alt+Space Ctrl+Shift+Space
Import symbol completion Shift+Alt+Space Ctrl+Alt+Space
Complete statement Ctrl+Shift+Enter Ctrl+Shift+Enter
Parameter information Ctrl+Shift+Space Ctrl+P
Quick documentation Ctrl+Shift+F1 Ctrl+Q
Insert live template Ctrl+E,L Ctrl+J
Surround with template Ctrl+E,U Ctrl+Alt+J
Create file from template Ctrl+Alt+Insert Ctrl+Alt+Insert
Generate code Alt+Insert Alt+Insert
Move code up Ctrl+Shift+Alt+Up Ctrl+Shift+Alt+Up
Move code down Ctrl+Shift+Alt+Down Ctrl+Shift+Alt+Down
Move code left Ctrl+Shift+Alt+Left Ctrl+Shift+Alt+Left
Move code right Ctrl+Shift+Alt+Right Ctrl+Shift+Alt+Right
Extend selection Ctrl+Alt+Right Ctrl+W
Shrink selection Ctrl+Alt+Left Ctrl+Shift+W
Select containing declaration Ctrl+Shift+[ Ctrl+Shift+[
Duplicate a line or selection Ctrl+D Ctrl+D
Comment with line comment Ctrl+Alt+/ Ctrl+/
Comment with block comment Ctrl+Shift+/ Ctrl+Shift+/

导航和搜索(Navigation and search

Command Shortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Go to type Ctrl+T Ctrl+N
Go To File Ctrl+Shift+T Ctrl+Shift+N
Go to file member Alt+\ Ctrl+F12
Go to symbol Shift+Alt+T Ctrl+Shift+Alt+N
Navigate To Alt+` Ctrl+Shift+G
Go to type of symbol Ctrl+Shift+F11 Ctrl+Shift+T
Go to declaration F12 Ctrl+B
Go to implementation Ctrl+F12 Ctrl+Shift+Alt+B
Go to base symbols Alt+Home Ctrl+U
Go to derived symbols Alt+End Ctrl+Alt+B
Go to usage Shift+Alt+F12 Ctrl+Alt+F7
Go to containing declaration Ctrl+[ Ctrl+[
Go to next member/tag Alt+Down Alt+Down
Go to previous member/tag Alt+Up Alt+Up
Find usages Shift+F12 Alt+F7
Find usages (advanced) Ctrl+Shift+Alt+F12 Shift+Alt+F7
Highlight usages in file Shift+Alt+F11 Ctrl+Shift+F7
Go to previous usage Ctrl+Alt+PgUp Ctrl+Alt+Up
Go to next usage Ctrl+Alt+PgDn Ctrl+Alt+Down
Remove highlighting of usages Esc Esc
View recent files Ctrl+, Ctrl+E
View recent edits Ctrl+Shift+, Ctrl+Shift+Alt+Backspace
Go to previous edit Ctrl+Shift+Backspace Ctrl+Shift+Backspace
Go to related files Ctrl+Alt+F7 Ctrl+Shift+Alt+G
View bookmarks Ctrl+` Ctrl+`
Go to a numbered bookmark Ctrl+[numeric key] Ctrl+[numeric key]
Set/remove a numbered bookmark Ctrl+Shift+[numeric key] Ctrl+Shift+[numeric key]
Find Results window Ctrl+Alt+F12 Ctrl+Alt+U
File structure Ctrl+Alt+F Ctrl+F11
To-do items Ctrl+Alt+D  
Stack Trace Explorer Ctrl+E,T Ctrl+Shift+E
Locate in Solution Explorer Shift+Alt+L Shift+Alt+L
Analyze references Shift+Alt+Y Shift+Alt+Y

重构(Refactorings)

Command Shortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Refactor this Ctrl+Shift+R Ctrl+Shift+R
Rename Ctrl+R,R F2 or Shift+F6
Move Ctrl+R,O F6
Safe delete Ctrl+R,D or Alt+Del Alt+Del
Extract method Ctrl+R,M Ctrl+Alt+M
Introduce variable Ctrl+R,V Ctrl+Alt+V
Introduce field Ctrl+R,F Ctrl+Alt+D
Introduce parameter Ctrl+R,P Ctrl+Alt+P
Inline variable/method/field Ctrl+R,I Ctrl+Alt+N
Encapsulate field Ctrl+R,E Ctrl+R,E
Change signature Ctrl+R,S Ctrl+F6

单元测试(Unit testing)

Command Shortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
Run unit tests Ctrl+U,R Ctrl+T,R
Debug unit tests Ctrl+U,D Ctrl+T,D
Run all tests in solution Ctrl+U,L Ctrl+T,L
Run current test session Ctrl+U,Y Ctrl+T,Y
Repeat previous test run Ctrl+U,Y Ctrl+T,Y
Append to test session Ctrl+U,A Ctrl+T,A
Create new test session Ctrl+U,N Ctrl+T,N
Unit Test Explorer Ctrl+Alt+U Ctrl+Alt+T
Unit Test Sessions Ctrl+Alt+T Ctrl+Alt+R

工具窗口(Tool windows)

Command Shortcut
(Visual Studio)
Shortcut
(IntelliJ IDEA/ReSharper 2.x)
File structure Ctrl+Alt+F Ctrl+F11
Find Results window Ctrl+Alt+F12 Ctrl+Alt+U
Hierarchies window Ctrl+Alt+H  
Inspection Results window Ctrl+Alt+V Ctrl+Alt+V
Stack Trace Explorer Ctrl+E,T Ctrl+Shift+E
Templates Explorer window Alt+R,P Alt+R,P
To-do items Ctrl+Alt+D  
Unit Test Explorer Ctrl+Alt+U Ctrl+Alt+T
Unit Test Sessions Ctrl+Alt+T Ctrl+Alt+R
Close recent tool Ctrl+Shift+F4 Ctrl+Shift+F4
Activate recent tool Ctrl+Alt+Backspace Ctrl+Alt+Backspace

select resharper shortcuts scheme的更多相关文章

  1. 配置VS代码生成工具ReSharper快捷键

    VS代码生成工具ReSharper提供了丰富的快捷键,可以极大地提高你的开发效率.安装ReSharper后首次启动Visual Studio时,会出现一个名为ReSharper Keyboard Sc ...

  2. VS代码生成工具ReSharper使用手册:配置快捷键

    原文 http://www.cnblogs.com/PHPIDE/archive/2013/05/16/3081783.html VS代码生成工具ReSharper提供了丰富的快捷键,可以极大地提高你 ...

  3. UEFI Bootable USB Flash Drive - Create in Windows(WIN7 WIN8)

    How to Create a Bootable UEFI USB Flash Drive for Installing Windows 7, Windows 8, or Windows 8.1 In ...

  4. PHPStorm2016如何安装主题

    今天放出如何安装phpstorm 主题教程,教程如下: 下载主题 地址:phpstoorm-themes.com 安装主题 PhpStorm and WebStorm themes can be in ...

  5. SQL总结(三)其他查询

    SQL总结(三)其他查询 其他常用的SQL,在这里集合. 1.SELECT INTO 从一个表中选取数据,然后把数据插入另一个表中.常用于创建表的备份或者用于对记录进行存档. 语法: SELECT c ...

  6. 如何使用 Xcode Targets 管理开发和生产版本?

    在开始此教程之前,我们假设你已经完成了应用程序的开发和测试,现在准备提交生产发布.问题是,某些 Web 服务 URLs 指向测试服务器,而 API keys 则为测试环境而配置.在提交应用程序给苹果审 ...

  7. 编译时.test文件报错无法解决的方法,关闭test编译

    有几次遇到从网上下载到的iOS开源代码编译报错,报错位置为Test Target的源文件,我就挺奇怪我又没做测试为啥会编译Test Target的源文件,之前的暴力解决方法是把Test Target直 ...

  8. webStrom 美化

    webStrom 激活: 注册时,在打开的License Activation窗口中选择“License server”,在输入框输入下面的网址: http://idea.iteblog.com/ke ...

  9. Windows 下安装ReText

    打算使用MarkDown了,群友推荐使用ReText,基于Python的,同时依赖了Python的几个包,通过easystall可以方便地安装,同时制作了快捷启动方式,网上找了篇文章以备忘. Inst ...

随机推荐

  1. cookie 使用笔记

    参考书<JSP Web 开发案例教程> index.jsp页面 dologin.jsp页面 welcome.jsp页面 页面显示 点击提交

  2. 转:Python获取随机数(中文)

    下面介绍下random中常见的函数. 前提:需要导入random模块 >>>import random 1.random.random random.random() 用于生成一个0 ...

  3. zoj The 12th Zhejiang Provincial Collegiate Programming Contest Team Formation

    http://acm.zju.edu.cn/onlinejudge/showContestProblem.do?problemId=5494 The 12th Zhejiang Provincial ...

  4. Ruby操作VBA的注意事项和技巧(1):乱码、获取VBA活动和非活动窗口的名称与路径、文件路径的智能拼接与截取(写入日期)

    1.VBA编辑器复制粘贴出来的代码乱码     解决方法:切换到中文输入模式再复制出来就行了 2.获取VBA活动和非活动窗口的名称与路径 Dim wbpath, filename As String ...

  5. Java基础(36):String与基本数据类型之间的双向转换(Wrapper类)

    Java 中基本类型和字符串之间的转换 在程序开发中,我们经常需要在基本数据类型和字符串之间进行转换. 其中,基本类型转换为字符串有三种方法: 1. 使用包装类的 toString() 方法 2. 使 ...

  6. mysql 行锁

    在电子商务里,经常会出现库存数量少,购买的人又特别多,大并发情况下如何确保商品数量不会被多次购买. 其实很简单,利用事务+for update就可以解决. 我们都知道for update实际上是共享锁 ...

  7. Android Handler练习

    package com.example.myact12; import java.util.Random; import android.support.v7.app.ActionBarActivit ...

  8. [转]iis7.5+win2008 出现 HTTP Error 503. The service is unavailable.

    解决: 应用程序池启动32位应用程序 设置托管管道为集成 (仍然有问题) 试试以下方法: http://phpwind.me/1222.html 楼主  发表于: 2011-11-26     图片: ...

  9. 杭电oj 1016 Prime Ring Problem

    Prime Ring Problem Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Other ...

  10. 【转】“C语言说到底是一门以内存为中心的编程语言” —— 这种说法正确吗?

    转自:http://weibo.com/1005903613/AAgqA3kb4  LAW张粑粑的微博