Highlighting a Range of Text

Can anyone tell me if it is possible to highlight a range of text in the editor?

For example, in the TODO extension I am building, I would like to be able to highlight the keywords “TODO” and “FIXME”.

Thanks!

Currently no, there’s no way for an extension to add highlighting annotations to the editor, but this is something we’re considering in the future.

1 Like