Reloading file after execution of external tool

jlathion

Member²
Hi,

I am currently developing some external tools to work with SVN using Tortoise directly from PL/SQL Developer (I know that there are some plug-ins but we don't want to use it). One of the tools will simply get the lock on SVN on the file opened in editor (and by this operation, removing the read-only on the file). My concern is that the file is currently being opened in read-only and when I click on the lock tool, the file remains opened as read only in PL/SQL Developer.

Is there any way I can use to automatically refresh the state of the file in PL/SQL Developer so that the developer can edit the file without having to close it and open it again ?

Thanks in advance
 
Is the timestamp of the file changed after unlocking it? If so, this should be picked up automatically.
 
In that case the file will indeed not refresh. We'll enhance this to verify the read-only attribute as well.
 
Thank you Marco. In the meantime, is there any way to "force" PL/SQL developer to automatically close and re-open the file ?
 
Thank you for the reply T-Gergely.

However, I would like to avoid having to create/use plug-ins if possible. I simply want to know whether there is a simple way to "force" reloading of a file from the IDE or not (maybe a button I can add in the toolbar to simply refresh it via a macro or something else).
 
Ok, for now I simulated a modification in the file and removed it afterwards making the modification date to change and PL/SQL Developer to prompt for reloading the file properly.

Solution is not ideal but it is acceptable waiting on a solution that will also check Read-Only flag.

Thanks to all for your answers and suggestions
 
Back
Top