PLSQL Developer should be able to determine a window type from the file type. This fails at least in the following scenario:
1. Go to File > Open.
2. Select e.g. Program Window
3. In "Open File" dialog, select *.* (all files) and select .pls, .sql and .tst file(s).
4. Click open.
Current behavior: PLSQL opens all files in Program Windows disregarding the file type. That causes errors depending on file type and specific content.
Expectation: Either do not let PLSQL Developer open files, that do not match with the window type. Or make opening different files agnostic to the selected window type and open different file types in their respective window type (at least if the relation file type - windwo type is unique).
Even though it can not clearly considered a bug, I think that's an issue, as PLSQL Developer seems to be too strictly tied to the selected windwo type and/or doesn't do requiered file type checks. But me personally I would prefer a more smart file opening mechnaism.
1. Go to File > Open.
2. Select e.g. Program Window
3. In "Open File" dialog, select *.* (all files) and select .pls, .sql and .tst file(s).
4. Click open.
Current behavior: PLSQL opens all files in Program Windows disregarding the file type. That causes errors depending on file type and specific content.
Expectation: Either do not let PLSQL Developer open files, that do not match with the window type. Or make opening different files agnostic to the selected window type and open different file types in their respective window type (at least if the relation file type - windwo type is unique).
Even though it can not clearly considered a bug, I think that's an issue, as PLSQL Developer seems to be too strictly tied to the selected windwo type and/or doesn't do requiered file type checks. But me personally I would prefer a more smart file opening mechnaism.