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.
Missing SQL template in New file wizard.
It's not PHP specific, looking at some other project types (J2SE, Java EE), I'm not able to find new SQL file as well. Petr, David, do you know whether is it a bug? Or intentional? Thanks for your comments.
I have noticed this as well, during one presentation:). There is missing a SQL template in the ide. When there will be such template, then it can be registered for the php project and other projects as well. David, please provide a simple sql template. I think that using general template wizard will be ok for this reason.
This is not intentional, it's just a missing feature. I would like to get this fixed in this release. I just noticed it myself when we implemented the Save As feature for SQL consoles. For now the workaround is to choose Execute Command... on a connection in the DB explorer, and then do File->Save As.
Is this considered a defect or a feature?
> For now the workaround is to choose Execute Command... on a connection in the DB explorer, > and then do File->Save As. Or just New file -> Other -> Empty file (and name it <name>.sql). BTW I would say it's a bug, but no need to fix it in 7.0M1, 7.0M2 is fine.
We lived with this state for many years, but is not intuitive. We have a template for almost every kind of file. So to be consistent, there should be a template for SQL as well.
Changes attached- since I have to wait to for the branch
Created attachment 75055 [details] diffs
New SQL template is working in my local repository, but commit-validation is failing. I need to fix some things in my layer file
b3f151c61e4d and 8fbabb539977
Integrated into 'main-golden', will be available in build *200812221122* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b3f151c61e4d User: John Baker <jbaker@netbeans.org> Log: #155276 Missing SQL template in New file wizard