1
0
Fork
You've already forked zigbrains
0
The zig language plugin for intellij
  • Kotlin 95.3%
  • Lex 2.6%
  • Zig 1.5%
  • Shell 0.4%
  • HTML 0.2%
Find a file
2026年05月17日 16:04:40 +02:00
.github chore: fix FUNDING.yml 2024年11月07日 17:57:49 +01:00
.idea/copyright chore: fix inconsistent license headers 2026年01月11日 22:59:15 +01:00
cidr feat: remove MSVC debugger support 2026年04月02日 22:30:52 +02:00
clion feat: Make project modular 2026年02月01日 16:39:55 +01:00
core chore: remove stray space indents in tab-indented builder.zig 2026年04月18日 18:29:19 +02:00
gradle/wrapper build: update gradle 2026年04月02日 21:16:00 +02:00
lang build: update intellij platform plugin, switch to new grammarkit 2026年04月02日 22:19:41 +02:00
licenses toolchain+lsp management feature complete! 2025年04月11日 16:47:01 +02:00
lsp chore: misc coroutine fixes 2026年02月25日 20:52:56 +01:00
src chore: re-add depends for intellij platform and lsp4ij 2026年02月01日 17:27:30 +01:00
.gitattributes here we goooooooOOOOOO 2024年10月28日 02:05:12 +01:00
.gitignore chore: add .zig_cache to gitignore 2025年11月02日 22:36:24 +01:00
build.gradle.kts build: update intellij platform plugin, switch to new grammarkit 2026年04月02日 22:19:41 +02:00
build.sh build: typo fix 2026年02月01日 17:07:15 +01:00
CHANGELOG.md ci: 30.0.1 2026年04月18日 18:43:19 +02:00
gradle.properties ci: 30.0.1 2026年04月18日 18:43:19 +02:00
gradlew build: update gradle 2026年04月02日 21:16:00 +02:00
gradlew.bat build: Update gradle and plugins 2025年10月25日 17:07:35 +02:00
LICENSE chore: fix inconsistent license headers 2026年01月11日 22:59:15 +01:00
push.sh build: set up publishing for 253 and 261 releases 2026年02月01日 16:43:51 +01:00
README.md docs: update readme 2026年05月17日 16:04:40 +02:00
settings.gradle.kts feat: Make project modular 2026年02月01日 16:39:55 +01:00

ZigBrains

Zig language support for IntelliJ IDEA, CLion, and other JetBrains IDEs. Now written in Kotlin!

Installing

You can either install this plugin from the JetBrains Marketplace, or from FalsePattern's website.

See the quick setup guide for how to set up language server integration.

Note: marketplace updates are usually delayed by a few days from the actual release, so if you want to always have the latest builds of ZigBrains, you can set up your IDE to download signed releases directly from FalsePattern's website through the built-in plugin browser:

  1. Go to Settings -> Plugins
  2. To the right of the Installed button at the top, click on the ... dropdown menu, then select Manage Plugin Repositories...
  3. Click the add button, and then enter the ZigBrains updater URL, based on your IDE version:
  4. Click OK, and your IDE should now automatically detect the latest version (both in the Installed tab and in the Marketplace tab), even if it's not yet verified on the official JetBrains marketplace yet.

Versioning scheme

To reduce confusion and to better utilize semver, the plugin uses the following versioning scheme:

X - Major version, incremented any time a relatively large features is added or removed Y - Minor version, incremented for smaller features or large refactors that don't change user-perceived behaviour Z - Patch version, incremented only when a fix is purely an internal change and doesn't exceed an arbitrary threshold of complexity (determined at the discretion of FalsePattern)

Note: before version 11, the version scheme used was 0.X.Y, without separate patch versions. As this plugin will constantly be evolving together with the zig language, it makes no sense to keep the 0 prefix, and might as well utilize the full semver string for extra information.

Changelog

The changelog file follows https://common-changelog.org/

Strict No LLM / No AI Policy

No LLMs for issues.

No LLMs for patches / pull requests.

No LLMs for comments on the bug tracker, including translation.

English is encouraged, but not required. You are welcome to post in your native language and rely on others to have their own translation tools of choice to interpret your words.

Credits

Supporters

Contributors

Additional Thanks

  • The ZigTools team for developing the Zig Language Server.

  • HTGAzureX1212 for developing intellij-zig, which served as a fantastic reference for deep IDE integration features.

  • The members of the Zig Programming Language discord server's #tooling-dev channel for providing encouragement, feedback, and lots of bug reports.

  • The developers of LSP4IJ for providing a really good LSP backend

  • The developers of the intellij-rust plugin for providing an excellent example on how to write debugger support that doesn't depend on CLion.

  • And everyone who actively reported issues and helped ironing out all the remaining problems

Description

Adds support for the Zig Language, utilizing the ZLS language server for advanced coding assistance.

Before you can properly use the plugin, you need to select or download the Zig toolchain and language server in Settings -> Languages & Frameworks -> Zig.

Debugging

Debugger settings are available in the Settings | Build, Execution, Deployment | Debugger menu, under the Zig section.

IDE Compatibility

Debugging Zig code is supported in any native debugging capable IDE. The following have been verified to work so far:

  • CLion
  • IntelliJ IDEA Ultimate
  • RustRover (including the non-commercial free version too)
  • GoLand
  • PyCharm Professional
  • Android Studio

Additionally, in CLion, the plugin uses the C++ Toolchains for sourcing the debugger (this can be toggled off in the settings).

The open-source Community edition IDEs don't have the native debugging code as it's a proprietary module, so you cannot debug zig code with them. You can still use those IDEs to develop code and use everything else the plugin has to offer.

Windows

Supported debuggers: LLDB, GDB

Linux

Supported debuggers: LLDB, GDB

MacOS

Supported debuggers: LLDB