Sails.js plugin

Hi,

I have make a plugin to support Sails.js (NodeJS framework). Here is the link of it : https://plugins.jetbrains.com/plugin/7739?pr=
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
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:115)
ERROR - ctionSystem.DefaultActionGroup - Can't unstub Sails item (Generate new Item)
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:115)
at com.intellij.openapi.actionSystem.DefaultActionGroup.getChildren(DefaultActionGroup.java:314)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$5.compute(ActionManagerImpl.java:1310)


And here is my plugin.xml action :

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

And all code is here : https://github.com/jaumard/intellij-sails-ide
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.

Thanks

3 comments
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.

0
Comment actions Permalink

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

0
Comment actions Permalink

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

 

 

0

Please sign in to leave a comment.