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

Razor LSP: Pressing enter between {|} in C# should format correctly #5309

Closed
ajaybhargavb opened this issue Jul 7, 2020 · 4 comments
Closed
Assignees
Milestone

Comments

@ajaybhargavb
Copy link
Contributor

We need to investigate how this happens in local C# and see how we can do it in the LSP world.

Expected:
enterformatting2

Actual:
enterformatting

@Anduin2017
Copy link
Member

It seems that this still happens.

Any further info about this?

Expected formatting:

image

Actual formatting:

image

@ajaybhargavb
Copy link
Contributor Author

@Anduin2017 we are planning to address issues like those in our new experimental razor editor. That progress is being tracked here.

@ajaybhargavb
Copy link
Contributor Author

Blocked on dotnet/roslyn#47691

@ajaybhargavb
Copy link
Contributor Author

Dup of https://github.com/dotnet/aspnetcore/issues/23053

@ghost ghost locked as resolved and limited conversation to collaborators Jan 8, 2021
@ghost ghost unlocked this conversation Oct 9, 2021
@allisonchou allisonchou transferred this issue from dotnet/aspnetcore Oct 9, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants