Skip to content

q/k4 language (kx.com) plugin for JetBrains IDEs

License

Notifications You must be signed in to change notification settings

a2ndrade/q-intellij-plugin

Repository files navigation

q-intellij-plugin · License: MIT cloud build status

q/k4 language (kx.com) plugin for IntelliJ IDEA. For k3 support, see k3-intellij-plugin

Features

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
  • Remote code evaluation
  • Remote function/global definition
  • Custom authentication to remote Q instances

Installation

  1. Go to Preferences -> Plugins
  2. Click on Browse Repositories... and select the Languages category
  3. Look for the q plugin and click Install

Contributing

Getting Set Up

  1. Make sure the Grammar-Kit and PsiViewer plugins are installed
  2. Create a fork of this repository and clone it locally
  3. Open the repository in IntelliJ via the "Open" option on the splash page
  4. Open the Gradle tool window (View -> Tool Windows -> Gradle) and click on "Refresh all Gradle Projects"
  5. From the command line, run ./gradlew compileJava compileTestJava
  6. Build the project (Build -> Build Project)

Submitting Changes

  1. Import and use the project codestyle (Editor -> Code Style -> Scheme -> Import...)
  2. Push your work to a branch in your fork
  3. Open a Pull Request and tag me (@a2ndrade)