Skip to content
This repository was archived by the owner on Sep 29, 2022. It is now read-only.
This repository was archived by the owner on Sep 29, 2022. It is now read-only.

Single line task comment tags are not styled, whereas multiline ones are #28

@marklnz

Description

@marklnz

Installed product versions

  • Visual Studio: 2017 Professional, v15.9.6
  • This extension: 2.3.61

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:

// 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.

image

Expected behavior

The task tag text (TODO) should be consistently styled regardless of whether the comment spans more than one line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions