Releases: lmichaudel/c3fmt
Releases · lmichaudel/c3fmt
Version 0.2.3
New Features
- comment and assignment alignment (d04b212)
- ability to pass directories instead of files (98d8b27)
--checkargument
Fixes
- one line doc comment (5f9c4f3)
- macro declaration alignment (5f9c4f3)
- enum constant alignment (1cbcc1e)
- space before generic parameters (40c227a)
Full Changelog: v0.2.2...v0.2.3
Version 0.2.2
Fixes
- An extra newline was incorrectly appended after a function declaration. eca1e50
- Comments between a for loop declaration and its scope were bugged. 80172e3
- Single line elses were not correctly formatted. 59a73b2
This release also includes new tests, refactoring and performance improvements. (#5)
New Contributors
- @ManuLinares made their first contribution in #5
Full Changelog: v0.2.1...v0.2.2
Version 0.2.1
Fixes
- fixed a critical bug that could crash the program when mixing width-exceeding lines and inline comments.
Version 0.2.0
New feature
- Code wrapping !
c3fmtwill now wrap your code around if it exceed the configured length. You can check the source code ofc3fmtitself, which is now actually formatted by itself.
Fixes
- fixed a bug where trailing comment after an
ifstatement would append an extra newline. - interface function declaration were not handled correctly.
Version 0.1.3
Fixes:
- fixed a critical bug that made compound statements inside case statement crash the program.
Known bugs
- Wrapping won't work with nested "wrappables".
- Wrapping is only implemented for function parameters and call arguments.
Version 0.1.2
New Features
- C3 lang v0.7.9.
- Docs comments support.
- Hashbang comments.
- Assembly statements.
maybe_deref_exprnode.- Generics (with new syntax).
Fixes:
- fixed array formatting.
- fixed attributes in import list.
Known bugs
- Wrapping won't work with nested "wrappables".
- Wrapping is only implemented for function parameters and call arguments.
Version 0.1.1
New features
- Doc comments support.
- All compile time statements support (
$if,$for,$foreach,$switch). --in-placeCLI argument.
Fixes
- defers were always being followed by an extra blank line.
- the last comment of a case block was not indented correctly.
- a comment following the colon of a case statement (or a compile time statement) would appear on the next line.
Version 0.1.0
This is the very first release of c3fmt. It includes minimal formatting support and serves as a foundation for future features. Expect basic functionality with limited options, designed for early testing and feedback.