File Extension detection

Patrick Wolf

Member²
Hi,

in the Preferences in the Files\Extensions section I have set

Function=sql
Procedures=sql
Package spec=pks
SQL Scripts\Default=sql

If I drag and drop a *.pks into the PL/SQL Developer, everything is fine because it's opend in a Program Window. If I drag and drop a *.sql file into PL/SQL Developer it's always opened as SQL Window, independent if it contains a CREATE OR REPLACE PROCEDURE/FUNCTION.

Is it possible that PL/SQL Developer checks the beginning of the file content and opens the correct window type?

Thanks
Patrick
 
This is currently not possible, it merely relies on the extension. I have added this to the list of enhancement requests.
 
Back
Top