All notable changes to this project will be documented in this file.
- Correctly collect leading and trailing comments (#145)
- Remove trailing space after doctype closing tag (#147)
- Support let bindings (#149)
- [breaking] Use view! indentation settings when formatting syn expression (#141)
- Use 'tab_spaces' for size of hard tabs instead of hardcoded 4 (#143)
- Duplicated comments in consecutive macros (#144)
- Improve using with RA section
- Add link to emacs LSP mode config option
- Inline unquoted text + expr block combinations (#110)
- Trailing whitespace issue when using codeblocks (#130)
- Manually trigger changelog workflow
- Directory-based rust-analyzer configuration (#127)
- Fix default attr_value_brace_style
- Add option to override macro name (#109)
- Preserve formatting of unknown macros (#121)
- Add tailwind support for attr values (#122)
- Support elements with generics (#128)
- Customisable self-closing tag behaviour on non-void elements (#123)
- Update prettyplease and add as git submodule (#119)
- Don't print new line to stdout (#95)
- Add indentation style (tabs/spaces) & newline style (LF/CRLF) settings (#90)
- Rename printer setting
spaces
totab_spaces
for consistency
- Ignore rustfmt output on error status (#89)
- Call rustfmt after formatting with leptosfmt (requires stdin) (#88)
- Retain unicode & raw string formatting (#87)
- Workaround bug with proc_macro2 regarding multibyte chars (#85)
- Automatically detect CRLF or LF line endings (#81)
- Formatting comments that include '//' (#68)
- Dont touch file when there are no formatting changes (#69)
- Softbreak when elem has single raw text child node (#73)
- Add clarification about the usage of non-doc comments (#70)
- Add check mode (#72)
- Remove dbg! statement and enable clippy dbg! lint
- Rework non-doc comments (#48)
- Implement workaround for non-doc comments (#49)
- Comment extracting in attribute with block expr
- View macro indentation issues (#59)
- Fix typo in
"AlwaysUnlessLit"
example (#41)
- Remove dbg! (Closes: #55) (#56)
- Ignore comments outside view macro (#40)
- Don't emit empty line when multiline opening tag (#38)
- Respect string whitespace (#37)
- Build binary for MacOS arm64
- Respect single empty line (#36)
- Share printer implementation with leptosfmt-prettyplease (#31)
- Format view! macro with global class (#21)
- View! macro bytecode range when contains unicode characters larger than 1 byte (#22)
- Improve identation of view! macro (#23)
- Read settings from a config file (#25)
- Make macro collecting functionality public
- Export token types (#24)
- Multiline strings (#8)
- Fix changelog generation config
- Only trigger CI when .rs file changed
- Attribute value brace style (#10)
- Automate publish process (#6)
- Automatically update changelog
- Update comitter name for automatic changelog commit
- Changelog generation (#5)
- Add CI group to changelog
- Prepare for 0.1.3
- Set repository in printer Cargo.toml