I'm trying to create a function list for my pl/sql source files. I have spc and bdy files (spec and body for packages).
This is what I defined as associations inside functionList.xml
(also tried with a "." before the extension):
<association ext="bdy" id="plsql_func"/> <association ext="spc" id="plsql_func"/>
Now, inside <parsers>
(at the same level as the other parsers):
<parser id="plsql_func" displayName="PLSQL Function Parser" commentExp="--.*$"> <function mainExpr="^[\t ]*FUNCTION[\t ]*[\w]*\(*" displayMode="$functionName"> <functionName> <nameExpr expr="[\w]+\("/> </functionName> </function> </parser>
The regular expression ^[\t ]*FUNCTION[\t ]*[\w]*\(*
matches all the function names when I do a search inside a file (no problem there).
I also tried ".*" as the name parser but still, no luck. The function list pane stays empty.
Am I missing something?
ps:
Example function header:
FUNCTION TEST_FUNCTION(O_error VARCHAR2(300), I_args VARCHAR2(10)) return BOOLEAN IS