Giter VIP home page Giter VIP logo

nosql4idea's Introduction

NoSql Plugin for IntelliJ IDEA version 0.1.0-SNAPSHOT

Description

This plugin is a fork from mongo4idea and intends to integrate Redis and Couchbase databases. Please note that the Couchbase integration is experimental because I am not a strong user of this database.

Current status: EAP

Plugin Compatibility

This plugin is built with JDK 1.7 and idea 14.1 version.

The plugin has been tested with the following databases:

  • MongoDB 2.7 and 3.0
  • Redis 2.8.21
  • Couchbase Community 4.0.0

Installation

To install it : Settings > Plugins > Install plugin from Disk

Configuration

On the right, you will see a new tool window named NoSql Explorer

NoSqlBrowser

  • Click on the Wrench Icon from the toolbar and you will be redirected to the Plugin Settings.
  • You can specify the mongo and redis CLI paths at the top of the panel
  • To add a server, click on the [+] button and choose you database vendor

SettingsAddAServer

  • Click on the OK button and enter the settings of your database

MongoSettings

  • When all your dabatase are configured you should see then in the explorer panel

NoSqlBrowserWithServers

Viewing the Redis database content

Double click on the database icon from your redis server and the results will appear as a tab

RedisResults

You can filter the results (Currently, it runs a KEYS <filter> command. A SCAN <filter> will replace it in the future for optimization purpose.)

Like the Properties editor, you can group your data by prefix. Click on the corresponding icon and then click on the Elipsis icon to set you separator

RedisResultsGroupedByPrefix

Viewing the Couchbase database content

Double click on the database icon from your couchbase server and the results will appear as a tab

CouchbaseResults

Important note To get the results from each bucket, an Index must be created. Otherwise an error message is raised.

Roadmap

0.1.0

  • integrate Redis : view results with 'Group by prefix' feature like properties editor
  • integrate Couchbase : view results

0.2.0

  • delete, update and add features for Redis and Couchbase

nosql4idea's People

Contributors

dboissier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nosql4idea's Issues

ClassCastException

I received an IDE fatal error from WebStorm 2016.2 for nosql4idea with the following error when creating a new project. NoSql plugin was active in another project. An exception occurred in NoSql plugin at 4:44 pm yesterday, which happened 9 times since the last clear. I did not disable it as suggested, since it still appears to work when I checked that other project. For example, I can still display MongoDB collections. However, I thought it might be helpful to report this problem to you. I like the plugin, and it’s been quite useful. I have tried it with MongoDB for now, but will probably try Redis and possibly CouchDB later. Thanks for a nice plugin.

Error message:

update failed for AnAction with ID=RunClass: org.codinjutsu.tools.mongo.runner.MongoRunConfiguration cannot be cast to org.codinjutsu.tools.nosql.mongo.runner.MongoRunConfiguration

Details:

java.lang.ClassCastException: org.codinjutsu.tools.mongo.runner.MongoRunConfiguration cannot be cast to org.codinjutsu.tools.nosql.mongo.runner.MongoRunConfiguration
at org.codinjutsu.tools.nosql.mongo.runner.MongoScriptRunConfigurationProducer.createConfigurationByElement(MongoScriptRunConfigurationProducer.java:56)
at com.intellij.execution.junit.RuntimeConfigurationProducer.createProducer(RuntimeConfigurationProducer.java:61)
at com.intellij.execution.actions.PreferredProducerFind.findAllProducers(PreferredProducerFind.java:79)
at com.intellij.execution.actions.PreferredProducerFind.findPreferredProducers(PreferredProducerFind.java:53)
at com.intellij.execution.actions.ConfigurationContext.findPreferredProducers(ConfigurationContext.java:289)
at com.intellij.execution.actions.ConfigurationContext.findExisting(ConfigurationContext.java:188)
at com.intellij.execution.actions.BaseRunConfigurationAction.update(BaseRunConfigurationAction.java:191)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:120)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:188)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:164)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:86)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:280)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:95)
at com.intellij.openapi.editor.impl.EditorImpl.a(EditorImpl.java:7130)
at com.intellij.openapi.editor.impl.EditorImpl.access$12200(EditorImpl.java:125)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.f(EditorImpl.java:5914)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.mousePressed(EditorImpl.java:5835)
at java.awt.Component.processMouseEvent(Component.java:6530)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.h(IdeEventQueue.java:857)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

'CONFIG' call breaks this for hosted Redis instances

When connecting to a Redis instance that is hosted, in this case AWS ElastiCache, the CONFIG command for Redis is disabled with no option to enable it (which is desired default secure behavior and recommended by Redis anyways).

Unfortunately I have not found a workaround to get this plugin to not call CONFIG when attempting to connect, and thus cannot use the plugin for this server.

Not sure why you're calling it to begin with, but hopefully you can shine some light on this.

snapshot uninstallable

I get this error when trying to install the snapshot on pycharm community edition 5.0.2, on Linux, with openjdk 7. What is going wrong ?

Plugin 'NoSql Plugin' is incompatible with this installation

Connect over ssh

I saw you blog post about mongo4idea and I think that will be great to add ability to connect to mongo or other nosql db throw ssh. Is it in plans?

Mongo X509 Authentication missing

Would it be possible to support x509 authentication into mongo? I tried to get this working by tweaking the command line args but couldn't get it working.

Thanks for any and all help!
Jake

Can't view more than 300 items per collection.

As the title says within phpstorm i can connect to the server and show my collection.
But once it reaches 300 items it never shows more while there are more in the database.

How to fix this?

Could help with the development

Hey, I love both IDEA, and mongo. I'd love to write some code for your plugin. Do you have a list of features planned? I can fork, develop and send you a pull request then.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.