The Wayback Machine - https://web.archive.org/web/20210530201107/https://github.com/dotnet/aspnetcore/issues/33149
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

New Razor Editor randomly hangs and freezes #33149

Open
Peter-Juhasz opened this issue May 30, 2021 · 0 comments
Open

New Razor Editor randomly hangs and freezes #33149

Peter-Juhasz opened this issue May 30, 2021 · 0 comments

Comments

@Peter-Juhasz
Copy link

@Peter-Juhasz Peter-Juhasz commented May 30, 2021

Visual Studio version: 16.11.0 Preview 1.0
Enable experimental Razor Editor: on
Project type: Blazor WebAssembly
Windows version: 21H1 (OS Build 19043.1023)
.NET SDKs:
5.0.300-preview.21258.4 [C:\Program Files\dotnet\sdk]
6.0.100-preview.3.21202.5 [C:\Program Files\dotnet\sdk]
CPU: 12 HT cores, 3.7 Ghz
Memory: 16 GB

It happens randomly, usually when copying or cutting text:
image

This operation never ends and cannot even be cancelled. The only way is to kill the whole VS process and re-open everything.

Some other symptoms:

  • colors appear long seconds after opening a single Razor file, sometimes only parts of the file get colorized and not the whole document
  • other operations like automatic tag close takes usually more than 5 seconds
  • completions even in simple C# segments of a Razor file are so slow that they are late, basically non-existent

I give this new editor a try every now and then when a new preview becomes available, because the old one definitely need to be redesigned, but this new one is still so far from being usable that I get to the conclusion that the old one is still better, and I have to switch back every time.

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

Successfully merging a pull request may close this issue.

None yet
1 participant