Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

agatti/kaitai-intellij

Repository files navigation

Kaitai Struct support plugin for IntelliJ

This plugin adds basic support for editing Kaitai Struct files in IntelliJ IDEA and other JetBrains' IDEs. The earliest supported version of the IDEs set is 2021.1.

What is there

  • File type recognition
  • Schema validation
  • Imports autocompletion
  • Basic types autocompletion

What is not there

Pretty much everything else:

  • JSON Schema support for valid keys
  • Imports path validation
  • Full autocompletion support
  • Rename refactoring
  • etc.

FAQ

How do I run this?

Right now the plugin is simply not complete enough to be put on the JetBrains plugin market, so for now unless you plan to test this or work on it, just hold on until things are ready. That said, once you can successfully build the plugin using the instructions in the appropriate section, executing the runIde Gradle task should do the trick.

If that's good enough for you, you can run gradle buildPlugin in the plugin's root directory, and a file called build/libs/Kaitai-1.0-SNAPSHOT.jar should have been created if everything went right. You can then manually install the plugin by pointing the IDE to that file when importing external plugins.

Licences and copyright

  • Both the IDE filetype icon and the plugin's own icon come from a traced version of Kaitai's logo.
  • The included JSON schema is an updated version of the one found in Kaitai's own schema repository, which is not up to date with what the structure compiler is able to parse.

A copy of the Apache 2.0 licence is available in the repository as LICENCE.txt.

Where it applies: Copyright 2022 Alessandro Gatti - frob.it

About

Kaitai Struct plugin for IntelliJ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published