This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Sql syntax highlighting should be available even if all other database service are disabled. It should not depend on them. Currently, sql syntax highlighting works even if the database connection has not been setup. However, the SQL editor splits the window, reserving most of it for "results", I guess. This is very inconvinient for people who do not need/want to use built-in database exlporer, etc. but still want SQL syntax highlighting. Thanks
The editor module does not prohibit the functionality that you request. The only problem is IMHO to implement a sql editor as a separate module so that it can be used without the rest of the database functionality being installed. Passing to db module for further evaluation.
Could be solved by initially only displaying the editor panel in the SQL editor window. Therefore when you open an SQL editor for the first time there would be no split bar and no result area. When you execute the statement for the first time, the split bar would appear and the window would be splitted as it is now. Not sure this is good UI, passing to HIE for evaluation.
*** Issue 66345 has been marked as a duplicate of this issue. ***
*** Issue 67303 has been marked as a duplicate of this issue. ***
Based on our offline discussion with Andrei, I support his proposal: the "results" window it is not shown by default, it is shown after executing the sql statement only.
Fixed. Checking in src/org/netbeans/modules/db/sql/loader/SQLEditorSupport.java; /cvs/db/core/src/org/netbeans/modules/db/sql/loader/SQLEditorSupport.java,v <-- SQLEditorSupport.java new revision: 1.7; previous revision: 1.6 done
VERIFIED