dotnet/roslyn
Ver no GitHub[C#] Nested curly brace is not auto completed in interpolated string
Open
#72.116 aberto em 15 de fev. de 2024
Area-IDEhelp wanted
Métricas do repositório
- Stars
- (20.414 stars)
- Métricas de merge de PR
- (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)
Description
Ported from: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1956301
Open C# console app Type the following characters
var x = $"{{
Expected (| indicating the caret): string x = $"{{|}}"
Actual: string x = $"{{|}"
--
Note: When fixing this, fix https://github.com/dotnet/roslyn/issues/61541 as well (the raw string literal case).