I've just add a new feature. CallStack (name change?)
just install the latest pre-release version
open any basic document and right click => Show TextMate Calling Stack
It'll open up a new view showing you the tree structure of how TextMate tokenized the file
each element is a begin
or match
rule
with the label being name
most things are wip
while
, end
and captures
don't show up correctly
I am yet to implement the Follow Cursor
feature
but the goto feature is mostly working so far
just click the little right arrow on an element and it'll take you to the corresponding rule
what icon should I have for each element?
prob something different for begin/match/end/while/captures etc
for the label
should I use name
, contentname
, comment
, or the captured text?
being in mind that any of them could be blank
more so in different grammars
annoyingly I had to modify the original vscode-textmate code to be able to extract the textmate tree structure
I was thinking of using https://github.com/ds300/patch-package instead of including the entire vscode-textmate repo
does the patch package tool work well on 50k+ character single line files?
currently
many bugs