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.

Bug 254425 - Help for Express.js arguments
Summary: Help for Express.js arguments
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Node.js (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-17 10:31 UTC by Geertjan Wielenga
Modified: 2015-08-17 10:39 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geertjan Wielenga 2015-08-17 10:31:31 UTC
Read the comments at the end of this blog entry: https://blogs.oracle.com/geertjan/entry/youtube_create_a_node_js

"Is there a way to specify the default template engine to use ejs instead of jade i.e. express -e ejs."

The user was unable to see in the Options window that "-e ejs" can be added to the express.cmd. Maybe simply change the description or write below the field something like "Express application generator arguments such as '-e ejs' can be appended."
Comment 1 Tomas Mysik 2015-08-17 10:39:31 UTC
Two notes:

(1) CLI parameters can be added to most of the CLI tools in IDE Options (at least to all PHP and HTML5 ones ;)
(2) EJS is not supported by NetBeans (only Jade is; if more templates are supported in the future, they will be added to the new project wizard)

Based on the above, I am not sure we should implement this enhancement. IMHO it would be best to provide this information/hint somewhere "globally".

Thanks.