Sails.js plugin


I have make a plugin to support Sails.js (NodeJS framework). Here is the link of it :
It's allow user to create a Sails project with autocompletion and create Sails file under "New" group. But some users report me there no Sails option in new project popup and they have this error in intelliJ log :

ERROR - ctionSystem.DefaultActionGroup - Null child action in group New () of class class com.intellij.openapi.actionSystem.DefaultActionGroup, id=sails.generate_more
at com.intellij.openapi.diagnostic.Logger.error(
ERROR - ctionSystem.DefaultActionGroup - Can't unstub Sails item (Generate new Item)
at com.intellij.openapi.diagnostic.Logger.error(
at com.intellij.openapi.actionSystem.DefaultActionGroup.getChildren(
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$5.compute(

And here is my plugin.xml action :

    <action id="sails.generate_more" text="Sails item"
            description="Generate new Item" keymap="cmd">
        <add-to-group group-id="NewGroup" anchor="first"/>
        <keyboard-shortcut keymap="$default" first-keystroke="shift control alt G"/>

And all code is here :
All it's working for me I can create Sails project and have new sails file in menu, I don't understand what is wrong.


Comment actions Permalink

Sorry for the late reply. For some reason, ActionManager.getAction returns null for your action id. The best way to find out why is to put a breakpoint in com.intellij.openapi.actionSystem.DefaultActionGroup#unStub and see what happens there.

Comment actions Permalink

Did you ever get to the bottom of this? I have the exact same issue...

Comment actions Permalink

hola me ayudarian si alguien sabe como agrupar y ordenar lo agrupado en sails




Please sign in to leave a comment.