Code assistant: parameters of local procedures/functions

Patrick Wolf

Member²
Hi,

it seems that the code assistant doesn't support parameter completion for functions/procedure which are just defined in the package body.

If I add the procedure to the spec, the parameters are immediatly shown.

I'm doing something wrong?

Patrick
 
Only public functions/procedures can be described (by the Oracle Server), and this causes the restriction. You are not the first to ask though, so it's on the to-do list.
 
Hi Marco,

do you really just use the dictionary views for all code complete actions? The background of my question is that the code completion for the local procedure/function name works just fine and the "compiler" also knows about the parameters which are not in use.

Don't you have to parse the package body for [global] variables, [global] constants, ... anyway?

Regards
Patrick
 
The Code Assistant sometimes uses the dictionary, and sometimes the current source. Parameter lists are not always from the current source though, so it uses the dictionary. Maybe we can enhance this and try the current source as well.
 
Back
Top