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?
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.
来源:https://stackoverflow.com/questions/1970103/is-there-a-way-to-make-resharper-4-5-understand-a-multi-line-todo-or-note