有没有办法让Resharper 4.5理解多行TODO或NOTE?
有没有办法让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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,看起来你做不到。即使 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.