You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
YARD supports multiline comments for tags as long as the following lines are indented but atom-language-ruby does not extend syntax highlighting beyond the line. Namely, I expect the text on the second line to be green.
I am interested in implementing this but am looking for some guidance.
I tried naively to extend the yard_name_types pattern to match multiple lines, like this. But as y’all more experienced syntax highlighters already know, you can’t use multiline patterns.
I think the begin and end keys are promising, but while I can figure that maybe the begin pattern would be something like # @(attr|etc.), there’s no natural end key. How do you match “the lack of a comment line with two more spaces of indentation than this one” precisely enough?
Any ideas? Am I totally off base here? Is there a better dev workflow for language grammars than painstakingly restarting Atom after every change?