typedb-osi / typeql-plugin-jetbrains

TypeQL plugin for JetBrains
MIT License
10 stars 6 forks source link

TypeQL Plugin for JetBrains

Basic support for the TypeQL language on JetBrains-based IDEs.

Installation

This plugin is published on the JetBrains Plugin Repository:

Preferences → Plugins → Browse Repositories → Search for "TypeQL"

From Source

Clone this repository:

$ git clone https://github.com/typedb-osi/typeql-plugin-jetbrains
$ cd typeql-plugin-jetbrains

Build the plugin zip file:

$ ./gradlew buildPlugin

Install the plugin from ./build/distributions/typeql-plugin-jetbrains-*.zip:

Preferences → Plugins → Install plugin from disk

Development

Execute an IntelliJ IDEA instance with the plugin you're developing installed:

$ ./gradlew runIde

Run the tests:

$ ./gradlew test

Supported features

Temporarily disabled features

Syntax highlighting and colouring

JetBrains Color Scheme-based syntax highlighting automatically works out of the box. However, it is possible to import TypeDB-specific color schemes used in TypeDB Studio by downloading the needed color scheme files from the corresponding resource directory and importing it in the IDE via Preferences → Editor → Color Scheme → Import Scheme.

Information

For more information about how this plugin works and how to add additional functionality please see: