As a Web 2 developer I found myself dealing with fast growing JavaScript code files.
And I really missed the code regions in Visual Studio, which is a nice way to organize the code blocks and focus on reasonable small amount of code.
There are some macros available out on the web for placing a regions outlining in JavaScript code editor.
I was not fully satisfied with macros and the fact I have to manually run them (even with a shortcut keys) every time I open the JavaScript file.
Thus, I have spend some amount of my time and came out with a Visual Studio 2010 Editor Extension for JavaScript Oulining.

Even, if this first version is simple as functionality it gave me much better JavaScript code experience.
So, I decided to share it with you guys and hope it helps you too.


Download one of the file bellow, run package installer file (.vsix), open/restart Visual Studio and enjoy :).

  • Outlines JavaScript codeblock regions for the code placed between { }. Both places on a new line.
  • Outlines custom regions defined by:
    • //#region - //#endregion
    • //#> - //#<

Screenshot #1

Last edited Jun 5, 2010 at 6:26 AM by velio, version 2


No comments yet.