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.
For someone not familiar with HTML5/JS project structure, it could be difficult to find out how to run NodeJS project and open browser at the same time - it requires to have Site Root but NodeJS project by default has only Sources. It could be useful to have a new "project type" in HTML5/JavaScript category in New Project wizard named (for instance) "Node.js Web Application" . It would be almost the same as "Node.js Application" except of there would be Site Root with index.html. Therefor if user checks Run configuration, he would see option to run browser on project run
Makes sense, OTOH it "complicates" new project wizards a bit so no strong opinion. Tondo, please decide :) Thanks.
Agreed it makes sense for discoverability for some users. We have "Node.js Application", so for the new project template, including the already suggested name above, we could pick some name from: (1) "Node.js Web Application" - nice and short, but "Web" is not used in any of the other project template names in this category and so we might also want to have "HTML5/JS Web Application" instead of "HTML5/JS Application" (2) "Node.js Application with HTML5" - descriptive but confusing? (3) "Node.js Application with Site Root" - too long and looks weird? (4) "HTML5/JS Application with Node.js code" Opinions? I personally like (4), or (1) with adding "Web" also to the "HTML5/JS Application" template name.
Maybe shorter "HTML5/JS Application with Node.js" would be good.
(In reply to Vladimir Riha from comment #3) > Maybe shorter "HTML5/JS Application with Node.js" would be good. Sounds good to me as well, will do it. Thanks,
Done. Two comments: 1. please, check the desciption and let me know if you have a better idea; 2. Run configuration is currently set to Web Application (if we use Node.js Application, then we will have an error since we need an external URL for the browser). Thanks. http://hg.netbeans.org/web-main/rev/7dd96c35247a
Integrated into 'main-silver', will be available in build *201411031403* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7dd96c35247a User: Tomas Mysik <tmysik@netbeans.org> Log: #248303 - Add NodeJS Web Application category to New Project wizard
Verified, thank you. Product Version: NetBeans IDE Dev (Build 201411060002) Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)