ZigBrains/README.md

132 lines
5.8 KiB
Markdown
Raw Permalink Normal View History

2023-07-29 12:22:51 +02:00
# ZigBrains
2024-05-13 00:06:53 +02:00
Zig language support for IntelliJ IDEA, CLion, and other JetBrains IDEs.
2024-04-20 00:45:50 +02:00
2024-05-13 00:06:53 +02:00
## Installing
You can either install this plugin from the [JetBrains Marketplace](https://plugins.jetbrains.com/plugin/22456-zigbrains), or from FalsePattern's [website](https://falsepattern.com/zigbrains).
See [the quick setup guide](#quick-setup-guide-for-zig-and-zls) 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:
2024-10-17 11:29:50 +02:00
- `2024.3.*`: https://falsepattern.com/zigbrains/updatePlugins-243.xml
2024-05-28 02:45:55 +02:00
- `2024.2.*`: https://falsepattern.com/zigbrains/updatePlugins-242.xml
2024-05-13 00:06:53 +02:00
- `2024.1.*`: https://falsepattern.com/zigbrains/updatePlugins-241.xml
- `2023.3.*`: https://falsepattern.com/zigbrains/updatePlugins-233.xml
- `2023.2.*`: https://falsepattern.com/zigbrains/updatePlugins-232.xml
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.
2024-04-20 00:45:50 +02:00
2023-08-18 10:53:16 +02:00
## Developer guide
### All platforms
After importing the gradle project, you need to run the `build setup -> generateSources` tasks.
### NixOS
In addition to the generated sources, you also need to run the `build setup -> nixos_jbr` task, otherwise java will
complain about missing files
2023-08-19 21:49:45 +02:00
## Special Thanks
backport: master fix: Local variables now show up in the debugger properly chore: The flattening chore: Remove unnecessary plugin xmls docs: Update module tree chore: Remove flexmark, replace with builtin intellij apis fix: wrong lsp4j package (used IJ shipped lsp4j instead of ours) (cherry picked from commit 49483a9f9c41b16050c50011df47a0acc11288c9) ci: fix deps (cherry picked from commit 1ff8616d264dd4ac02b8b35a04fa6d1d0d0fb5d8) chore: better project path management (cherry picked from commit 0ebbe1cc9bd343eb27ed39cdcf90e7466daff587) ci: Slightly better git version management (cherry picked from commit 6fbf8265741495158d7e356b9e4feffbf7ea3eb5) chore: Optimize imports (cherry picked from commit 92c5e57a031a2646a95b4a322c6ff24e15fe98ad) chore: Require restart unconditionally (cherry picked from commit 9e90502b051ca10586e33cc56370b2e1dd62c964) docs: Update readme (cherry picked from commit 95799c627bc729678a190835c66b8c810f26d11b) docs: Update changelog (cherry picked from commit 45b153f7c4c819f6335cfef5bd9af47d1c4713a9) feat: Better configurability (cherry picked from commit ec5c07c0a1f7a776c63b8a3fb6387628431220cd) fix: Annotator jank breaking diagnostics (cherry picked from commit 85bd68393c9b5530e8a1624f0b6aeb05d0d0be62) chore: move some misplaced xml entires (cherry picked from commit 7b2ad7c3240d6b13e9f68177d46349d3729957d1) feat!: Huge debugging refactor - Debug support for Windows - Debuggable zig build - Debuggable binaries This is a squashed commit so ignore the weird author date (cherry picked from commit 3d0dbb8e369e132ba588ca645b0b56f451ccab31) fix: NPE in go to definition (cherry picked from commit b4539c0aa9d3b8519465874ce915e400d79643b4) fix: Builds on windows again (cherry picked from commit 733f0b26224b7f590e89ac25cef6801453608183) feat: Improved docs, more reliable file sync (cherry picked from commit 23b72086bc9d91399c9d3dbd26a68856b9fc13a8) chore: LanguageServerDefinition remove ancient obsolete logic (cherry picked from commit 8a0c8624463e900621e97267230aad0502592fd6) chore: Move lsp connection logic to lsp-common (cherry picked from commit 3287051e3d77e5900fa37a5fd12802f5689f9cd9) chore: Move ApplicationUtil to common (cherry picked from commit 845af09e2950441402f2944096ec0fdbd032f975) feat!: Colored builds and clickable file path references (cherry picked from commit 66aef224b272cecaad74dd52f3991e4a48ece8ed)
2024-03-04 16:55:25 +01:00
- The [ZigTools](https://github.com/zigtools/) team for developing the Zig Language Server.
2024-06-01 00:07:09 +02:00
2023-08-19 21:49:45 +02:00
- [HTGAzureX1212](https://github.com/HTGAzureX1212) for developing [intellij-zig](https://github.com/intellij-zig/intellij-zig),
2024-06-01 00:07:09 +02:00
which served as a fantastic reference for deep IDE integration features.
2023-08-19 21:49:45 +02:00
backport: master fix: Local variables now show up in the debugger properly chore: The flattening chore: Remove unnecessary plugin xmls docs: Update module tree chore: Remove flexmark, replace with builtin intellij apis fix: wrong lsp4j package (used IJ shipped lsp4j instead of ours) (cherry picked from commit 49483a9f9c41b16050c50011df47a0acc11288c9) ci: fix deps (cherry picked from commit 1ff8616d264dd4ac02b8b35a04fa6d1d0d0fb5d8) chore: better project path management (cherry picked from commit 0ebbe1cc9bd343eb27ed39cdcf90e7466daff587) ci: Slightly better git version management (cherry picked from commit 6fbf8265741495158d7e356b9e4feffbf7ea3eb5) chore: Optimize imports (cherry picked from commit 92c5e57a031a2646a95b4a322c6ff24e15fe98ad) chore: Require restart unconditionally (cherry picked from commit 9e90502b051ca10586e33cc56370b2e1dd62c964) docs: Update readme (cherry picked from commit 95799c627bc729678a190835c66b8c810f26d11b) docs: Update changelog (cherry picked from commit 45b153f7c4c819f6335cfef5bd9af47d1c4713a9) feat: Better configurability (cherry picked from commit ec5c07c0a1f7a776c63b8a3fb6387628431220cd) fix: Annotator jank breaking diagnostics (cherry picked from commit 85bd68393c9b5530e8a1624f0b6aeb05d0d0be62) chore: move some misplaced xml entires (cherry picked from commit 7b2ad7c3240d6b13e9f68177d46349d3729957d1) feat!: Huge debugging refactor - Debug support for Windows - Debuggable zig build - Debuggable binaries This is a squashed commit so ignore the weird author date (cherry picked from commit 3d0dbb8e369e132ba588ca645b0b56f451ccab31) fix: NPE in go to definition (cherry picked from commit b4539c0aa9d3b8519465874ce915e400d79643b4) fix: Builds on windows again (cherry picked from commit 733f0b26224b7f590e89ac25cef6801453608183) feat: Improved docs, more reliable file sync (cherry picked from commit 23b72086bc9d91399c9d3dbd26a68856b9fc13a8) chore: LanguageServerDefinition remove ancient obsolete logic (cherry picked from commit 8a0c8624463e900621e97267230aad0502592fd6) chore: Move lsp connection logic to lsp-common (cherry picked from commit 3287051e3d77e5900fa37a5fd12802f5689f9cd9) chore: Move ApplicationUtil to common (cherry picked from commit 845af09e2950441402f2944096ec0fdbd032f975) feat!: Colored builds and clickable file path references (cherry picked from commit 66aef224b272cecaad74dd52f3991e4a48ece8ed)
2024-03-04 16:55:25 +01:00
- The members of the `Zig Programming Language` discord server's `#tooling-dev` channel for providing encouragement,
feedback, and lots of bug reports.
2023-08-19 21:49:45 +02:00
- The Ballerina Platform developers for `lsp4intellij`, the language server connector between the IntelliJ platform
2024-06-01 00:07:09 +02:00
and the Eclipse LSP4J project.
- The developers of the [intellij-rust](https://github.com/intellij-rust/intellij-rust/) plugin for providing an
excellent example on how to write debugger support that doesn't depend on CLion.
2023-08-19 21:49:45 +02:00
2023-10-04 15:26:06 +02:00
- All the people who have generously funded the project
- gree7
- xceno
- AnErrupTion
2023-10-04 15:26:06 +02:00
- Every contributor who helped with bugfixes and extra features
- [gatesn](https://github.com/gatesn)
- [MarioAriasC](https://github.com/MarioAriasC)
- [JensvandeWiel](https://github.com/JensvandeWiel)
2023-10-04 15:26:06 +02:00
- And everyone who actively reported issues and helped ironing out all the remaining problems
2024-02-01 19:41:25 +01:00
## 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.
2024-06-01 00:07:09 +02:00
As this plugin will constantly be evolving together with the zig language, it makes no sense to keep the 0 prefix,
2024-02-01 19:41:25 +01:00
and might as well utilize the full semver string for extra information.
2023-08-18 10:53:16 +02:00
# Description
2023-07-29 12:22:51 +02:00
<!-- Plugin description -->
2024-04-20 00:45:50 +02:00
Adds support for the Zig Language, utilizing the ZLS language server for advanced coding assistance.
2023-07-29 12:22:51 +02:00
2024-04-20 00:45:50 +02:00
## Quick setup guide for Zig and ZLS
2024-04-20 00:45:50 +02:00
1. Download the latest version of Zig from https://ziglang.org/download
2. Download and compile the ZLS language server, available at https://github.com/zigtools/zls
3. Go to `Settings` -> `Languages & Frameworks` -> `Zig`, and point the `Toolchain Location` and `ZLS path` to the correct places
2023-07-29 12:32:49 +02:00
2024-10-27 16:16:37 +01:00
## Features
- Integration with the Zig Language Server (ZLS)
- Basic syntax highlighting if ZLS is not available
- Run and debug configurations for Zig projects (Debugging has some IDE limitations, and on Windows you need to do some extra setup, see below)
- Direnv support for loading environment variables from `.envrc` files (requires the direnv executable to be installed system-wide)
- Language injection support in Zig strings
## Debugging
2024-06-01 00:07:09 +02:00
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
Additionally, in CLion, the plugin uses the C++ Toolchains for sourcing the debugger (this can be toggled off in the settings).
2024-04-20 00:45:50 +02:00
2024-06-01 00:07:09 +02:00
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.
2024-04-20 00:45:50 +02:00
backport: master fix: Local variables now show up in the debugger properly chore: The flattening chore: Remove unnecessary plugin xmls docs: Update module tree chore: Remove flexmark, replace with builtin intellij apis fix: wrong lsp4j package (used IJ shipped lsp4j instead of ours) (cherry picked from commit 49483a9f9c41b16050c50011df47a0acc11288c9) ci: fix deps (cherry picked from commit 1ff8616d264dd4ac02b8b35a04fa6d1d0d0fb5d8) chore: better project path management (cherry picked from commit 0ebbe1cc9bd343eb27ed39cdcf90e7466daff587) ci: Slightly better git version management (cherry picked from commit 6fbf8265741495158d7e356b9e4feffbf7ea3eb5) chore: Optimize imports (cherry picked from commit 92c5e57a031a2646a95b4a322c6ff24e15fe98ad) chore: Require restart unconditionally (cherry picked from commit 9e90502b051ca10586e33cc56370b2e1dd62c964) docs: Update readme (cherry picked from commit 95799c627bc729678a190835c66b8c810f26d11b) docs: Update changelog (cherry picked from commit 45b153f7c4c819f6335cfef5bd9af47d1c4713a9) feat: Better configurability (cherry picked from commit ec5c07c0a1f7a776c63b8a3fb6387628431220cd) fix: Annotator jank breaking diagnostics (cherry picked from commit 85bd68393c9b5530e8a1624f0b6aeb05d0d0be62) chore: move some misplaced xml entires (cherry picked from commit 7b2ad7c3240d6b13e9f68177d46349d3729957d1) feat!: Huge debugging refactor - Debug support for Windows - Debuggable zig build - Debuggable binaries This is a squashed commit so ignore the weird author date (cherry picked from commit 3d0dbb8e369e132ba588ca645b0b56f451ccab31) fix: NPE in go to definition (cherry picked from commit b4539c0aa9d3b8519465874ce915e400d79643b4) fix: Builds on windows again (cherry picked from commit 733f0b26224b7f590e89ac25cef6801453608183) feat: Improved docs, more reliable file sync (cherry picked from commit 23b72086bc9d91399c9d3dbd26a68856b9fc13a8) chore: LanguageServerDefinition remove ancient obsolete logic (cherry picked from commit 8a0c8624463e900621e97267230aad0502592fd6) chore: Move lsp connection logic to lsp-common (cherry picked from commit 3287051e3d77e5900fa37a5fd12802f5689f9cd9) chore: Move ApplicationUtil to common (cherry picked from commit 845af09e2950441402f2944096ec0fdbd032f975) feat!: Colored builds and clickable file path references (cherry picked from commit 66aef224b272cecaad74dd52f3991e4a48ece8ed)
2024-03-04 16:55:25 +01:00
### Windows
2024-06-01 00:07:09 +02:00
Supported debuggers: `MSVC`
backport: master fix: Local variables now show up in the debugger properly chore: The flattening chore: Remove unnecessary plugin xmls docs: Update module tree chore: Remove flexmark, replace with builtin intellij apis fix: wrong lsp4j package (used IJ shipped lsp4j instead of ours) (cherry picked from commit 49483a9f9c41b16050c50011df47a0acc11288c9) ci: fix deps (cherry picked from commit 1ff8616d264dd4ac02b8b35a04fa6d1d0d0fb5d8) chore: better project path management (cherry picked from commit 0ebbe1cc9bd343eb27ed39cdcf90e7466daff587) ci: Slightly better git version management (cherry picked from commit 6fbf8265741495158d7e356b9e4feffbf7ea3eb5) chore: Optimize imports (cherry picked from commit 92c5e57a031a2646a95b4a322c6ff24e15fe98ad) chore: Require restart unconditionally (cherry picked from commit 9e90502b051ca10586e33cc56370b2e1dd62c964) docs: Update readme (cherry picked from commit 95799c627bc729678a190835c66b8c810f26d11b) docs: Update changelog (cherry picked from commit 45b153f7c4c819f6335cfef5bd9af47d1c4713a9) feat: Better configurability (cherry picked from commit ec5c07c0a1f7a776c63b8a3fb6387628431220cd) fix: Annotator jank breaking diagnostics (cherry picked from commit 85bd68393c9b5530e8a1624f0b6aeb05d0d0be62) chore: move some misplaced xml entires (cherry picked from commit 7b2ad7c3240d6b13e9f68177d46349d3729957d1) feat!: Huge debugging refactor - Debug support for Windows - Debuggable zig build - Debuggable binaries This is a squashed commit so ignore the weird author date (cherry picked from commit 3d0dbb8e369e132ba588ca645b0b56f451ccab31) fix: NPE in go to definition (cherry picked from commit b4539c0aa9d3b8519465874ce915e400d79643b4) fix: Builds on windows again (cherry picked from commit 733f0b26224b7f590e89ac25cef6801453608183) feat: Improved docs, more reliable file sync (cherry picked from commit 23b72086bc9d91399c9d3dbd26a68856b9fc13a8) chore: LanguageServerDefinition remove ancient obsolete logic (cherry picked from commit 8a0c8624463e900621e97267230aad0502592fd6) chore: Move lsp connection logic to lsp-common (cherry picked from commit 3287051e3d77e5900fa37a5fd12802f5689f9cd9) chore: Move ApplicationUtil to common (cherry picked from commit 845af09e2950441402f2944096ec0fdbd032f975) feat!: Colored builds and clickable file path references (cherry picked from commit 66aef224b272cecaad74dd52f3991e4a48ece8ed)
2024-03-04 16:55:25 +01:00
2024-06-01 00:07:09 +02:00
Debugging on Windows requires you to set up the Microsoft debugger.
backport: master fix: Local variables now show up in the debugger properly chore: The flattening chore: Remove unnecessary plugin xmls docs: Update module tree chore: Remove flexmark, replace with builtin intellij apis fix: wrong lsp4j package (used IJ shipped lsp4j instead of ours) (cherry picked from commit 49483a9f9c41b16050c50011df47a0acc11288c9) ci: fix deps (cherry picked from commit 1ff8616d264dd4ac02b8b35a04fa6d1d0d0fb5d8) chore: better project path management (cherry picked from commit 0ebbe1cc9bd343eb27ed39cdcf90e7466daff587) ci: Slightly better git version management (cherry picked from commit 6fbf8265741495158d7e356b9e4feffbf7ea3eb5) chore: Optimize imports (cherry picked from commit 92c5e57a031a2646a95b4a322c6ff24e15fe98ad) chore: Require restart unconditionally (cherry picked from commit 9e90502b051ca10586e33cc56370b2e1dd62c964) docs: Update readme (cherry picked from commit 95799c627bc729678a190835c66b8c810f26d11b) docs: Update changelog (cherry picked from commit 45b153f7c4c819f6335cfef5bd9af47d1c4713a9) feat: Better configurability (cherry picked from commit ec5c07c0a1f7a776c63b8a3fb6387628431220cd) fix: Annotator jank breaking diagnostics (cherry picked from commit 85bd68393c9b5530e8a1624f0b6aeb05d0d0be62) chore: move some misplaced xml entires (cherry picked from commit 7b2ad7c3240d6b13e9f68177d46349d3729957d1) feat!: Huge debugging refactor - Debug support for Windows - Debuggable zig build - Debuggable binaries This is a squashed commit so ignore the weird author date (cherry picked from commit 3d0dbb8e369e132ba588ca645b0b56f451ccab31) fix: NPE in go to definition (cherry picked from commit b4539c0aa9d3b8519465874ce915e400d79643b4) fix: Builds on windows again (cherry picked from commit 733f0b26224b7f590e89ac25cef6801453608183) feat: Improved docs, more reliable file sync (cherry picked from commit 23b72086bc9d91399c9d3dbd26a68856b9fc13a8) chore: LanguageServerDefinition remove ancient obsolete logic (cherry picked from commit 8a0c8624463e900621e97267230aad0502592fd6) chore: Move lsp connection logic to lsp-common (cherry picked from commit 3287051e3d77e5900fa37a5fd12802f5689f9cd9) chore: Move ApplicationUtil to common (cherry picked from commit 845af09e2950441402f2944096ec0fdbd032f975) feat!: Colored builds and clickable file path references (cherry picked from commit 66aef224b272cecaad74dd52f3991e4a48ece8ed)
2024-03-04 16:55:25 +01:00
2024-06-01 00:07:09 +02:00
To do this, go to the following URL and install the MSVC compiler toolset according to step 3 in the prerequisites:
https://code.visualstudio.com/docs/cpp/config-msvc
backport: master fix: Local variables now show up in the debugger properly chore: The flattening chore: Remove unnecessary plugin xmls docs: Update module tree chore: Remove flexmark, replace with builtin intellij apis fix: wrong lsp4j package (used IJ shipped lsp4j instead of ours) (cherry picked from commit 49483a9f9c41b16050c50011df47a0acc11288c9) ci: fix deps (cherry picked from commit 1ff8616d264dd4ac02b8b35a04fa6d1d0d0fb5d8) chore: better project path management (cherry picked from commit 0ebbe1cc9bd343eb27ed39cdcf90e7466daff587) ci: Slightly better git version management (cherry picked from commit 6fbf8265741495158d7e356b9e4feffbf7ea3eb5) chore: Optimize imports (cherry picked from commit 92c5e57a031a2646a95b4a322c6ff24e15fe98ad) chore: Require restart unconditionally (cherry picked from commit 9e90502b051ca10586e33cc56370b2e1dd62c964) docs: Update readme (cherry picked from commit 95799c627bc729678a190835c66b8c810f26d11b) docs: Update changelog (cherry picked from commit 45b153f7c4c819f6335cfef5bd9af47d1c4713a9) feat: Better configurability (cherry picked from commit ec5c07c0a1f7a776c63b8a3fb6387628431220cd) fix: Annotator jank breaking diagnostics (cherry picked from commit 85bd68393c9b5530e8a1624f0b6aeb05d0d0be62) chore: move some misplaced xml entires (cherry picked from commit 7b2ad7c3240d6b13e9f68177d46349d3729957d1) feat!: Huge debugging refactor - Debug support for Windows - Debuggable zig build - Debuggable binaries This is a squashed commit so ignore the weird author date (cherry picked from commit 3d0dbb8e369e132ba588ca645b0b56f451ccab31) fix: NPE in go to definition (cherry picked from commit b4539c0aa9d3b8519465874ce915e400d79643b4) fix: Builds on windows again (cherry picked from commit 733f0b26224b7f590e89ac25cef6801453608183) feat: Improved docs, more reliable file sync (cherry picked from commit 23b72086bc9d91399c9d3dbd26a68856b9fc13a8) chore: LanguageServerDefinition remove ancient obsolete logic (cherry picked from commit 8a0c8624463e900621e97267230aad0502592fd6) chore: Move lsp connection logic to lsp-common (cherry picked from commit 3287051e3d77e5900fa37a5fd12802f5689f9cd9) chore: Move ApplicationUtil to common (cherry picked from commit 845af09e2950441402f2944096ec0fdbd032f975) feat!: Colored builds and clickable file path references (cherry picked from commit 66aef224b272cecaad74dd52f3991e4a48ece8ed)
2024-03-04 16:55:25 +01:00
2024-06-01 00:07:09 +02:00
### Linux
backport: 12.0.0 ci: 12.0.0 (cherry picked from commit 2f80528cb46ee5a13dd5cb960d361c41d62c7e28) (cherry picked from commit 87d7db94410dd30be154e585138498c67c262db8) chore: Isolate C++ toolchain into separate package to fix verifier error (cherry picked from commit c393120bf24c40d5fc5e8ce41dacc560bcb29ae8) chore: Forgot to bump gradle version in properties (cherry picked from commit b8639b0e8dc7d4e8177339d5466d98af9b87c900) fix(zig): Make go to references non-blocking (cherry picked from commit a1cee2b1ea399776f5d4bbf33c2403a9c4bf9b03) feat(zig)!: Go to declaration/usages and go to definition are now separate actions (cherry picked from commit 18e130cc52e78b69dfdd08e5f160e82d3215deb2) fix(zig): Refresh syntax highlighting after running code edits (cherry picked from commit 64eba369d61073f1dd57c999449e9ee7b914bd49) chore: Cleanup dependencies (cherry picked from commit baabbb030dc8ad729f5a1f82c523c1d6da27489b) docs: Extra information about module tree (cherry picked from commit 12ad175f510124353fd9cc6b8994355e44965161) feat(zig)!: Autogenerate zls config if not specified, based on project toolchain (cherry picked from commit 59a56b67646b0253734130a84d8d9d825effe114) feat(debugger): Library frame filter (cherry picked from commit 4e3336add808801097acc792fa3e899b26cbdaee) docs: update changelog (cherry picked from commit 7db1c621288ba1cac25e85b682d981fd8cc2d4b8) feat!: Reimplemented go to declaration/usages to replace the built-in action Also removed mouse handling, no longer needed (cherry picked from commit 6f481ac844f80701f22d9383a3ff228ea3ee440d) feat(debugger): Detect C++ debugger toolchains (cherry picked from commit 6df7cb6dc059c622a0e06ace38558c8b495bd91e) fix(zig): Add proper lang key for notification group (cherry picked from commit b8f64ac0062847279b6c85b00083711900e8f7cf) chore(buildscript): Update gradle and gradle plugins (cherry picked from commit 45ab2d9bb7834be9bc2914f962d3a21bef494fbd) fix(lsp): Force always creating a new DocumentEventManager https://github.com/ballerina-platform/lsp4intellij/commit/34b29ee729c85d59b972313f5480c305785228d8 (cherry picked from commit 59c1f4612d353de3230419d005206dada4900a7f) fix(lsp): unregisterManager method's cleanup https://github.com/ballerina-platform/lsp4intellij/commit/bc9c5ea31c2b0735f3a3620d64b72e58198d24a5 (cherry picked from commit 14a1a9d79f09573d3d7c8cfb27bb008cb63ca38b) chore(lsp): Extract shared logic https://github.com/ballerina-platform/lsp4intellij/commit/75a5fd8919fd253c6bd0a69d7c9b183348b43814 (cherry picked from commit 857a0224897e27968fa03f93b0f9a02bc109f0b0) fix(lsp): Remove duplicated changedConfiguration calls https://github.com/ballerina-platform/lsp4intellij/commit/9b2b0557c93dbdb8cbe2b7a6b09925286a44d663 (cherry picked from commit ceb347d8723130c8ee4097a78fed5f14615805ee) chore(lsp): Small code cleanup https://github.com/ballerina-platform/lsp4intellij/commit/8c1e6736df760f29b3fdd8e372d2e949fd7ba330 (cherry picked from commit 1e1b4aaaeafabfe76abad22cc18aa51629098012) fix(lsp): Code action annotations lose range https://github.com/ballerina-platform/lsp4intellij/commit/00bbd6ff455e5f061acab6ff51b1a755507f2cd1 (cherry picked from commit d920fa37f32549d7d7419fa07e478b94cc8ae8ba) fix(lsp): Request code actions immediately after diagnostics arrive https://github.com/ballerina-platform/lsp4intellij/commit/0fe2cf98fe030a4c268259d5b0b3d372dd10f0c2 (cherry picked from commit 36138213ba878eaf97e9c7f0642b9927672d2e59)
2024-02-29 20:41:56 +01:00
2024-06-01 00:07:09 +02:00
Supported debuggers: `LLDB`, `GDB`
backport: 12.0.0 ci: 12.0.0 (cherry picked from commit 2f80528cb46ee5a13dd5cb960d361c41d62c7e28) (cherry picked from commit 87d7db94410dd30be154e585138498c67c262db8) chore: Isolate C++ toolchain into separate package to fix verifier error (cherry picked from commit c393120bf24c40d5fc5e8ce41dacc560bcb29ae8) chore: Forgot to bump gradle version in properties (cherry picked from commit b8639b0e8dc7d4e8177339d5466d98af9b87c900) fix(zig): Make go to references non-blocking (cherry picked from commit a1cee2b1ea399776f5d4bbf33c2403a9c4bf9b03) feat(zig)!: Go to declaration/usages and go to definition are now separate actions (cherry picked from commit 18e130cc52e78b69dfdd08e5f160e82d3215deb2) fix(zig): Refresh syntax highlighting after running code edits (cherry picked from commit 64eba369d61073f1dd57c999449e9ee7b914bd49) chore: Cleanup dependencies (cherry picked from commit baabbb030dc8ad729f5a1f82c523c1d6da27489b) docs: Extra information about module tree (cherry picked from commit 12ad175f510124353fd9cc6b8994355e44965161) feat(zig)!: Autogenerate zls config if not specified, based on project toolchain (cherry picked from commit 59a56b67646b0253734130a84d8d9d825effe114) feat(debugger): Library frame filter (cherry picked from commit 4e3336add808801097acc792fa3e899b26cbdaee) docs: update changelog (cherry picked from commit 7db1c621288ba1cac25e85b682d981fd8cc2d4b8) feat!: Reimplemented go to declaration/usages to replace the built-in action Also removed mouse handling, no longer needed (cherry picked from commit 6f481ac844f80701f22d9383a3ff228ea3ee440d) feat(debugger): Detect C++ debugger toolchains (cherry picked from commit 6df7cb6dc059c622a0e06ace38558c8b495bd91e) fix(zig): Add proper lang key for notification group (cherry picked from commit b8f64ac0062847279b6c85b00083711900e8f7cf) chore(buildscript): Update gradle and gradle plugins (cherry picked from commit 45ab2d9bb7834be9bc2914f962d3a21bef494fbd) fix(lsp): Force always creating a new DocumentEventManager https://github.com/ballerina-platform/lsp4intellij/commit/34b29ee729c85d59b972313f5480c305785228d8 (cherry picked from commit 59c1f4612d353de3230419d005206dada4900a7f) fix(lsp): unregisterManager method's cleanup https://github.com/ballerina-platform/lsp4intellij/commit/bc9c5ea31c2b0735f3a3620d64b72e58198d24a5 (cherry picked from commit 14a1a9d79f09573d3d7c8cfb27bb008cb63ca38b) chore(lsp): Extract shared logic https://github.com/ballerina-platform/lsp4intellij/commit/75a5fd8919fd253c6bd0a69d7c9b183348b43814 (cherry picked from commit 857a0224897e27968fa03f93b0f9a02bc109f0b0) fix(lsp): Remove duplicated changedConfiguration calls https://github.com/ballerina-platform/lsp4intellij/commit/9b2b0557c93dbdb8cbe2b7a6b09925286a44d663 (cherry picked from commit ceb347d8723130c8ee4097a78fed5f14615805ee) chore(lsp): Small code cleanup https://github.com/ballerina-platform/lsp4intellij/commit/8c1e6736df760f29b3fdd8e372d2e949fd7ba330 (cherry picked from commit 1e1b4aaaeafabfe76abad22cc18aa51629098012) fix(lsp): Code action annotations lose range https://github.com/ballerina-platform/lsp4intellij/commit/00bbd6ff455e5f061acab6ff51b1a755507f2cd1 (cherry picked from commit d920fa37f32549d7d7419fa07e478b94cc8ae8ba) fix(lsp): Request code actions immediately after diagnostics arrive https://github.com/ballerina-platform/lsp4intellij/commit/0fe2cf98fe030a4c268259d5b0b3d372dd10f0c2 (cherry picked from commit 36138213ba878eaf97e9c7f0642b9927672d2e59)
2024-02-29 20:41:56 +01:00
2024-06-01 00:07:09 +02:00
### MacOS
backport: 12.0.0 ci: 12.0.0 (cherry picked from commit 2f80528cb46ee5a13dd5cb960d361c41d62c7e28) (cherry picked from commit 87d7db94410dd30be154e585138498c67c262db8) chore: Isolate C++ toolchain into separate package to fix verifier error (cherry picked from commit c393120bf24c40d5fc5e8ce41dacc560bcb29ae8) chore: Forgot to bump gradle version in properties (cherry picked from commit b8639b0e8dc7d4e8177339d5466d98af9b87c900) fix(zig): Make go to references non-blocking (cherry picked from commit a1cee2b1ea399776f5d4bbf33c2403a9c4bf9b03) feat(zig)!: Go to declaration/usages and go to definition are now separate actions (cherry picked from commit 18e130cc52e78b69dfdd08e5f160e82d3215deb2) fix(zig): Refresh syntax highlighting after running code edits (cherry picked from commit 64eba369d61073f1dd57c999449e9ee7b914bd49) chore: Cleanup dependencies (cherry picked from commit baabbb030dc8ad729f5a1f82c523c1d6da27489b) docs: Extra information about module tree (cherry picked from commit 12ad175f510124353fd9cc6b8994355e44965161) feat(zig)!: Autogenerate zls config if not specified, based on project toolchain (cherry picked from commit 59a56b67646b0253734130a84d8d9d825effe114) feat(debugger): Library frame filter (cherry picked from commit 4e3336add808801097acc792fa3e899b26cbdaee) docs: update changelog (cherry picked from commit 7db1c621288ba1cac25e85b682d981fd8cc2d4b8) feat!: Reimplemented go to declaration/usages to replace the built-in action Also removed mouse handling, no longer needed (cherry picked from commit 6f481ac844f80701f22d9383a3ff228ea3ee440d) feat(debugger): Detect C++ debugger toolchains (cherry picked from commit 6df7cb6dc059c622a0e06ace38558c8b495bd91e) fix(zig): Add proper lang key for notification group (cherry picked from commit b8f64ac0062847279b6c85b00083711900e8f7cf) chore(buildscript): Update gradle and gradle plugins (cherry picked from commit 45ab2d9bb7834be9bc2914f962d3a21bef494fbd) fix(lsp): Force always creating a new DocumentEventManager https://github.com/ballerina-platform/lsp4intellij/commit/34b29ee729c85d59b972313f5480c305785228d8 (cherry picked from commit 59c1f4612d353de3230419d005206dada4900a7f) fix(lsp): unregisterManager method's cleanup https://github.com/ballerina-platform/lsp4intellij/commit/bc9c5ea31c2b0735f3a3620d64b72e58198d24a5 (cherry picked from commit 14a1a9d79f09573d3d7c8cfb27bb008cb63ca38b) chore(lsp): Extract shared logic https://github.com/ballerina-platform/lsp4intellij/commit/75a5fd8919fd253c6bd0a69d7c9b183348b43814 (cherry picked from commit 857a0224897e27968fa03f93b0f9a02bc109f0b0) fix(lsp): Remove duplicated changedConfiguration calls https://github.com/ballerina-platform/lsp4intellij/commit/9b2b0557c93dbdb8cbe2b7a6b09925286a44d663 (cherry picked from commit ceb347d8723130c8ee4097a78fed5f14615805ee) chore(lsp): Small code cleanup https://github.com/ballerina-platform/lsp4intellij/commit/8c1e6736df760f29b3fdd8e372d2e949fd7ba330 (cherry picked from commit 1e1b4aaaeafabfe76abad22cc18aa51629098012) fix(lsp): Code action annotations lose range https://github.com/ballerina-platform/lsp4intellij/commit/00bbd6ff455e5f061acab6ff51b1a755507f2cd1 (cherry picked from commit d920fa37f32549d7d7419fa07e478b94cc8ae8ba) fix(lsp): Request code actions immediately after diagnostics arrive https://github.com/ballerina-platform/lsp4intellij/commit/0fe2cf98fe030a4c268259d5b0b3d372dd10f0c2 (cherry picked from commit 36138213ba878eaf97e9c7f0642b9927672d2e59)
2024-02-29 20:41:56 +01:00
2024-06-01 00:07:09 +02:00
Supported debuggers: `LLDB`
<!-- Plugin description end -->