- Notifications
You must be signed in to change notification settings - Fork832
Open
Milestone
Description
Repro steps
Have this code:
letfoo=match[1]with|_->()
You get squigglies for |, with the tip:
Possible incorrect indentation: this token is offside of context started at position (119:15). Try indenting this token further or using standard formatting conventions."
We could have an autofix to indent this correctly, yielding code:
letfoo=match[1]with|_->()
As a bonus, pressing "tab" on the second line could stop at the minimum correct indentation. Currently,
you need to press space N times to hit the exact spot.
Metadata
Metadata
Assignees
Type
Projects
Status
Done