If yes, how ?
If not, is there a workaround to get similar functionality ?
EDIT:
What I mean is something like this :
// TODO line1
// line2
// line3
and line1, line2, line3 belong to the same TODO
and get highlighted with blue.
If yes, how ?
If not, is there a workaround to get similar functionality ?
EDIT:
What I mean is something like this :
// TODO line1
// line2
// line3
and line1, line2, line3 belong to the same TODO
and get highlighted with blue.
Building on NonGrate's answer:
Go to settings, search for TODO settings, and replace the existing todo entry "\btodo\b.*" with:
Result:
You must use */ to close the highlight.
It uses 2 patterns:
Any other combinations may not work.
Note: You have to replace the existing regex to avoid having multiple instances of the same todo item appearing in the todo list.
In my settings I'm using such a regex for multiline TODO:
The only problem is that it doesn't highlight last */ symbols of multiline comment. If anyone can solve that, it would be great!
This is supported since 2018.3.
No, not for now.This feature has been discussed, but not yet implemented.
EDIT/UPDATE:
It is implemented in 2018.3 version.
You can use FIXME and TODO using tabs as follows
For more information please refer to the documentation
This regex works for me:
It basically looks for the following:
Single-line examples:
Multi-line examples: