Dominique Luna

Results 325 comments of Dominique Luna

There's no way to include \in as part of variable name right? ``` julia> foo(always_for_in::Bool) = 10 foo (generic function with 1 method) julia> bar(always_for_∈::Bool) = 10 ERROR: syntax: "(always_for_...

> We may need more of #283 to be completed before this not necessarily it would just update as we go along

ok got this pretty much working but something to be mindful of is that -> has higher precedence than |>, meaning the above would wrap be formatted as ``` coordsperm...

@ParadaCarleton can you post an example

oh you mean the text in the docstring. Yeah atm that's not done, but it could be. There may be Markdown edge cases where a link break causes an issue...

if you meant the code in the docstring you could do that with kwarg `format_docstrings = true` https://domluna.github.io/JuliaFormatter.jl/stable/api/#JuliaFormatter.format_text-Tuple{AbstractString}

There's a heuristic which checks if the LHS is a number and if so when whitespace is added since otherwise it's ambiguous whether the `.` is for the number or...

this looks correct to me, if you look at how the text is placed in relation to the opening """ in the original text it's the same in the formatted...

true, would this backfire in other cases though?

would it be bad to align the lines to the first " if they currently appear prior to it? If it's a good idea it wouldn't be difficult to do...