Jonathan Kelley
d8942a255b
Fix #2104 : fmt incorrectly using 1-indexing for columns ( #2106 )
...
* Fix #2104 : fmt incorrectly using 1-indexing for columns
* Clippy...
2024-03-18 18:23:45 -07:00
Alex Parrill
52fb080193
Use indentation settings in dx fmt and vscode extension
...
Adds the ability to specify an indent string to public autofmt methods - either
a sequence of spaces or a tab character.
Get the indentation style and size from rustfmt for dx fmt, or from the editor
settings for the vscode extension.
Closes #1595
2023-11-01 17:24:18 -04:00
Evan Almloff
330950140c
fix clippy
2023-07-19 18:16:32 -07:00
Evan Almloff
b6ea722d94
fix some edge cases around multiline attributes
2023-07-19 16:59:20 -07:00
Evan Almloff
b6c7d44a27
fix clippy
2023-01-27 20:35:46 -06:00
Jonathan Kelley
4e4e101eee
fix: dont choke on emojji n exprs
2023-01-17 16:24:29 -08:00
Jonathan Kelley
b6e4db1f2f
fix: immediate exprs
2023-01-16 16:36:50 -08:00
Jonathan Kelley
ac6035cb2a
feat: parse entire file instead of hunting for verbtain
2023-01-13 16:46:34 -08:00
Jonathan Kelley
6cd87796f2
feat: allow ifchains and for loops
2023-01-13 10:51:12 -08:00
Jonathan Kelley
1940855e39
feat: implement comments in zero children nodes
2023-01-10 17:47:58 -08:00
Jonathan Kelley
181a51a63b
wip: add whitespace parsing to rsx
2022-09-30 10:51:53 -07: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
fa756ba245
feat: manual props
2022-06-28 17:16:26 -04:00
Jonathan Kelley
1e4af430a8
wip: eliminate warnings
2022-06-28 15:15:09 -04:00
Jonathan Kelley
a825cdcf58
feat: simple support for comments
2022-06-28 15:01:51 -04:00
Jonathan Kelley
d70b436157
wip: more cleanup, more tests
2022-06-27 16:24:36 -04:00
Jonathan Kelley
398cbc6534
wip: rely on git version of prettyplease, refactor autofmt
2022-06-25 00:55:52 -04:00