Resharper(查找并)立即修复所有问题 [英] Resharper (Find and) fix all issues at once

查看:160
本文介绍了Resharper(查找并)立即修复所有问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如 alt输入->上下文菜单->查找所有冗余名称限定符"问题-> 但是现在在新窗口中列出了我项目中的所有这些问题,有没有办法解决所有这些问题? (而不是一个个地去做)

ta.

解决方案

现在,您必须逐一解决这些问题. 有一个现有请求可以将检查结果"工具窗口中选择的所有类似问题批量应用修复程序./p>

代码清除确实可以在任何给定范围内批量删除某些问题,但是与ReSharper能够检测到的代码问题数量相比,它可以应用的修复程序数量非常有限.

e.g. alt enter -> context menu -> Find all 'Redundant name qualifier' issues -> but now in the new window that lists all those issues in my project, is there a way to fix them all ? (rather than go through them individualy)

ta.

解决方案

For now, you have to go through the issues individually. There's an existing request to batch-apply fixes to all similar issues selected in the "Inspection Results" tool window.

Code Cleanup does batch-remove certain issues in any given scope but it's quite limited in the number of fixes it can apply, compared to the number of code issues that ReSharper is able to detect.

这篇关于Resharper(查找并)立即修复所有问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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