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
How could I get it to break each parameter onto its own line (similar to something like rustfmt)
I've tried modifying several configuration options but could not get it to work. I thought
the most relevant options here would be chop_down_parameter and align_parameter, but they don't
do what I was expecting.
Maybe another option could be given to the configuration
Configuration
Example 1
If I have something like the following:
Issue
How could I get it to break each parameter onto its own line (similar to something like
rustfmt
)I've tried modifying several configuration options but could not get it to work. I thought
the most relevant options here would be
chop_down_parameter
andalign_parameter
, but they don'tdo what I was expecting.
Maybe another option could be given to the configuration
Solution
For instance
lua-fmt
breaks down each line, but lacksconfigurability.
Example 2
I have something like:
Issue
I would expect that an option in the configuration file could 'chop' down each parameter
onto its own line resulting in something like:
Solution
On a side note, I see the Chop down operators #205 issue, which would make the call look even nicer
Like
The text was updated successfully, but these errors were encountered: