Double Click file opens PL/SQL Developer 15 - but not the file

mobailey

Member²
Using latest version 15.0.1.2051:

Double clicking, say, a .SQL or .PDC file in Windows 10 File Explorer, when PL/SQL Developer not yet started:

- new instance of PL/SQL Developer starts up - great
- Logon to database
- PL/SQL Developer starts up, but empty - no file loaded.
- double-clicking the file in Explorer again - file is then loaded in the same PL/SQL Developer, and everything OK after this.

Please let me know if there is workaround for this, or if a fix is expected. Apologies (and thanks) if this is already fixed in the latest beta.

Many thanks,

-mobailey
 
As a workaround you can do the following:

  • Start regedit.exe
  • Go to HKEY_CURRENT_USER\Software\Classes\PL/SQL Developer 15\Shell\Open\Command
  • Double-click on (default)
  • Add "%1" to the command. For example:
    C:\Program Files\PLSQL Developer 15\plsqldev.exe /dde "%1"
 
From latest release notes:

August 5, 2022 - Version 15.0.2 released

...
• Starting PL/SQL Developer by double-clicking a source file did not always open the file
Go to Preferences > Files > Extensions > Register file types to apply this change

I'm pleased to say that this is now working correctly in version 15.0.2. I needed to re-register the flle types, as the release notes suggested. But after this, double clicking on - say - an SQL file will now open up PL/SQL Developer (or reuse existing session) with the file opened correctly.

Perfect, many thanks Marco.

-mobailey
 
Back
Top