VS代码生成工具ReSharper使用手册:配置快捷键(转)
原文:http://blog.csdn.net/fhzh520/article/details/46364603
VS代码生成工具ReSharper提供了丰富的快捷键,可以极大地提高你的开发效率。
配置单个键盘快捷键
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 |
| 根据文件名定位 | 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 |
| 跳转到定义处 | F12 | Ctrl+B |
| 跳转到实现类 | 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 |
相关推荐:
https://www.cnblogs.com/ShaYeBlog/p/3554253.html
https://www.cnblogs.com/luminji/p/3285505.html
http://www.360doc.com/content/16/0411/19/7014874_549790915.shtml
VS代码生成工具ReSharper使用手册:配置快捷键(转)的更多相关文章
- VS代码生成工具ReSharper使用手册:配置快捷键
原文 http://www.cnblogs.com/PHPIDE/archive/2013/05/16/3081783.html VS代码生成工具ReSharper提供了丰富的快捷键,可以极大地提高你 ...
- 配置VS代码生成工具ReSharper快捷键
VS代码生成工具ReSharper提供了丰富的快捷键,可以极大地提高你的开发效率.安装ReSharper后首次启动Visual Studio时,会出现一个名为ReSharper Keyboard Sc ...
- VS代码生成工具ReSharper发布8.1版本
ReSharper是一个著名的VS代码生成工具,能帮助VS成为一个更佳的IDE.JetBrains公司今天发布了ReSharper最新版本8.1. 本次新版本更新涉及到打印稿.与VS2013集成.代码 ...
- QC邮件转发工具Mail Direct安装配置手册
QC邮件转发工具Mail Direct安装配置手册 2010-06-11 10:00:56| 分类: 软件测试 | 标签: |举报 |字号大中小 订阅 QC邮件转发工具安装配置手册 由于公司没有独立的 ...
- 【Java】jeesite初始配置以及代码生成工具的使用
jeesite简单使用 首先去技术服务与支持.版本区别一览表 - JeeSite 4.x找到源码下载的部分 JeeSite 源码下载:https://gitee.com/thinkgem/jeesit ...
- VisualStudio神级插件Resharper的基本配置和使用技巧大全+Resharper性能优化
所谓工欲善其事,必先利其器.尽管visual studio本身已经非常强大,但优秀的插件仍然可以帮开发者大大提高效率. ReSharper是一款由jetbrain开发的针对C#,VB.NET,ASP. ...
- mybatis实战教程(mybatis in action)之九:mybatis 代码生成工具的使用
mybatis 应用程序,需要大量的配置文件,对于一个成百上千的数据库表来说,完全手工配置,这是一个很恐怖的工作量. 所以mybatis 官方也推出了一个mybatis代码生成工具的jar包. 今天花 ...
- 第二章 Mybatis代码生成工具
1.mybatis-generator作用 1).生成pojo 与 数据库结构对应 2).如果有主键,能匹配主键 3).如果没有主键,可以用其他字段去匹配 4).动态select,update,del ...
- RUF MVC5 Repositories Framework Generator代码生成工具介绍和使用
RUF MVC5 Repositories Framework Generator代码生成工具介绍和使用 功能介绍 这个项目经过了大半年的持续更新到目前的阶段基本稳定 所有源代码都是开源的,在gith ...
随机推荐
- SketchMaster 隐私政策
隐私政策 本应用尊重并保护所有使用服务用户的个人隐私权.为了给您提供更准确.更有个性化的服务,本应用会按照本隐私权政策的规定使用和披露您的个人信息.但本应用将以高度的勤勉.审慎义务对待这些信息.除本隐 ...
- 班级博客客户端Beta阶段发布说明
班级博客客户端Beta阶段发布说明 NewTeam 2017/12/18 项目 博客园班级博客Android客户端 目录 发布方式和发布地址 新功能 修复的缺陷 对运行环境的要求 安装方法 已知的问题 ...
- poj 1035KINA Is Not Abbreviation
题目链接:http://poj.org/problem?id=4054 本题的题意是在下面那部分待检验的单词中找到与之相对应的正确的代词,包含几种情况,一是全部字母相同,二是有一个字母不相同,三是多一 ...
- java爬虫HttpURLConnect获取网页源码
public abstract class HttpsURLConnection extends HttpURLConnection HttpsURLConnection 扩展 HttpURLConn ...
- Golang中的信号处理
信号类型 个平台的信号定义或许有些不同.下面列出了POSIX中定义的信号. Linux 使用34-64信号用作实时系统中. 命令 man 7 signal 提供了官方的信号介绍. 在POSIX.1-1 ...
- 【Cocos游戏实战】功夫小子第七课之游戏主功能场景逻辑功能和暂停功能场景的分析和实现
CSDN的markdown编辑器是吃屎了么! !.什么玩意.!写了一半写不了东西还全没了,搞个毛线! 本节课的视频教程地址是:第七课在此 假设本教程有帮助到您,希望您能点击进去观看一下,并且如今注冊成 ...
- java.lang.IllegalStateException: attempt to re-open an already-closed object
attempt to re-open an already-closed object 字面理解,试图再次打开已经关闭的对象.这是我在操作sqlited的时候出现的错误, 我在一个activity里面 ...
- COCOS学习笔记--关于使用cocostudio打安卓包
我在之前的博客里也写到过,如今cocos引擎提供了一键打包.很方便. 今天正好做个測试,想用引擎的一键打包弄个apk的安卓包.以下就简介一下详细过程和自己的一些理解: 先说一下项目背景,因为我的电脑是 ...
- httpfs安装指南
httpfs安装指南 安装环境 Linux maven3 jdk1.6 本地的maven源(有些依赖的jar包Cloudera已不再维护) 1.下载httfs源代码包 https://github.c ...
- Codeforces Round #271 (Div. 2) F题 Ant colony(线段树)
题目地址:http://codeforces.com/contest/474/problem/F 由题意可知,最后能够留下来的一定是区间最小gcd. 那就转化成了该区间内与区间最小gcd数相等的个数. ...