neueda / jetbrains-plugin-graph-database-support

Graph Databases support for JetBrains family IDEs.
Apache License 2.0
222 stars 56 forks source link

.cql file not recognised in idea 2012.2 by .cypher works #133

Closed Pushplaybang closed 4 years ago

Pushplaybang commented 5 years ago

Hi There,

I've was fantastically excited to find this plugin. I had this working previously with CQL files, but since upgrading, I constantly get SQL no data source warnings in .cql files. Changing to .cypher works, but I'd prefer not to rename all the files in my older projects.

Anyone else experienced or solved this?

dwitry commented 5 years ago

Hello @Pushplaybang,

Thank you for feedback!

It seems like in newer versions of IntelliJ Idea, bundled "Database Tools and SQL" plugin has higher priority when registering file extensions.

So you could either disable this plugin (lots of other plugins have dependencies on it, not the best option), either reassign *.cql extension for Cypher Query Language file type.

Pushplaybang commented 4 years ago

@dwitry Thank you, this has been driving me mad. IntelliJ truly is a deep and complex beast.