You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if just adding the case for """) is enough or if we need to be more "elixir-aware".
Other scenarios would be having ~H inside arrays, so we could have """, but then it can also be inside a tuple, which depending on the scenario can be formatted with """, anything here}
I think the main problem is that the elixir formatter changes
foo(~H""" <div>something</div>""")
into
foo(~H""" <div>something</div>""")
Which makes so that the "correct format" doesn't highlight properly.
Is there anything I can do to help with that?
The text was updated successfully, but these errors were encountered:
My current workaround is to either change my formatter so rendered_to_string is no-parens or to assign the result to a variable and then call the rendered_to_string afterwards.
I'm not sure if just adding the case for
""")
is enough or if we need to be more "elixir-aware".Other scenarios would be having
~H
inside arrays, so we could have""",
but then it can also be inside a tuple, which depending on the scenario can be formatted with""", anything here}
I think the main problem is that the elixir formatter changes
into
Which makes so that the "correct format" doesn't highlight properly.
Is there anything I can do to help with that?
The text was updated successfully, but these errors were encountered: