NetBeans 7.0 Milestone 1 – SQL Editor Save As Feature

While testing the NetBeans 7 Milestone 1 release, I tried out the SQL Save As feature added to the SQL Editor…

As shown in Figure 1, I have a SQL Command window open. I have executed the SQL to view the results and have modified the SQL to have an ORDER BY statement.

nb7-m1-sql-save-as.jpg
Figure 1

The only place I could find to save the SQL Command window content was on the File menu from the main menu. There was nothing on the SQL Command window’s toolbar, or on any right-click context menu. I know the NetBeans team tries to keep toolbars and menus as clean and separated as possible. However, while using several SQL Command windows in the normal flow of work, it can sometimes be nice to have a Save As option either on a context menu when you right-click inside the SQL Command window pane, as shown in Figure 2, or on the SQL Command name tab.

nb7-m1-sql-save-as2.jpg
Figure 2

So far, the feature works as expected. I tried writing longer SQL statements and saving them. The spacing and formatting is correctly maintained when I open the saved file in another text editor. I was also able to re-open previously saved SQL commands using the File >> Open File or File >> Open Recent File menu options.

Now, if NetBeans can get a Save As feature for the SQL Command History, we’ll be all set.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>