Gruntfuggly / todo-tree

Use ripgrep to find TODO tags and display the results in a tree view
Other
1.4k stars 134 forks source link

Request: add support for explicit line break in Tooltip Format #848

Open jolsen-mitsu opened 4 weeks ago

jolsen-mitsu commented 4 weeks ago

It would be nice to be able to use something like \n, ${\n}, ${n}, etc to be able to add an explicit line break to the Tooltip Format, such as: ${after}${\n}${filepath}, line ${line}

I have the TODO Tree in my right side bar, which is narrow, so I only see the beginning of each comment. I wanted to add the after to the tooltip so I can hover on an item and see the full comment. Right now, it all runs together with the filepath and line. Being able to modify the tooltip format and explicitly have the comment and the filepath/line number on separate lines would be very nice.

Thanks