Skip to content
This repository has been 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

Open
marklnz opened this issue Feb 11, 2019 · 0 comments
Open

Comments

@marklnz
Copy link

marklnz commented Feb 11, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant