razor icon indicating copy to clipboard operation
razor copied to clipboard

Razor Experimental editor does not support C# region tags for collapsing

Open tossnet opened this issue 5 years ago • 6 comments

We can no longer expand or collapse a #region in a .razor page with Visual Studio 16.8. preview 4 The [+] symbol no longer appears :

Capture

tossnet avatar Oct 14 '20 14:10 tossnet

Thanks for contacting us. @NTaylorMullen can you please look into this? Thanks!

mkArtakMSFT avatar Oct 14 '20 15:10 mkArtakMSFT

@tossnet thanks for the heads up! @dibarbet is region control client or server enabled in C# LSP scenarios?

NTaylorMullen avatar Oct 14 '20 17:10 NTaylorMullen

@NTaylorMullen client controlled as of now. But I don't see why we couldn't support it through folding ranges. Could you transfer / file an issue on us?

dibarbet avatar Oct 14 '20 17:10 dibarbet

Will do!

NTaylorMullen avatar Oct 14 '20 19:10 NTaylorMullen

Done: https://github.com/dotnet/roslyn/issues/48600

NTaylorMullen avatar Oct 14 '20 19:10 NTaylorMullen

@ryzngard another one we can dupe

NTaylorMullen avatar Jul 27 '22 23:07 NTaylorMullen