Bug report - code hints

ScottMattes

Member³
Not sure what it is called, but if I am not logged on and trying to type PL/SQL code in a SQL Window and I type something like

proc_name(

as soon as I type the '(' I get an 'ORA-01012: not logged on' msg.

Possible clue, I was in the main section of an anonymous block and typing the name of a proc that I intended to write in the block, but hadn't yet. Still, I just tried it after defining the proc in the block and got the same msg.
 
I get that when I'm not logged on and the code assistant is turned on. It kind of makes sense after thinking about it since it needs to know what's available on the database to assist on some things.

So...I turn it off when I'm not logged on and everything's fine again.
 
The code assistant does not attempt to resolve this when you are not logged on. Were you logged on when this happened?
 
Maybe the status of the connection should be checked before puttting out the msg and if PLSD 'thinks' its connected the msg could read differently to make it plain that there is a problem.
 
Back
Top