Neo4j/CQL files confused with SQL
已回答
I have a project that has many Neo4j cypher query language (CQL) files. Intellij has them marked as SQL files and does not offer a CQL dialect, so it's throwing tens of thousands of errors.
I'm running 2019.3 and have installed the Graph Database Support plugin which should recognize them as CQL, but it's not.
https://plugins.jetbrains.com/plugin/8087-graph-database-support
I've tried uninstalling/reinstalling the plugin to no avail.
Ideally, I could get the plugin to work, but barring that, how might I at least tell Intellij it's wrong, these are not SQL files? I only see an option to change the SQL dialect, but none will work for this.
请先登录再写评论。
Found the answer in a closed question on the plugin site - Intellij overrides the plugin for file associations.
https://github.com/neueda/jetbrains-plugin-graph-database-support/issues/133
https://www.jetbrains.com/help/idea/creating-and-registering-file-types.html#change-extension