bizoo 7 years ago • updated by Oktay Acikalin 7 years ago 1
As requested in this post http://www.sublimetext.com/forum/viewtopic.php?f=6&t=1407&start=0 , I fairly often need to find where symbols are in a source.
Actually get_symbols() only return the symbols defined in "showInSymbolList" (Goto Symbol) and you don't have any option to find something else.

I propose to add a parameter to get_symbols (or create a new function) to specify the symbol(s) to return.

view.get_symbols("source.python meta.function.python") return the list of Regions containing function declaration in a python source.