[402] ToDo Browser

The ToDo highlights items in the xml comments, such as:

/// ]]>
/// A supplier's record of a customer. Note that this may be linked to
a user who

Is this the desired behaviour? If so, could there be an option to turn it
off for items inside xml comments?

Thanks

Sean


5 comments
Comment actions Permalink

Hello sean,

Sometimes you (or other people) will want to write
/// /// TODO: write description of type Foo /// And it would be strange, if ReSharper will skip this just because in other cases it generates false positives. The problem, actually, is that patterns are not as good as they should be. We tried to accomodate to many styles people use for to-do items, and thus they are more generic and generates false positives at times. If you are always using tag at start of comment and it is always following by colon, you may want to update your to-do patterns. If you need assistance in writing RegEx, do not hesitate to ask. Sincerely, Ilya Ryzhenkov JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!" sk> The ToDo highlights items in the xml comments, such as: sk> sk> ///

sk> /// A supplier's record of a customer. Note that this may be sk> linked to sk> a user who sk> Is this the desired behaviour? If so, could there be an option to sk> turn it off for items inside xml comments? sk> sk> Thanks sk> sk> Sean sk>]]>


0
Comment actions Permalink

If you are always using tag at start of
comment
and it is always following by colon, you may want to update your to-do
patterns.
If you need assistance in writing RegEx, do not hesitate to ask.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


Could we use regular expressions not just to recognize the task tag but also
to transform it into a URL in the Task browser? Let's say I have a task like
// WORKITEM 555, where we have a bug tracking web app (FogBugz) that can
be accessed by substituting the item ticket number into the URL. Could the
task browser then jumpt to such a URL?


0
Comment actions Permalink

Hello,

We appreciate your feedback.

The corresponding JIRA request has been created, and you are welcome to monitor
its status at http://www.jetbrains.net/jira/browse/RSRP-37565.

Best regards,
- Development Team.


0
Comment actions Permalink

Thank again Ilya, I will modify the regex accordingly (I may take you up
on your offer of help as regex is not my strong point :)

Regards

Sean


0
Comment actions Permalink

Hello Ilya

If I remember correctly, you plan to allow us to choose to ignore suggestions
from context actions at specific locations in 3.0. Could the same be applied
to the items in the ToDo Explorer. This way, we would be able to ignore
specific items inthe solution without changing the regex. I have just opened
a Global.asax file in a web solution and noticed that there is a generated
comment which contains "// Note: The Session_End event is raised only when
the sessionstate mode".

Cheers

Sean

Hello sean,

Sometimes you (or other people) will want to write
/// <summary>
/// TODO: write description of type Foo
/// </summary>
And it would be strange, if ReSharper will skip this just because in
other
cases it generates false positives. The problem, actually, is that
patterns
are not as good as they should be. We tried to accomodate to many
styles
people use for to-do items, and thus they are more generic and
generates
false positives at times. If you are always using tag at start of
comment
and it is always following by colon, you may want to update your to-do
patterns.
If you need assistance in writing RegEx, do not hesitate to ask.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

sk>> The ToDo highlights items in the xml comments, such as:
sk>>
sk>> /// sk>> /// A supplier's record of a customer. Note that this may be sk>> linked to sk>> a user who sk>> Is this the desired behaviour? If so, could there be an option to sk>> turn it off for items inside xml comments? sk>> Thanks sk>> sk>> Sean sk>>]]>


0

Please sign in to leave a comment.