I have it set up in R so that block comments get captured as symbols. Much easier navigating when they appear in the ⌘⇧-T box!
e.g. here: http://d.pr/i/VmQ6
It’s just this content
{ showInSymbolList = 1; symbolTransformation = 's/(^# =+ *)(.*)([ =]+$)/#: $2/;'; }
In a SETTING item called "Symbol List: Block comments” which I gave scope
comment.line.number-sign.block.r
Do it with:
On 5 Dec 2013, at 10:35 AM, Ross Ahmed rossahmed@googlemail.com wrote: In a .R file, I have a bunch of headers like this:
# this is a header -----------------------------------------------------------
How can I get these headers to show in symbol list and fold? I’ve tried changing the foldingStartMarker/foldingStopMarker line without success, and I cannot find the showInSymbolList line in the R language grammar.