-
Notifications
You must be signed in to change notification settings - Fork 844
Open
Labels
Area-LangService-CodeFixesCode fixes associated with diagnosticsCode fixes associated with diagnosticsFeature Request
Milestone
Description
Repro steps
Have this code:
let foo = 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:
let foo = 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.
smoothdeveloper, chillitom, Roblinde, Happypig375, robsiera and 2 more
Metadata
Metadata
Assignees
Labels
Area-LangService-CodeFixesCode fixes associated with diagnosticsCode fixes associated with diagnosticsFeature Request
Type
Projects
Status
Done