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.
http://yeoman.io THE WEB'S SCAFFOLDING TOOL FOR MODERN WEBAPPS. NetBeans should support creating a new web project using yeoman. +-----------------------------------------------------------+ | New HTML Project (Yeoman Generator) | +-----------------------------------------------------------| | New Project Select Generator: | | Template Location +----------------------------------+| | *Site Template* | webapp || | JavaScript Files | node || | | angular || | | || | +----------------------------------+| | | | Description: | | +----------------------------------+| | | Yeoman generator that scaffolds || | | out a front-end web app || | +----------------------------------+| | | | [Help] [Back] [Next] [Finish] [Cancel] | ------------------------------------------------------------+
I know there is an option: "Download Online Template", when you create a HTML5 Project. But you only have some templates to download, it would be better, if we can have a search field or whatever, to find templates when you search for a special one, like "ang". That would be great. Voted. Regards Chris
We (HonzaS and me) evaluated it yesterday and we think that there is not much sense in supporting Yeoman in NetBeans since the generator can do whatever it wants and usually uses terminal capabilites _a lot_. Correct me if I am wrong but IMHO WONTFIX.
I wouldn't agree with that because if you say so, we can argue with, git works very well in the console and with other tools too, maven too, subversion too, grunt, npm and bower too. You know what I mean? I would like to have a good GUI support in netbeans, only my opinion. Afaik JetBrains will implement Yeoman in there IDE's too like in intellJ or webstorm or whatever. Regards Chris
(In reply to ChrisLE from comment #3) > I wouldn't agree with that because if you say so, we can argue with, git > works very well in the console and with other tools too, maven too, > subversion too, grunt, npm and bower too. You know what I mean? Not exactly. I was just saying, that the generators (or at least the webapp one) usually uses _capabilities_ of the terminal - how would you support it in NetBeans other way than running it in the built-in terminal as well? How would you navigate among possible choices of the generator?
Sry I don't get it, because for me it's the same as other command line tools with terminal capabilities. You have to react of the returns from the terminal. If I do a merge with git on terminal I got a message oh here went smth wrong, you have to merge manually or revert things. And this does netbeans. They try a pull and after there is an error, we got the message revert, review, cancel. Ok because it's JGit(?) there are some better things to interact with but I don't know. And I don't know how it's possible but I will follow IntelliJ to figure out how they will handle it. And yes the JetBrains team is working on it to integrate it inside intelliJ. Please give me feedback if I'm wrong. Regards Chris
The problem is that Yeoman cannot be run in non-iteractive mode so the only support that is - IMHO - possible to do is the dialog provided in the initial description of this issue. Is it really useful? I am not sure... What will happen if one selects the "webapp" generator and clicks the Finish button? Maybe HonzaB (the owner of this issue) has some plan but IMHO the only possibility is to invoke this command in a _terminal_; this means that user will need to make her/his choices which framework/library/etc. to use in the project - this selection cannot be done in NetBeans other wya than in its terminal. In other words, you cannot say to Yeoman "create new project, use webapp generator and use Bootstrap and angular.js frameworks". I hope it is clear now. Thanks for your comments.
I follow the yeoman plugin on github: https://github.com/GeertjanWielenga/YoNetBeans. It's quite nice, what work atm. But I hope it will developed further because IntelliJ has yeoman support on his roadmap for webstorm too. http://blog.jetbrains.com/webstorm/2015/06/webstorm-11-roadmap-discussion/ So we will see how they will handle it.
Created a ticket how WebStorm did the support: https://github.com/GeertjanWielenga/YoNetBeans/issues/2#issuecomment-159606533. Hope there is some mor support soon for yeoman.
(In reply to Tomas Mysik from comment #6) > The problem is that Yeoman cannot be run in non-iteractive mode so the only > support that is - IMHO - possible to do is the dialog provided in the > initial description of this issue. Is it really useful? I am not sure... > What will happen if one selects the "webapp" generator and clicks the Finish > button? Maybe HonzaB (the owner of this issue) has some plan but IMHO the > only possibility is to invoke this command in a _terminal_; this means that > user will need to make her/his choices which framework/library/etc. to use > in the project - this selection cannot be done in NetBeans other wya than in > its terminal. In other words, you cannot say to Yeoman "create new project, > use webapp generator and use Bootstrap and angular.js frameworks". > > I hope it is clear now. Thanks for your comments. I got your point but now as you can see what happens in WebStorm for example, it is possible with maybe a workaround what WebStorm does. It reads the steps out from the console (Maybe) show controls like checkboxes to do the stuff what you do in the terminal and the rest is other magic, but as you can see it is possible.
Take a look at http://yeoman.io/authoring/integrating-yeoman.html
Thx for the info :)