Closed ValentinKaisermayer closed 2 years ago
I find the vscode extension Prettier quite good. Especially one option:
Fit code within this line limit
Is it possible to include such a behavior into the Julia formatter?
For example the following code snippet is 116 columns long.
optimizer_factory = JuMP.with_optimizer(Gurobi.Optimizer, env, LogToConsole = 0, MIPGap = 0.01, DualReductions = 0)
It should be formatted into:
optimizer_factory = JuMP.with_optimizer( Gurobi.Optimizer, env, LogToConsole = 0, MIPGap = 0.01, DualReductions = 0)
and not:
I feel.
I find the vscode extension Prettier quite good. Especially one option:
Is it possible to include such a behavior into the Julia formatter?
For example the following code snippet is 116 columns long.
It should be formatted into:
and not:
I feel.