Sublime Forum

Add new symbols to index

#1

Hallo,
I have a Groovy DSL that looks like this:

DEFINITION_A {
       DEFINITION_B
       DEFINITION_C
}

and in another file:

CODE: SELECT ALL
DEFINITION_B {
     ....
}
DEFINITION_C {
     ....
}

I want to be able to navigate to all definitions by typing ctrl-r. I have read that I could define or extend the groovy syntax file and specify a scope and a pattern for my symbols. Is that the the right way and if yes, where are the syntax files located that are shipped with sublime and how can I extend them. Thank you for any help

0 Likes

#2

This should help:

0 Likes