Our sources for PL/SQL objects are ‘enhanced’ with some additional stuff, like logging the compile and registering the object for purposes of environment management.
So, I usually compile by runnig the entire script, using F5.
Now when the compile succeeds, the cursor will remain in place.
When an error is detected, the cursor will move to the beginning of the block containing the error.
Not too practical when that block is a hefty package body…
Is it possible to position the cursor either at the first detected error or at the original location (assuming that the last edit is likely to be close to the error)