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

1

5

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?

Merchant answered 28/12, 2009 at 15:54 Comment(1)
Possible duplicate of How to get multiline TODO's in Resharper 8Dixon
L
4

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.

Lockman answered 15/1, 2010 at 15:54 Comment(1)
You can do this with an altered regex as described here.Syck

© 2022 - 2024 — McMap. All rights reserved.