ReSharper 设置 GoToNextHightlight 首先导航到错误

发布于 2024-12-21 01:13:00 字数 163 浏览 4 评论 0原文

ReSharper 设法在不编译的情况下找到错误,但它们似乎没有比其他亮点具有更高的优先级。当我有一个包含很多警告(例如未知的 css 类)的文件时,我想忽略它,我无法在不查看所有警告的情况下使用 F12(转到下一个突出显示)快捷方式。当然,我可以使用滚动条来解决该错误,但最好使用键盘快捷键。对此有什么建议吗?

ReSharper manages to find the errors without compiling but they don't seem to have higher priority than other hightlights . When I have a file with a lot of warnings (like unknown css class) I want to ignore, I can't use F12(go to next highlight) shortcut without going through all warnings. Of course I can use the scroll bar to go that error but it would be better to use keyboard shortcut. Any suggestions for this this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寄与心 2024-12-28 01:13:00

根据您的键盘映射:

  • 如果使用 R# 键盘映射,请按 ALT + F12
  • 如果使用 VS 键盘映射,请按 SHIFT + ALT + PgDn

这将调用“转到下一个错误”命令,该命令会忽略警告、建议等。

Depending on your keymap:

  • if using the R# keymap, press ALT + F12
  • if using the VS keymap, press SHIFT + ALT + PgDn

This will invoke the "Go to next error" command, which ignores warnings, suggestions, etc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文