Inserting open parenthesis in front of string literal adds closing parenthesis
Open
Feature Request
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 737
- Avg merge
- 17h 56m
- Merged PRs (30d)
- 21
Description
### Environment Data
VS Code version: 1.99.3
C# Extension version: 2.74.24
### Steps to Reproduce
1. Add the following code wherever syntactically applicable:
```cs
var s = "";
```
2. Insert an opening parenthesis in front of `""`.
### Expected Behavior
The closing parenthesis should not be inserted.
This is indeed the behavior in Visual Studio today.
### Actual Behavior
The closing parenthesis is inserted: `var s = ()"";`.
This does not happen when the opening parenthesis is inserted in front of other symbols, including number literals: `var i = (0;`.
Contributor guide
Assessment
This issue has not been assessed yet.