this release contains some cool stuff :
- Collection content UI was rewritten:
- it is now displayed as a file tab editor (more convenient than the previous version)
- Single query panel manages both simple and aggregate
- You can add new document
- You can run a js script on your mongo server (CTRL+MAJ+F10)
- Replica set configuration is supported
- bugs fixes
Enjoy it :),
David
Last edit : due to some refactoring when coding replica set support in the configuration, server url is unset when updating the plugin. You will have to set it again. Sorry for the inconvenience.
Unfortunately, after I install it every time I try to create a run configuration for Mongo it gives me a IllegalArgumentException.
ReplyDeleteDetails: setSelectedIndex: 0 out of bounds
java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds
at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:622)
at org.codinjutsu.tools.mongo.runner.MongoRunConfigurationEditor.(MongoRunConfigurationEditor.java:96)
at org.codinjutsu.tools.mongo.runner.MongoRunConfiguration.getConfigurationEditor(MongoRunConfiguration.java:63)
at com.intellij.execution.impl.ConfigurationSettingsEditor.(ConfigurationSettingsEditor.java:166)
at com.intellij.execution.impl.ConfigurationSettingsEditorWrapper.(ConfigurationSettingsEditorWrapper.java:59)
at com.intellij.execution.impl.SingleConfigurationConfigurable.(SingleConfigurationConfigurable.java:63)
at com.intellij.execution.impl.SingleConfigurationConfigurable.editSettings(SingleConfigurationConfigurable.java:97)
at com.intellij.execution.impl.RunConfigurable.a(RunConfigurable.java:1053)
at com.intellij.execution.impl.RunConfigurable.b(RunConfigurable.java:1087)
at com.intellij.execution.impl.RunConfigurable.access$2500(RunConfigurable.java:75)
at com.intellij.execution.impl.RunConfigurable$MyToolbarAddAction$2.onChosen(RunConfigurable.java:1161)
at com.intellij.execution.impl.RunConfigurable$MyToolbarAddAction$2.onChosen(RunConfigurable.java:1122)
at com.intellij.ui.popup.list.ListPopupImpl.a(ListPopupImpl.java:365)
at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:325)
at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseReleased(ListPopupImpl.java:455)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at com.intellij.ui.popup.list.ListPopupImpl$MyList.processMouseEvent(ListPopupImpl.java:510)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:573)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
...
Same for me. Even with 0.6.1
DeleteI was able to figure out how to make the pieces work, though I don't know what to do with a run configuration. Unfortunately, you still have to run mongod in a terminal somewhere. I've written about what I figured out here:
Deletehttp://blog.albertlee.al/using-mongo-plugin-with-webstorm/
I was able to figure out how to make the pieces work, though I don't know what to do with a run configuration. Unfortunately, you still have to run mongod in a terminal somewhere. I've written about what I figured out here:
Deletehttp://blog.albertlee.al/using-mongo-plugin-with-webstorm/
Hello,
ReplyDeleteGreat plugin. Thanks. Any chance editing document can be enabled? right now if I want to edit a collection, the edit righ-hand menu option is greyed out. Thanks.