简体   繁体   English

在Resharper中更改NUnit Test Runner中链接的颜色

[英]Change color of links in NUnit Test Runner in Resharper

I prefer to use the dark theme in Visual Studio, but one source of annoyance is the links in Resharper's nUnit Test Runner. 我更喜欢在Visual Studio中使用黑暗主题,但令人烦恼的一个原因是Resharper的nUnit Test Runner中的链接。 I've looked everywhere, but I can't seem to find the option to change to get them to display properly. 我到处寻找,但我似乎无法找到更改以使其正确显示的选项。

Specifically, this the Unit Test Session window, the Output tab, when you have a stack trace and it has a link on it, it currently appears in the default dark blue, which is fine on a white/grey background...however on the black background, it looks horrible and is near impossible to read. 具体来说,这是单元测试会话窗口,输出选项卡,当你有一个堆栈跟踪并且它上面有一个链接时,它当前显示为默认的深蓝色,这在白色/灰色背景上很好...但是在黑色的背景,看起来很可怕,几乎无法阅读。

Does anyone know the option to change the color of that link? 有谁知道改变该链接颜色的选项?

There are three settings relevant to stack trace hyperlinks. 有三个与堆栈跟踪超链接相关的设置。 Resharper hyperlinks the type, method and physical path on disk. Resharper超链接磁盘上的类型,方法和物理路径。 The relevant settings under Tools -> Options -> Environment -> Fonts and Colours are: Tools - > Options - > Environment - > Fonts and Colours下的相关设置是:

  • Type hyperlink - Stack Trace Type 键入超链接 - Stack Trace Type
  • Method hyperlink - Stack Trace Method 方法超链接 - Stack Trace Method
  • Physical path hyperlink - Stack Trace Path 物理路径超链接 - Stack Trace Path

堆栈跟踪的Visual Studio颜色选项

Edit: Resharper Ultimate 2016.2 seems to have renamed these to include "Resharper" prefix: 编辑:Resharper Ultimate 2016.2似乎已将这些重命名为包含“Resharper”前缀:

堆栈跟踪的Visual Studio颜色选项(Reshaper 2016.2)

Have you tried changing the ReSharper Hyperlink colour under Visual Studio-> Options... -> Environment -> Fonts and Colors ? 您是否尝试在Visual Studio-> Options... - > Environment - > Fonts and Colors下更改ReSharper Hyperlink Fonts and Colors

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 NUnit首先在Resharper测试运行器中使用Entity Framework测试非常慢 - NUnit first test very slow with Entity Framework in Resharper test runner Resharper Unit Test Runner明显慢于NUnit控制台 - Resharper Unit Test Runner significantly slower than NUnit console ReSharper和NUNIT的NUnit运行器编译失败错误 - NUnit runner compilation failed error with ReSharper and NUNIT ReSharper的NUnit运行器编译失败错误 - NUnit runner compilation failed error with ReSharper Specflow Resharper测试运行器导航到功能文件 - Specflow Resharper test runner navigate to feature file 是否可以使用ReSharper作为测试跑步者? - Is it possible to use ReSharper as a test runner ONLY? 如何使用NUnit和ReSharper忽略整个单元测试项目 - How to ignore entire unit test project using NUnit and ReSharper Resharper测试运行程序在“全部运行”中找不到连接字符串 - Resharper test runner can't find connection string on Run All Visual Studio 2017 - 测试运行器 - 调试选定的测试 - NUnit - 不工作 - Visual Studio 2017 - Test Runner - Debug Selected Tests - NUnit - Not Working 在Visual Studio Test Runner中从外部测试套件程序集运行NUnit测试 - Running NUnit tests from external test suite assembly in Visual Studio Test Runner
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM