2023-07-31 15:02:10 +02:00
<!--
Changelog structure reference:
< <
## [Version]
### Type
#### Category
>>
"Type" is one of [Added, Changed, Deprecated, Removed, Fixed, Security]
"Category" should be something that can be quickly recognized by readers ("Highlighting", "Code Completion", "Folding", etc.)
"Type" ALWAYS follows the order in the list above
-->
2023-07-29 12:22:51 +02:00
# ZigBrains
2024-07-25 00:44:37 +02:00
## [Unreleased]
2024-07-26 16:44:00 +02:00
### Fixed
- Zig
- Standard library override always auto-enabling
2024-07-26 16:45:32 +02:00
- Better toolchain autodetect
2024-07-26 16:44:00 +02:00
2024-07-26 16:45:40 +02:00
- ZLS
- Better language server autodetect
2024-07-25 23:19:50 +02:00
## [16.1.0]
2024-07-25 01:03:35 +02:00
### Added
- Zon
2024-07-25 22:49:04 +02:00
- Support for .lazy dependency property
2024-07-25 01:03:35 +02:00
- Comment/uncomment hotkey support
2024-07-25 22:49:04 +02:00
### Fixed
- Zon
- More reliable autocomplete
2024-07-19 20:22:38 +02:00
## [16.0.0]
2023-07-29 12:22:51 +02:00
2024-07-04 18:07:31 +02:00
### Fixed
2024-07-18 10:40:10 +02:00
- Debugger
- Added fallback metadata for windows debugger downloading
2024-07-18 10:52:48 +02:00
- Automatic exe path discovery for zig build run debugging on windows
2024-07-18 10:40:10 +02:00
2024-07-04 18:07:31 +02:00
- Zig
- Color settings has more accurate color preview text.
2024-07-17 22:36:58 +02:00
- Better builtin indentation
2024-07-04 18:07:31 +02:00
2024-06-22 21:30:01 +02:00
### Changed
- LSP
2024-07-04 16:28:51 +02:00
- Migrated to Red Hat's LSP4IJ LSP adapter.
2024-06-22 21:30:01 +02:00
2024-06-13 19:14:56 +02:00
## [15.2.0]
2024-06-13 19:14:41 +02:00
### Added
- Project
- Modifying the standard library path now also applies to ZLS
2024-06-06 13:16:00 +02:00
## [15.1.1]
2024-06-06 13:15:27 +02:00
### Fixed
- Project
- PTY emulation is now opt-in in run configurations
2024-06-03 22:02:40 +02:00
## [15.1.0]
2024-06-03 22:02:09 +02:00
### Added
- Project
- PTY emulation for non-debug runs. Fixes colored output in Ziglings.
2024-06-03 18:50:34 +02:00
## [15.0.3]
2024-06-03 18:48:55 +02:00
### Fixed
- Zig
- More autocomplete fixes
2024-06-02 21:15:52 +02:00
## [15.0.2]
2024-06-02 19:54:39 +02:00
### Fixed
- Zig
- Autocomplete not working when the caret is placed right after a "("
2024-06-01 21:14:37 +02:00
## [15.0.1]
2024-06-01 21:13:51 +02:00
### Fixed
- Zig
- Trailing commas in struct initializers showed an error
2024-05-31 23:13:21 +02:00
## [15.0.0]
### Changed
2024-05-31 23:11:56 +02:00
- Debugging
- Major update, debugging on linux now works outside CLion (confirmed working in RustRover, IDEA Ultimate)
- Windows debugging has been made much more streamlined, user doesn't need to download random files manually anymore
(except the visual studio debugging sdk of course)
- debugging support on macOS with LLDB
2024-05-28 20:31:58 +02:00
- Project
- Updated new project templates to the latest Zig 0.13.0 init files
2024-05-28 20:27:02 +02:00
### Fixed
- Zig
- Fixed inconsistent caret indenting for switches and function parameters
2024-05-28 20:31:07 +02:00
- More robust highlighting when auto-formatting
2024-05-30 19:16:18 +02:00
- Fixed multiple grammar errors
2024-05-28 20:27:02 +02:00
2024-05-28 20:28:00 +02:00
### Removed
- LSP
- Notification spam about ZLS missing in non-zig projects
2024-05-28 02:42:36 +02:00
## [14.4.0]
2024-05-28 02:29:28 +02:00
### Fixed
- Zig
- Fixed indentation to be more consistent with zig fmt
2024-05-28 02:39:49 +02:00
- Code completion now works correctly on the first line in a file too
2024-05-28 02:29:28 +02:00
2024-05-15 18:14:00 +02:00
## [14.3.0]
2024-05-15 18:07:19 +02:00
### Added
- Project
- Extra compiler arguments field for zig test/run tasks
2024-05-13 21:00:00 +02:00
### Fixed
- Debugging
- The debugger no longer freezes the IDE while zig is compiling
2024-05-15 17:58:33 +02:00
- Project
- Exe args for zig run not visible in the GUI
2024-05-13 00:05:49 +02:00
## [14.2.0]
2024-05-12 04:27:40 +02:00
### Added
- Zig
- External Libraries support for zig stdlib
2024-05-12 23:54:49 +02:00
### Fixed
- Debugging (Windows)
- Variables sometimes don't show up in the variable inspector when in breakpoint state
2024-05-11 15:20:08 +02:00
## [14.1.0]
2024-05-11 15:01:17 +02:00
### Fixed
2024-05-11 15:04:51 +02:00
- Debugging
- Huge rework for starting the various debugging runs, and more robust compilation error visualization instead of a tiny
popup
2024-05-11 15:01:17 +02:00
- LSP
- No more notification popup about zig env not being detected when not in a zig projects.
- Project
- ZLS should now be detected more reliably when creating new projects
2024-04-27 15:16:59 +02:00
## [14.0.1]
2024-04-27 15:15:48 +02:00
### Fixed
- Zig
- If statements without a block always showed an error
2024-04-20 00:19:28 +02:00
## [14.0.0]
2024-04-19 23:06:19 +02:00
### Added
2024-04-19 23:08:27 +02:00
- LSP
- The status widget now auto-hides itself when the selected editor is not a zig file in the current window
2024-04-19 23:06:19 +02:00
- Project
- Completely overhauled the configuration system and the new project creation window. All the configs have been unified
into a single screen, and project creation has been fully integrated as a mainline feature, instead of just a "nice to have".
2024-04-19 14:33:20 +02:00
### Changed
- LSP
- The injection of the various language actions (Go to declaration/implementation, reformat, etc.) has been
2024-04-19 23:06:19 +02:00
reimplemented from the ground up to be much more reliable and compatible in the presence of other languages and plugins.
- Zig, ZLS
- The configurations have been unified into a single cohesive interface
- Improved auto-detection for both Zig and ZLS
2024-04-19 14:33:20 +02:00
2024-04-19 14:29:15 +02:00
### Fixed
2024-04-19 23:34:00 +02:00
- LSP
- Putting the caret on a diagnostics error now no longer highlights the whole file
2024-04-19 14:30:08 +02:00
- Project
- Fixed invalid --colored command line argument for zig tasks
2024-04-19 14:29:15 +02:00
- Zig
- More robust indentation logic, also works with semi-invalid syntax now
2024-04-05 19:43:52 +02:00
## [13.2.0]
2024-04-05 19:10:22 +02:00
### Added
- Debugging
- For Zig build tasks, the target executable is now auto-detected in `zig-out/bin` if not specified.
Autodetect fails if multiple executables are present for consistency's sake.
- You can specify custom command line arguments for the debugged executable.
- Project
- The line marker generated `zig build` now defaults to the `run` step.
### Changed
- Project
- `zig build` steps are now specified separately from miscellaneous command line arguments.
This is needed for the debugger to work properly.
- The zig build debug executable target configs are now hidden from Zig build tasks in IDEs without native debugging support.
- Native Application (Zig) is now hidden in IDEs without native debugging support.
### Fixed
- Debugging
- Debugger locks up when trying to debug `zig build run` tasks.
2024-03-23 22:50:02 +01:00
## [13.1.1]
2024-03-23 22:46:55 +01:00
### Fixed
2024-03-23 22:49:31 +01:00
- Project
- Creating new project throws a write access error when git is enabled
2024-03-23 22:46:55 +01:00
- Zig
- Accidental regression while renaming the action IDs that broke "find usages"
2024-03-15 17:27:18 +01:00
## [13.1.0]
2024-03-15 04:19:49 +01:00
### Added
- Zig
- Parameter info (CTRL + P) is now properly integrated
2024-03-15 16:50:14 +01:00
- Parser error recovery (completion will still work even with missing semicolons in a statement)
2024-03-15 04:19:49 +01:00
### Fixed
2024-03-15 13:53:39 +01:00
- LSP
- The registry IDs of some of the LSP handlers were colliding with the Rust intellij plugin
2024-03-15 13:54:02 +01:00
- Autocompletion insertion is now fully handled by intellij, this should fix some of the weirdness
2024-03-15 13:53:39 +01:00
2024-03-15 04:19:49 +01:00
- Zig
- Indent support for function parameters and struct initializers
2024-03-15 16:49:47 +01:00
- Updated to latest grammar spec (https://github.com/ziglang/zig-spec/commit/78c2e2e5cfa7090965deaf631cb8ca6f405b7c42)
2024-03-15 04:19:49 +01:00
2024-03-12 22:56:28 +01:00
## [13.0.1]
### HOTFIX CHANGES
- Fixed multiple critical null safety problems that caused plugin crashes on some systems
- Splitting the editor now no longer breaks semantic highlighting
The rest of the 13.0.0 changes are available below:
2024-03-12 17:13:42 +01:00
2024-03-01 16:38:59 +01:00
### Added
2024-03-04 01:48:52 +01:00
- Debugging
- Debugging support for tests when launched using the ZigTest task type (and with the gutter icons in the editor)
2024-03-10 17:27:01 +01:00
- Debugging support on Windows systems
2024-03-04 01:48:52 +01:00
2024-03-02 20:23:20 +01:00
- Project
2024-03-02 20:42:35 +01:00
- Added `zig init` as a new project creation option
- New projects will now have the project name in the build files instead of "untitled"
2024-03-02 20:23:20 +01:00
2024-03-01 16:38:59 +01:00
- Zig
- Updated semantic highlighting to latest ZLS protocol
2024-03-10 17:27:01 +01:00
- ZLS
- ZLS configuration is now partially editable through the GUI
2024-03-01 16:01:39 +01:00
### Fixed
2024-03-02 20:21:39 +01:00
- Project
- Fixed build.zig and build.zig.zon getting placed in src/ during project creation
2024-03-01 16:01:39 +01:00
- Plugin
- Removed a bunch of write action locking, the editor should feel more responsive now
2024-03-10 17:27:01 +01:00
- Zig
- Error highlighting was breaking all the time
### Removed
- Project
- !!!BREAKING CHANGE!!! There is now no arbitrary "zig execution" task, all zig tasks have been categorized into Zig run/build/test tasks respectively.
2024-02-29 20:40:55 +01:00
## [12.0.0]
2024-02-29 02:55:12 +01:00
### Added
- Debugger
- Now uses the toolchains you set in Settings | Build, Execution, Deployment | Toolchains
2024-02-29 11:14:14 +01:00
- Standard library stack frames are now automatically filtered from the debug stack trace
2024-02-29 02:55:12 +01:00
- Zig
2024-02-29 19:00:10 +01:00
- Go to Declaration/Usages now functions as expected, taking you to the declaration of a symbol instead of its resolved
implementation.
- For the time being, the "Quick Definition" (CTRL+Shift+I) action has been repurposed as Go To Definition. This will be
replaced with a properly integrated solution once a way to couple the PSI symbol system and the LSP has been found.
2024-02-29 20:40:55 +01:00
2024-02-29 02:55:12 +01:00
### Fixed
- LSP
- Diagnostics race condition
- Code action annotations no longer lose range
2024-02-29 18:55:44 +01:00
- Zig
- Syntax highlighting no longer breaks after refactoring or reformatting
2024-02-29 19:16:21 +01:00
- Go to Usages no longer freezes the IDE
2024-02-29 18:55:44 +01:00
2024-02-21 14:42:31 +01:00
## [11.1.0]
2024-02-21 14:27:43 +01:00
### Changed
- Zig
- Updated to latest language grammar (destructuring syntax)
2024-02-01 19:41:25 +01:00
## [11.0.0]
2024-02-01 18:37:56 +01:00
### Changed
- Zon
- Updated autocompletion to latest as per the zig spec
2024-02-01 19:41:25 +01:00
- The versioning scheme used for ZigBrains has been revamped. See the plugin's GitHub repo for more information.
2024-02-01 18:37:56 +01:00
### Fixed
- Zig
- Autocomplete now uses the LSP
- Auto-indentation is now more accurate when creating new {...} blocks
- Zon
- Fixed auto-indent for strings and comments
### Removed
- Zig
- Code style settings. The official zig formatter is not configurable either, and ZigBrains aims to minimize
divergence from any official or ZLS-supplied features where possible.
2024-01-25 20:42:35 +01:00
## [0.10.0]
2024-01-16 10:40:54 +01:00
### Added
- Zig
- Code formatter and code style settings
2024-01-25 20:27:31 +01:00
### Fixed
- Project generation
- Now actually populates the project directory with example files instead of just creating an empty directory
2023-12-02 23:34:18 +01:00
## [0.9.0]
### Added
- Zig
- Commenter
- Zon
- Can now parse the .paths attribute properly
### Changed
- Maximum compatible IDE version 232.* -> 233.*
### Fixed
- Dev env
- nix jbr points to the correct path
- LSP
- Crash in huge projects
2023-10-04 15:34:24 +02:00
## [0.8.1]
2023-08-24 22:03:42 +02:00
### Changed
- LSP
- Dulled the colors of the status indicator, and added a gray "idle" color when ZLS is disconnected but not due to an error.
2023-08-24 22:01:28 +02:00
### Fixed
2023-10-04 15:34:24 +02:00
- Actions
- Blocking other languages' run tasks
- Files not autosaving before actions run
2023-08-24 22:01:28 +02:00
- Documentation
- No longer breaks the documentation of other languages
2023-10-04 15:34:24 +02:00
- Editor
- Race condition causing IllegalArgumentException
- LSP
- Occasional NullPointerException when LSP returns blank data for inlay hints
2023-08-21 19:55:26 +02:00
## [0.8.0]
2023-08-20 18:19:51 +02:00
### Added
2023-08-21 18:52:53 +02:00
- Editor
2023-08-21 19:53:38 +02:00
- Compatibility with 0.11 for loop ranges
2023-08-21 18:52:53 +02:00
- Gutter icons for:
- Launching a file with a `main` top level function
- Launching a file with tests in it
- Running `zig build` from a build.zig file
2023-08-21 19:53:38 +02:00
- Toolchain
- Debugging Support
2023-08-20 18:19:51 +02:00
### Fixed
- Toolchain
- Zig run configurations now save properly
2023-08-19 22:27:11 +02:00
## [0.7.0]
2023-08-18 10:42:52 +02:00
### Added
2023-08-19 22:44:42 +02:00
- Toolchain
- Zig compiler toolchain integration and run actions (no debugging support yet, see the readme)
- Zig
- Inlay hints
- Breakpoints (CLion/IDEA Ultimate)
- File creation prompt
- LSP
- ZLS is now auto-detected on project startup from PATH
- (You can also manually auto-detect it in the config menu)
2023-08-19 13:59:48 +02:00
2023-08-18 11:06:33 +02:00
### Changed
2023-08-19 22:44:42 +02:00
- Accessibility
- The LSP status icon now has symbols in it instead of just colors:
- Stopped(Red): X
- Starting(Yellow): Refresh arrow
- Started(Green): Empty
2023-08-18 11:06:33 +02:00
2023-08-18 11:37:45 +02:00
### Fixed
2023-08-19 22:44:42 +02:00
- LSP
- NullPointerException in folding range provider when closing editors quickly
- Config
- Changes to the ZLS configuration no longer require an IDE restart
2023-08-18 14:36:41 +02:00
2023-08-17 21:39:40 +02:00
## [0.6.0]
2023-08-17 10:19:14 +02:00
### Added
2023-08-17 15:28:09 +02:00
#### LSP
2023-08-17 10:19:14 +02:00
- Separate timeout category for syntax highlighting
2023-08-17 15:28:09 +02:00
#### Zig
- Basic "dumb" syntax highlighting when LSP is not connected
- Go to usages now works properly
- Color scheme preview now works properly
- Better "smart" syntax highlighting when LSP is connected
2023-08-17 21:38:40 +02:00
- Brace/Parenthesis/Bracket matching
2023-08-17 15:28:09 +02:00
### Fixed
#### Code Actions
- IDE no longer freezes when ZLS responds slowly
2023-08-17 08:46:06 +02:00
### Security
2023-08-17 15:28:09 +02:00
2023-08-17 08:46:06 +02:00
- Updated dependencies
- Integrated LSP4IntelliJ directly into ZigBrains
2023-08-14 20:16:02 +02:00
## [0.5.2]
2023-08-14 20:15:53 +02:00
### Fixed
- NullPointerException when clicking the red circle when the LSP is not connected
2023-08-12 19:01:35 +02:00
## [0.5.1] "Modernization"
2023-08-12 18:28:03 +02:00
### Added
- Proper documentation view (CTRL+Q) instead of the janky hover thing
### Removed
- IDEA 2022 support (Necessary change for the new documentation backend in lsp4intellij)
2023-08-12 19:00:48 +02:00
### Fixed
- Error highlighting now works on IDEA 2023
2023-08-10 22:44:58 +02:00
## [0.5.0] "The *ZON*iverse"
2023-08-10 22:36:42 +02:00
2023-08-08 22:59:16 +02:00
### Added
2023-08-10 22:44:58 +02:00
#### .zon files
2023-08-08 22:59:16 +02:00
- Basic parser and PSI tree
2023-08-08 23:00:20 +02:00
- Basic syntax highlighting
2023-08-10 08:17:18 +02:00
- Color settings page
2023-08-10 15:21:02 +02:00
- Brace and quote matching
2023-08-10 11:07:18 +02:00
- Code completion
2023-08-10 15:58:40 +02:00
- Code Folding
2023-08-10 15:16:47 +02:00
- Indentation
2023-08-08 22:59:16 +02:00
2023-08-10 22:44:58 +02:00
### Changed
- Updated the LSP backend, it should be more resilient now
2023-08-02 22:38:07 +02:00
## [0.4.0]
2023-08-02 13:56:32 +02:00
### Added
#### Error diagnostics (NEW)
- Basic diagnostics info from LSP (mostly just trivial syntax errors)
2023-08-02 14:48:31 +02:00
#### Code Folding
- Asynchronous folding (Enable it in the settings!)
2023-08-02 14:00:00 +02:00
### Fixed
#### Syntax Highlighting
- Made the logic even more asynchronous, should lead to much less UI stuttering
2023-08-01 19:35:13 +02:00
## [0.3.1]
2023-08-01 19:32:51 +02:00
### Added
#### Folding
- Better folding regions instead of just `{...}`
- `...` for the general case
- `///...` for doc comments
### Fixed
#### Folding
- Race condition on IDE startup throwing exceptions
- Folding ranges not appearing on Windows
- Typo in the bounds checking code
2023-07-31 23:46:59 +02:00
## [0.3.0]
2023-07-31 14:34:11 +02:00
### Added
2023-07-31 14:37:45 +02:00
#### Highlighting
- Support for Semantic Token Deltas (more compact way for the LSP server to send back data when typing fast)
2023-07-31 15:02:10 +02:00
#### LSP
- Temporary "increase timeout" toggle (currently, it bumps all timeouts to 15 seconds)
2023-07-31 14:23:02 +02:00
2023-07-31 15:02:10 +02:00
### Fixed
2023-07-31 14:26:36 +02:00
#### Folding
- Occasional NPE in LSP4IntellIJ
2023-07-31 14:23:02 +02:00
2023-07-31 15:02:10 +02:00
#### Highlighting
- Last token in file not getting highlighted
2023-07-31 14:34:11 +02:00
#### LSP
- (Windows) ZLS binary not executing if the file path has weird characters
2023-07-29 16:51:01 +02:00
## [0.2.0]
### Added
- Code completion
- Code folding
- More ZLS config options
2023-07-29 12:22:51 +02:00
## [0.1.0]
### Added
- Initial prototype. Lots of important stuff not yet implemented, but basic syntax highlighting and go to definition works.