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.
This is a very low priority issue. It's a while I'm noticing that the SQL editor tabs counter keeps increasing when I open new ones but it never decreases when tabs are closed. Even closing all the SQL Editor tabs and then closing NetBeans doesn't reset the counter. In example, I open NetBeans then I open an SQL editor tab, the tab is now named "SQL Command 13". I close the tab and then restart NetBeans, then I open a new SQL editor tab it will be named "SQL Command 14". Previously the counter was reset when NetBeans was closed. Regards, Paolo.
A command "SQL Command 13" is still kept on disk (and should be reopened - issue 201239), that's the reason why counter are not reset.