Hi,

another one who would be really glad, if this could be implemented in PSPad! But
first: PSPad is the coolest Editor ever!!!:-D

Since Javascript isn't designed for real classes and only simulates it via
objects and functions, I believe that it is difficult to parse that in the code
explorer.

Maybe we should redefine our wish of that...
For myself, I would be really satisfied, if the code explorer could show all the
"prototype"-functions in it:

e.g.    objName.prototype.DoSomething=function(a,b) ==> Code-Explorer could
display then an entry:  objName.DoSomething(a,b)

That's the thing what I miss at most, because I develop large JS-Files with a
lot of 'prototype'-functions in it and if you want to jump to a particular
function, you always have to search or scroll manualy to it. In files with more
than 3000 lines this is quite anoying :-P

I don't need that the code-explorer display/parses all the members and
properties of the objects. It would be nice, but displaying all "functions" is
more helpfull.

Maybe a categorization could be added to the code-explorer for javascript. I
have seen this on one of your screenshots... There is already a group for
Variables and then all functions are listed. Maybe there could be another group
for functions and prototype-functions as well..

By the way.. the code-explorer seems to have a bug when parsing variables in
such prototype-functions. e.g. a variable with an equal name is displayed 5
times with nearly the same line numbers.. I think this is, because they are
declared in 5 different functions. But the variable scope is limited to that
function. 
So either the code-explorer should display the variables 5 times, but only with
the line-numbers of the function where it is declared or it should display only
one time with all line numbers in every function....

Many greetings

-- 
<http://forum.pspad.com/read.php?4,22964,31364>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem