Regions in CSHTML

Answered

Does Rider have anyway to have regions in CSHTML files?

0
3 comments

Hi Dropbox110

Did I understand right that you want to #region #endregion work in Razor files? 

Have you used them before in another IDE in the same case? 

Thanks! 

0

Yes.  In Visual Studio 2019 the following creates a foldable region  

<!-- #region Page Header -->

 your code

<!-- #endregion Page Header -->

0

Thank you for the clarification! 

I've created a feature request in YouTrack: RIDER-64857. Feel free to follow it and upvote. 

Should you have any other questions, let us know. Have a nice day! 

0

Please sign in to leave a comment.