I have a lot of front-end code that would be more readable if I could use collapsible areas like #region in C#. Is there a way to do that in the front-end?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you are using Visual Studio, I’ll refer you to this post: How to Add REGION in Visual Studio in aspx Files. Observe the answer for some simple tips; though, Visual Studio already provides the ability to collapse html elements (by default) in the editor gutter. If you are referring to JavaScript (your question is vague), then I would refer you to this plugin: JScript Editor Extensions