Plugin provides Cypher language support for IntelliJ IDE.
It will use files with .cyp
extension.
Also Cypher language can be injected in any string (i.e. in Java).
Manual:
- Navigate to releases page.
- Pick most recent release.
- Download
Cypher.zip
file. - Go to your Intellij IDE preferences
Plugins
->Install plugin from disk...
. - Select downloaded plugin.
- Restart IDE.
- Using keyword or function name, as variable will break lexer.
- Error description is not really usable (internal naming).
Gradle is used as build system.
Run Idea to test plugin: gradle runIdea
Cypher grammar is located here - src/main/java/com/neueda4j/intellij/plugin/cypher/lexer/Cypher.bnf
After grammar change:
- Generate parser code for grammar
- Generate jFlex
.lexer
for grammar - Generate lexer code from
.lexer