Dominique Luna
Dominique Luna
@davidanthoff ```julia julia> s = """ +x[1] + x[2]
It could be an option for `JuliaFormatter`, there was talk about this in a slack thread. The thing about that is I think the only people who would turn it...
Binary and chain calls are lined up with the other arguments of the operator. So this is always how this has been formatted. The difference here is that `join_lines_based_on_source` is...
The align functions don't have anything to do this necessarily since that is only used when `align_*` options are set to true. I think what we would want to do...
> I should also mention I tried the first thing I thought of: > > ```julia > #! format: off > @mymacro begin > #! format: on > > ......
unless I'm missing something this part ``` #! format: on foo() = nothing #! format: off ``` will be formatted and it is. Hmmm perhaps the confusion is the scope...
indentation is tied to formatting so right now you can't On Wed, Dec 11, 2024 at 9:29 PM Miles Cranmer ***@***.***> wrote: > Oh I think I got confused. So,...
I'd be fine with it as a new feature but I probably won't get around to implementing this any time soon.
I think in the rewrite to JuliaSyntax friendlier messages will be possible, since it locates the exact part of the file that's problematic.
sure i dont see why not On Monday, October 7, 2024, Adrian Hill ***@***.***> wrote: > Would you be open to a PR which adds a JuliaFormatter.test_formatting() > function that...