Either break up into smaller classes, or try using search more. I tend to use lighter-weight editors with bigger files, such as Notepad++ or UltraEdit. Scrolls fast, and searches far faster than some Java-based editors.
On Wed, Dec 1, 2010 at 12:14 AM, Andrea Dessì <nkj...@gmail.com> wrote: > I used to write code like that :P > it helps the editor to find the right funcion list for the outline :D > > I know it suKs but when you have to write a lot of code it's the best way > :) > > Personally I use eclipse + aptana, It's good if you have to develop > not only JS, especially if J2EE. :) > > -- > Andrea Dessì > > > On Wed, Dec 1, 2010 at 01:47, doubleTap <a...@adambragg.com> wrote: > >> Hey Matt, >> >> Oh no! You are correct. I was doing some node stuff and not viewing a >> standard mootools class. Wow, how did I not notice this before. I can >> see why though. What we call the "class" is just an argument to a >> function. >> >> WORKAROUND: I just tested doing the following and it made the outline >> show up: >> >> var classDefinition = { Implements:[Options...],initialize:function() >> {},...}; >> var myNewClass = new Class(classDefinition); >> >> It kinda sucks that it breaks from the standard way of writing the >> class but I tested it on a complex class that I have and it works. >> >> -doubleTap >> >> On Nov 30, 4:25 pm, Matt Thomson <mthomso...@gmail.com> wrote: >> > Hi doubleTap, >> > >> > I was using Aptana 2, I had the outline view showing, but it just had >> > the name of my class, and none of the child functions would show upon >> > expanding. >> > >> > I just downloaded Aptana 3 beta and installed, I am having the same >> > issue with just the class showing in the outline view, is there some >> > extra plugin or settings I need to change to get the outline to list >> > the functions? >> > >> > Thanks. >> > >> > On Dec 1, 12:50 pm, doubleTap <a...@adambragg.com> wrote: >> > >> > >> > >> > > Hi Matt, >> > >> > > I have some pretty big classes and Aptana outlines them well. I am >> > > assuming you are aware of the Outline view. I am using Aptana 3. >> > >> > > doubleTap >> > >> > > On Nov 30, 3:17 pm, Matt Thomson <mthomso...@gmail.com> wrote: >> > >> > > > Hi All, >> > >> > > > I am working with a class that has the standard structure: >> > > > var myClass = new Class >> > > > ({ >> > > > Implements: Options, >> > > > options: {}, >> > > > initialize: function(options){}, >> > > > function1: function(){}, >> > > > function2: function(){} >> > >> > > > }); >> > >> > > > The class has about 20 functions in it and is about 600 lines long. >> > >> > > > I can't find an IDE that will parse this class, and show an >> 'outline' >> > > > view in a side tab, that lists the class/functions in order, and >> will >> > > > make them linkable to the function in the code. >> > >> > > > Without this I end up scrolling up and down and using search >> > > > constantly, and it is getting increasingly difficult to work as the >> > > > file gets bigger. >> > >> > > > I have tried using Aptana with the mootools plugin (nice code hints, >> > > > but no outline), and using komodo (has outline, but in wrong order, >> > > > and half the functions missing) . >> > >> > > > Has anyone found a solution to this problem (on Windows). I'm not >> too >> > > > concerned with code hints, being able to navigate is the number 1 >> > > > issue. >> > >> > > > Thanks, >> > >> > > > Matt. >> > >