Skip to content

A way to disable multi-line TODOs in type=text #98

Description

@MarcellPerger1

It would be nice to be able to have only the line containing the TODO highlighted (in type=text-style) and not the comments afterwards.

For example, I would want only line 1 to be highlighted here:

Image

There might be a way of doing this via the subtags but if there is, I can't seem to figure it out (I must admit I don't really understand those fully).


My configuration:

{
  ...
  "better-todo-tree.highlights.useColourScheme": false,
  "better-todo-tree.highlights.defaultHighlight": {
    "fontWeight": "bold",
    "foreground": "#fad220",
    "type": "text"
  },
}

(Well, for me the most-ideal thing would be to have it continue the TODO if the indentation inside the comment is more than in the original TODO comment and not having a continuation if the indentation level of the next line is same-or-less - just like in many Jetbrains IDEs. But I understand if you don't want to implement something quite specific for just one user)

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