A collection of tools to make developing grammars (TextMate and Tree-sitter) easier in Atom.
Some notes:
a|bc
would report the scopes for b
.
ab|c
and abc|
report the scope of c
. This behaviour can be toggled in settings.let foo = "b|ar"
the text in the immediate scope is bar
(and same for proper scope). However, for let foo =| "bar"
the immediate text is
(the space between =
and "
), but the proper scope is the entire text (because the scope of
is source.js
).Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.