Parenthesis completion should trigger more often
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 144
Description
Given a match clause like `| SynExpr (SynExpr.ComputationExpr _) -> ()`, I want to remove the underscore and decompose the `ComputationExpr` union case. Place the caret to the right of `_`, press backspace and then `(`.
I see
`| SynExpr (SynExpr.ComputationExpr () -> ()`
but would like
`| SynExpr (SynExpr.ComputationExpr ()) -> ()`
with the caret placed inside, so that I can immediately start matching fields.
Given a method call like `System.String.Format("{0}")`, I want to pass an additional argument - `Some (a + b)`. Place the caret to the left of `)`, type `, Some ` and then `(`.
I see
`System.String.Format("{0}", Some ()`
but would like
`System.String.Format("{0}", Some ())`
**Additional context**
VS 17.8 Preview 1
Contributor guide
Assessment
This issue has not been assessed yet.