Code assistent: For Loop variable

Patrick Wolf

Member²
Hi,

it seems that the code assistant doesn't recognize FOR LOOP variables.

eg.

Code:
FOR rTest IN (SELECT 1 AS A, 2 AS B FROM DUAL)
LOOP
    DBMS_Output.put_line('test: '||rTest.A);
END LOOP;
1) When I write the DBMS_Output statement and enter rT autocomple doesn't show rTest.
2) If you click afterwards on rTest it doesn't highlight all occurences of rTest as it normally does for other variables.
3) Refactor item also doesn't work

Regards
Patrick
 
it seems that the code assistant doesn't recognize FOR LOOP variables.
Works okay for me. Which PL/SQL Developer version are you using?
1) When I write the DBMS_Output statement and enter rT autocomple doesn't show rTest.
2) If you click afterwards on rTest it doesn't highlight all occurences of rTest as it normally does for other variables.
3) Refactor item also doesn't work
For implicit variables these functions do indeed not work. I have added this to the list of enhancement requests.
 
What does exactly work for you?
The Code Assistant works okay when describing the rTest variable. I see now that this is not what you were inquiring about, just the 3 issues you mentioned.
 
Back
Top