apex-tmLanguage icon indicating copy to clipboard operation
apex-tmLanguage copied to clipboard

Support for Code Tags

Open mnunezdm opened this issue 7 years ago • 1 comments

Details

Code Tags (TODO, FIXME...) are currently not implemented in the apex language... I'm used to putting them in my comments, so I would like to have them implemented in apex.

(Will try to implement this by myself :D)

Repro

I have seen that in other projects (like VSCode Python) they have this implemented like this

https://github.com/Microsoft/vscode/blob/6fe700e6a8a0bc344174b678d33310cce1c7d1dd/extensions/python/syntaxes/MagicPython.tmLanguage.json#L1925-L1932

Which results in something like this

screen shot 2018-11-04 at 19 01 57

mnunezdm avatar Nov 04 '18 18:11 mnunezdm

@mnunezdm If you're using VSCode, as a stop gap, you can always use an extension like TODO Highlight, which takes care of this for you (albeit in standard inline comments, rather than #). I've found the extension to be very helpful, however, and it is fully configurable, so you don't have to worry about what's in the language's grammar.

And, of course, it does support Apex:

image

no-stack-dub-sack avatar Apr 17 '19 22:04 no-stack-dub-sack