有没有办法让Resharper 4.5理解多行TODO或NOTE?

发布于 2024-08-16 13:04:59 字数 374 浏览 7 评论 0原文

有没有办法让Resharper 4.5理解多行TODO或NOTE?

例如,这将在 TODO 资源管理器中显示为两个项目:

    // NOTE: Because of the external dependency, this method is particularly bug-prone.
    // NOTE: Once we've adopted automated testing, we could get some nice testing for this stuff using a repository to mock an actual account.

是否有一种方法可以使其显示为单个项目,而无需将其写在很长的一行上?

Is there a way to make Resharper 4.5 understand a multi-line TODO or NOTE?

For example, this will show up as two items in the TODO explorer:

    // NOTE: Because of the external dependency, this method is particularly bug-prone.
    // NOTE: Once we've adopted automated testing, we could get some nice testing for this stuff using a repository to mock an actual account.

Is there a way to make it show up as a single item without writing it on one really long line?

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

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

发布评论

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

评论(1

动听の歌 2024-08-23 13:05:00

不幸的是,看起来你做不到。即使 ReSharper 5 beta 也没有按照您想要的方式对多行 TODO 或注释注释进行颜色编码。

我建议您向 JetBrains 提交增强请求

Unfortunately, it does not look like you can. Even the ReSharper 5 beta does not color code multi-line TODO or NOTE comments the way you would want.

I suggest that you open an enhancement ticket with JetBrains.

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