Monday, July 2, 2012

Regions in Javascript files and other addons for VS2010

Dear Readers,

I was looking for a free tool to create regions in Javascript files so that we could be able to make it more structured and readable. I have finding that can help us.

1. JavaScript Editor
2. Code Maid (Great Tool to help Devlopers)

 JavaScript Editor:
 JavaScript Editor by default adds regions to method

but if we have aim to

You can see the JavaScript Editor's auto implementation adds regions with every block based on
braces used to open and close a block of code.

Now if we have to add region based on set of method use following way:
 // abc-xyzblock
function abc(){
// to do code

function abc2(){
// to do code

function xyz(){
// to do code







after collapsing block 




Now as we can see it very easy to identify our javascript code in blocks



CodeMaid is an open source Visual Studio extension to cleanup, dig through and simplify our C#, C++, XAML, XML, ASP, HTML, CSS and JavaScript coding.

For this add-on everything is available on above provided link so i am explaining it here. Please use link to get detailed information about this add-on I am truly say you are going to love it.

Happy Living....
Happy Concepts....
Happy Programming....

Yashpal Sharma


No comments:

Post a Comment