Single line TODO comments do not color the TODO tag with the style defined in the BetterComments configuration for task comments.
A Multiline formatted comment that is closed on the same line ( e.g. / TODO: some comment /) also behaves the way a single line comment does, in that the TODO tag is not colored.
Multiline comments which span more than one line do style the TODO tag however.
Steps to recreate
With BetterComments installed, paste the following into a C# code file:
// TODO: A single line comment
/* TODO: A Multiline comment on one line */
/* TODO: A Multiline comment
*/
Current behavior
Tag coloring is inconsistent between comments which span multiple lines and those which do not. Here is an example, from VS 2017 Professional.
Expected behavior
The task tag text (TODO) should be consistently styled regardless of whether the comment spans more than one line.
Installed product versions
Description
Single line TODO comments do not color the TODO tag with the style defined in the BetterComments configuration for task comments. A Multiline formatted comment that is closed on the same line ( e.g. / TODO: some comment /) also behaves the way a single line comment does, in that the TODO tag is not colored. Multiline comments which span more than one line do style the TODO tag however.
Steps to recreate
With BetterComments installed, paste the following into a C# code file:
Current behavior
Tag coloring is inconsistent between comments which span multiple lines and those which do not. Here is an example, from VS 2017 Professional.
Expected behavior
The task tag text (TODO) should be consistently styled regardless of whether the comment spans more than one line.