Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto format document not working within interpolated strings #2131

Open
ShootMe opened this issue Feb 6, 2025 · 0 comments
Open

Auto format document not working within interpolated strings #2131

ShootMe opened this issue Feb 6, 2025 · 0 comments

Comments

@ShootMe
Copy link

ShootMe commented Feb 6, 2025

When you format the current document with for example Ctrl + K, Ctrl + D it will not format objects within curly brackets inside of interpolated strings.

Console.WriteLine(scope $"Testing {1+2+3}");

should format as the following, but doesn't currently.

Console.WriteLine(scope $"Testing {1 + 2 + 3}");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant