Collapsible regions in javascript - by MarcF

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


14
1
Sign in
to vote
ID 329901 Comments
Status Resolved Workarounds
Type Suggestion Repros 0
Opened 2/25/2008 2:26:57 AM
Duplicates 342341 Access Restriction Public

Description

Some great enhancements have been made to working with javascript.

One more: would it be possible to add collapsible regions to javascript files?

eg:

[+]  function myFunc() 
|     {
|      /// comments
-     }

(hope that looks ok...)


Would also be very helpful to have #region type preprocessor commands (that are ignored by the file but used by the editor), probably using ///



Sign in to post a comment.
Posted by Microsoft on 3/5/2009 at 7:41 PM
Hi MarcF1,

We've definitely heard from many developers that this is their top request. Unforunately we were not able get to this feature this release (needed to upgrade our core IntelliSense engine that is foundational to everything). This is on the top of our list for next release however. We appreciate your feedback!

Jeff
Web Tools Team
Posted by BrianOC on 3/12/2008 at 9:03 AM
Absolutely vital. Amazed it isn't there already. Unfortunately the world hasn't caught on to unobtrusive scripting quite yet so the demand won't be that high until the "<a href="#" onclick="javascript:blah..." crowd learn better.
Posted by Andrija on 3/3/2008 at 5:23 AM
try using Ctrl+M > H as temp solution