ReSharper 的单元测试运行器有快捷键吗? [英] Are there shortcut keys for ReSharper's Unit Test Runner?

查看:20
本文介绍了ReSharper 的单元测试运行器有快捷键吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于明显的生产力原因,我努力学习和使用各种 Re# 命令的键盘快捷键.

For obvious productivity reasons, I make an effort of learning and using as many of the keyboard shortcuts for the various Re# commands.

但是,单元测试运行器似乎没有任何关联的快捷键.我希望能够选择某些测试并能够运行或调试它们,而无需每次都使用鼠标.使用鼠标是我唯一的选择吗?

However, it seems that the unit test runner does not have any associated shortcut keys. I want to be able to select certain tests and be able to run or debug them without resorting to grabbing the mouse each time. Is using the mouse my only option?

推荐答案

ReSharper 将项目添加到 Visual Studio 的键盘设置对话框.

ReSharper adds items to Visual Studio's keyboard settings dialog box.

转到:

工具 -> 选项,环境 ->键盘

Tools -> Options, Environment -> Keyboard

在搜索栏中,输入resharper"并查看您可以使用键盘控制的大量选项.

In the search bar, type "resharper" and see the vast options that you can control with the keyboard.

具体来说,有一个启动单元测试资源管理器窗口,还有一对叫

Specifically, there is one to launch the unit test explorer window, and there's a couple called

  • ReSharper.ReSharper_UnitTest_RunSolution
  • ReSharper.ReSharper_UnitTest_RunContext

这可能是您需要的.

这篇关于ReSharper 的单元测试运行器有快捷键吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆