PLSD revert code to an earlier version?

zitot

Member²
I looked away from PLSD, then went back to it and my code was slightly different, the change I just made was gone (I had changed one line in the middle). So I go through again and change them all, wondering if i hit C-z or yanked the line by accident

Eventually I scrolled to the bottom of the file and realized one of the blocks of code i wrote was totally gone. Somehow it seems to have reverted to an earlier state.

At first I thought it was because it was already open in notepad++, maybe PLSD saw that and when I alt tabbed, I hit enter on the popup so it reloaded: but after carefully checking my open tabs in both PLSD and NPP, it wasn't open in NPP. This tab was PLSD only. (NPP was just for reference, different files). So I'm now confused and posting here.

I frantically tried C-z and S-C-z but that just caused my text to get garbled for some reason (it was placing characters at some lines on the end of file i think). Idk if it does that normally, I don't usually use Redo.

Is there a hotkey that would cause this to happen by mistake? Or some setting? Could it be because I locked my PC for lunch while PLSD was open and came back and started working on it? Is it a bug?

I'm just a bit perplexed. I'm hoping this was a one-off. Maybe it's Windows fault? IDK.

Using PLSD 15.
 
Last edited:
PL/SQL Developer will always ask for confirmation when it detects changes. Perhaps you inadvertently selected "Yes" when PL/SQL Developer asked to reload?

There is no function key for the "Revert" function. You can only do this by explicitly selecting this function from the popup menu.
 
Back
Top