You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A couple of weeks ago, I reported, that formatting documents does not work properly, when in Razor, there is a textarea inside of a code block. Please see here.
The issue was marked as fixed with VS 17.14, but at least for me, 17.14 made it worse. Now, not only textareas are misplaced but also span closing tags and some lines with line breaks.
17.14.mp4
For reproduction, I copied my code to Home.razor of a new Blazor Wasm project, deleted some things and replaced classes that did not exist. CTRL+k,d resulted in the same misformatted file. Please try yourself. Simply paste below code that I formatted by hand. Then, hit CTRL+k,d or already see what's wrong when "format on paste" is activated.
After the first "misplacement" of some elements, CTRL+k,d still moves the textarea closing tag, what I thought should have been fixed with 17.14.
Has it been resolved? Are there any latest developments? I found that many situations affect the layout arrangement. Including server's @OnClick='the inline function layout here is all messy/disordered'
What exactly? Probably not. As mentioned above, it is worse with 17.14.
Are there any latest developments? I found that many situations affect the layout arrangement. Including server's @OnClick='the inline function layout here is all messy/disordered'
A couple of weeks ago, I reported, that formatting documents does not work properly, when in Razor, there is a textarea inside of a code block. Please see here.
The issue was marked as fixed with VS 17.14, but at least for me, 17.14 made it worse. Now, not only textareas are misplaced but also span closing tags and some lines with line breaks.
17.14.mp4
For reproduction, I copied my code to Home.razor of a new Blazor Wasm project, deleted some things and replaced classes that did not exist. CTRL+k,d resulted in the same misformatted file. Please try yourself. Simply paste below code that I formatted by hand. Then, hit CTRL+k,d or already see what's wrong when "format on paste" is activated.
After the first "misplacement" of some elements, CTRL+k,d still moves the textarea closing tag, what I thought should have been fixed with 17.14.
The text was updated successfully, but these errors were encountered: