q/k4 language (kx.com) plugin for IntelliJ IDEA. For k3 support, see k3-intellij-plugin
This plugin supports q/k4 syntax. Features include:
- Syntax highlighting
- Navigate to declaration
- Code completion
- Find usages
- Rename refactoring
- File structure
- Go to symbol
- Color settings
- Code folding
- Go to
Preferences
->Plugins
- Click on
Browse Repositories...
and select theLanguages
category - Look for the
q
plugin and clickInstall
- Configure an IntelliJ Platform SDK following these instructions.
- Make sure the
Grammar-Kit
andPsiViewer
plugins are installed. - Clone this repository.
- Open it as an IntelliJ IDEA project.
- Open
src/main/resources/com/appian/intellij/k/k.flex
file and generate the lexer code (*) - Open
src/main/resources/com/appian/intellij/k/k.bnf
file and generate the parser code (*) - Build the project. Make sure the project is configured to use the IntelliJ Platform SDK configured in step 1.
(*) either from a context menu or using the keyboard shortcut ⇧⌘G