David Wengier
David Wengier
👍 turning off auto format on type is tracked by https://github.com/dotnet/razor/issues/4336 (and completed in 17.6!) 👍 .editorconfig support is tracked by https://github.com/dotnet/razor/issues/4406 Thanks for the feedback. Feel free to log...
@michaelcsikos Just to be 100% clear, the format-on-type is moving the properties/methods, when you press Enter, to be indented by 8 spaces, correct? And is your indentation settings (in Tools,...
Looks like there is a couple of things going on here: 1. `.editorconfig` files are not currently supported in Razor. https://github.com/dotnet/razor-tooling/issues/4406 tracks that, but the underlying issue is a VS...
You might need to close and reopen the document window after changing those settings. For JavaScript/TypeScript, there is actually another layer of indirection, where Razor calls the Html formatter (part...
Thanks @jimmylewis I logged https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1637829/ for TypeScript to follow suit. FYI @zkat
Going to close this out. CLaSP is a source package owned by Roslyn, and being a source package its highly compatible - if it hurts when you upgrade, don't upgrade...
I updated the code to keep track of where we are with this. The list is here: https://github.com/dotnet/razor/blob/main/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer.Common/RazorLanguageServerCustomMessageTargets.cs#L29-L42
Cohosting in some way requires this to be completed, for Html, but I don't think there is much value in having this issue specifically.
Originally reported as https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1537104
This presence of the warning at all is related to, and hopefully fixed/fixable by, https://github.com/dotnet/razor/issues/7564 and https://github.com/dotnet/razor/issues/7891 Any C# inside HTML is sent to the HTML language server (and in...