pearsonjohn / js-addin

Automatically exported from code.google.com/p/js-addin
0 stars 0 forks source link

No sorting in the javascript Parser. #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Excellent plugin. All though some shrink/expand of the functions like .CS
files would be so nice. 

But dude.. Sort the treeview js parser, if not: it's useless.

What steps will reproduce the problem?
1. use the plugin
2. Look at the tree view
3. Realise the list is not sorted
4. Realise that using the VS search window is faster to track a function

What is the expected output? What do you see instead?
I expected to see a sorted list to gain an overview of our huge JS files

What version of the product are you using? On what operating system?
vers. 1.1

Please provide any additional information below.
Just sort it. Or at least add an option to do so.

Original issue reported on code.google.com by Cpmuns...@gmail.com on 10 Feb 2010 at 9:24

GoogleCodeExporter commented 9 years ago
Thanks, i'll work on this soon :)

Original comment by mega.boich@gmail.com on 12 Feb 2010 at 2:31

GoogleCodeExporter commented 9 years ago
Sorting is added in version 1.2, please verify.

Original comment by mega.boich@gmail.com on 17 Feb 2010 at 1:22

GoogleCodeExporter commented 9 years ago
Hi,

Sorting works like a charm and I can now find every function fast. thanks a lot 
:)

Now to make this baby a full grown:

Is is possible to make it filter out certain words in the list? for instance: We
created this semi namespace convention for our JS files and functions. They look
similar to this: 

<CompanyName>2Lib.Data.Cell.prototype.<functionname>
<CompanyName>2Lib.KeyHandler.DataGrid.prototype.<functioname>

As you can see, the words <CompanyName>2Lib and prototype are always there. 
Maybe
some regular expression or just a plain simple exclude list of words, would do 
the
trick to remove the visual representation of those text words in the list. 
Again this
would help when you keyboard-type-search.

My second question is regarding expanding and shrinking all functions in the JS 
file.
Again for visual representation and a better comprehensive view.

If you like I'll create these new issues for both requests?

Christian

Original comment by Cpmuns...@gmail.com on 18 Feb 2010 at 9:14