Editing a package which compiles successfully, right click on variable in declaration section of a procedure and select "Refactoring", "Rename Local Variable". IDE is issuing false positive message.
You hover the mouse over a variable in a procedure declaration block and a tooltip popup appears:
"VARIABLE L_ITEM IN PACKAGE BODY PK_DEMOPKG OWNER:DEV"
Next , right-click on variable and select Refactor, Rename Local Variable . . .
A popup message box appears: " l_item appears to not be a local variable "
I have to resort to the error prone technique of Control+R (Rename all); or the time consuming one by one so I do not rename partially some other variable. When the procedure is very large this can be time consuming.
This is easily reproducible!