David Wengier
David Wengier
There has been another attempt at solving this, but there are lots of issues across various teams/products to work through: https://github.com/dotnet/roslyn/pull/60499
This is definitely not on the "not gonna fix this" list, we just didn't get to it this sprint, so have moved it to the next. Sadly I can't promise...
Yeah, removing the actual HtmlCSharp server is separate, since VS Code needs it. I just meant removing the feature flags from the Preview Features options screen in VS. The functionality...
This was also reported in https://developercommunity.visualstudio.com/t/VS2022-171-Blazor-moving-razor-files-fr/10011429 and https://developercommunity.visualstudio.com/t/Refactoring-namespaces-corrupts-Razor-so/10041958 I can repro this in latest VS
Not sure if this is the same as https://github.com/dotnet/razor-tooling/issues/6167? Seems like some of the duplicated reports for that issue, are actually this issue.
So we're getting a didChange notification, coming [from Roslyn](https://github.com/dotnet/roslyn/blob/main/src/Workspaces/Core/Portable/Workspace/Workspace.cs#L1221) which ultimately comes from [Project System](https://github.com/dotnet/project-system/blob/main/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Rename/FileMoveNotificationListener.cs#L214) which gets its list of changes from [Roslyn](https://github.com/dotnet/roslyn/blob/main/src/Workspaces/Core/Portable/Rename/Renamer.cs#L72)! So the next step is to see...
Another report: https://developercommunity.visualstudio.com/t/In-Blazor-app-Razor-file-spaces-insert/1629654
💯 AFAIK roslyn only does this for scoped services (ie, services specific to a workspace instance, or language for the C#/VB split). For us, where everything (I think) is singleton,...
A random idea: For open documents, it should, in theory, be possible for us to "just" forward `didOpen`, `didChange` and `didClose` requests that we get for Razor files, and send...
At least we know CI seems to build the compiler bits on PRs.. I honestly wasn't sure :)