Code Browser for Javascript

Post DPack feature requests here.

Moderator: Sergey

Code Browser for Javascript

Postby bwood » May 4th, 2010, 3:35 pm

Function list whether viewing an aspx/ascx file or a js file. That would be sweet.
bwood
Junior Member
 
Posts: 9
Joined: February 22nd, 2008, 7:34 pm

Re: Code Browser for Javascript

Postby Sergey » May 4th, 2010, 9:33 pm

I'll add it to the queue to investigate. This would be doable only if those file types expose JavaScript methods via code model. I agree, it'd be a cool feature to have though. Thanks!
Sergey @ USysWare
User avatar
Sergey
Moderator
 
Posts: 590
Joined: May 27th, 2005, 3:56 pm
Location: Alexandria, VA

Re: Code Browser for Javascript

Postby bwood » May 6th, 2010, 9:58 am

I hope it's doable. All new projects are MVC and I have nearly as many javascript functions as C# methods...
bwood
Junior Member
 
Posts: 9
Joined: February 22nd, 2008, 7:34 pm

Re: Code Browser for Javascript

Postby dnk.nitro » June 17th, 2010, 11:02 pm

In the EditPlus editor there is a nice feature - for every file extension you can specify regular expression to create functions list. E.g. for javascript it would be something like
Code: Select all
^[ \t]*function[ \t].*\([^;]*$


In DPack for such "custom" list it could be a separate shortcut (not ALT+M).

If you don't utilize it - you don't need to run that reg. exp. at all so it would not affect general performance.

Just imagine how handy it could be sometimes.
dnk.nitro
Member
 
Posts: 17
Joined: December 21st, 2006, 11:48 am

Re: Code Browser for Javascript

Postby Sergey » July 5th, 2010, 10:37 am

Investigated it and AFAICT JavaScript methods aren't exposed via VS code model. I'll look into some sort of parsing for the next major version. No guarantees it's gonna happen though. The entire browsers processing is based on code model availability. Doing something entirely different may be error prone and difficult to retrofit in. I'll give it a shot though. Thanks.
Sergey @ USysWare
User avatar
Sergey
Moderator
 
Posts: 590
Joined: May 27th, 2005, 3:56 pm
Location: Alexandria, VA

Re: Code Browser for Javascript

Postby dnk.nitro » July 5th, 2010, 10:45 am

Thanks for at least taking a look at it!
dnk.nitro
Member
 
Posts: 17
Joined: December 21st, 2006, 11:48 am


Return to DPack Wish List

Who is online

Users browsing this forum: No registered users and 1 guest

cron