Files
zeekay 60b107ad42 Rebrand Cap'n Proto branding to ZAP (conservative)
User-facing identity → ZAP / zap, while staying wire- and
library-compatible with Cap'n Proto.

- plugin.xml: id org.zapproto.intellij, name ZAP, ZAP vendor/description;
  language id Capnp→Zap (matches CapnpLanguage), fileType display name
  Zap file (matches getName); add .zap extension while keeping .capnp
  associated for back-compat; action texts → ZAP.
- CapnpLanguage/CapnpFileType/CapnpColorSettingsPage: language id, file
  type display name/description, default extension (.zap), color settings
  page title + demo text → ZAP.
- README / build.gradle group / settings.gradle / .iml → ZAP project
  identity (sercapnp.iml renamed to zap-intellij.iml).

Preserved: com.sercapnp.* Java package + Capnp* class names and the
implementationClass/class/flex targetClass identifiers the build depends
on; the .capnp extension; and Cap'n Proto attribution (capnproto.org).
2026-06-19 14:54:56 -07:00

1.0 KiB
Raw Permalink Blame History

zap-intellij

Docs: ZAP for IntelliJ · part of the ZAP Protocol

ZAP schema language support for IntelliJ-based IDEs.

About

ZAP is a fork of Cap'n Proto and stays wire- and library-compatible with it. This plugin adds editor support for ZAP schema files (.zap, and .capnp for back-compat).

What is Cap'n Proto?

Cap’n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster. In fact, in benchmarks, Cap’n Proto is INFINITY TIMES faster than Protocol Buffers. https://capnproto.org/

Syntax Highlighting

alt text alt text

Generating IDs

From tools menu -> Generate ZAP ID or Ctrl+Alt+A then G

Building

The plugin can be built using Gradle.

./gradlew buildPlugin

The plugin JAR can then be found in build/libs/zap-intellij-VERSION.jar.