neueda / jetbrains-plugin-graph-database-support

Graph Databases support for JetBrains family IDEs.
Apache License 2.0
223 stars 57 forks source link

Choose data source #176

Open EricLepicier opened 4 years ago

EricLepicier commented 4 years ago

Hi,

I'm working with a single database, and still I have to choose the data source when executing a query.

It would be nice to have it chosen automatically (as it is the only one), or better to be able to check a database as beeing the default one in the Graph Database panel or in the database configuration panel.

Cheers, Eric

humblepie commented 3 years ago

@EricLepicier, to get around this behavior, I open a cypher editor using the Graph Database panel. I double click on a configured data source to open an editor using that specified data source and work with Neo4j that way. Executing queries in this editor always uses the data source. When I get my queries the way I want them I copy them over to my desired .cypher file.

Please provide a way to "permanently" choose a data source when working with a .cypher file to avoid the continual prompts for a data source.

EricLepicier commented 3 years ago

@humblepie Thanks for the tip! And this editor seems to be persisted, at least the prompt is no longer there when setting queries up. +1 on your idea to be able to associate a cypher file to a data source.