Jonathan Kelley
828cc502f1
Fix : #2604 , Fix : #2240 , Fix : #2341 , Fix #1355 - Better error handling and and spaces handling in autofmt ( #2736 )
...
* add new autofmt sample
* Feat: implement rustfmt::skip support for rsx
* generally improve error handling with better expect messages
* wip: nested rsx formatting and expression formatting
* nested rsx formatting works
* collapse autofmt crate
* cast indent through macros
* use proper whitespace
* no more eating comments!
* Use proper error handling
2024-07-30 18:36:13 -07:00
Jonathan Kelley
be99e29e5f
Fixes to autofmt, make it more aggressive ( #2230 )
...
* fix: fmt unterminated if, be more aggressive with line splits
* Fix: Handle long exprs in for/if statements
2024-04-03 15:27:36 -07:00
Jonathan Kelley
3e5edff724
Fix key errors in autofmt crate
2024-03-07 16:21:51 -08:00
Evan Almloff
1a17ca988c
fix double quotes in autoformatting
2023-09-14 16:19:21 -05:00
Jonathan Kelley
aa0f6812fa
fix ci around autofmt
2023-01-14 00:42:43 -08:00
Jonathan Kelley
293ef9c690
fix: only flow exprs with indent in mind
2023-01-12 17:02:41 -08:00
Jonathan Kelley
a37458b9fa
chore: fixes to autoformat to prevent double rendering of expr line
2022-09-28 16:47:10 -07:00
Jonathan Kelley
575f92d2d4
chore: update readme and tests for autofmt
2022-07-05 18:23:30 -04:00
Jonathan Kelley
76581e7400
fix: disappearing manual props
2022-07-05 18:03:04 -04:00
Jonathan Kelley
fa9ebe17cc
feat: fix autoformatting around one liners
2022-07-05 17:49:16 -04:00