+7
API: Enhance view.get_symbols() to return arbitrary symbol list
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.
Example:
view.get_symbols("source.python meta.function.python") return the list of Regions containing function declaration in a python 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.
Example:
view.get_symbols("source.python meta.function.python") return the list of Regions containing function declaration in a python source.
+2
Oktay Acikalin 14 lat temu
Starting to need that too :).
Customer support service by UserEcho