i've taken a look and to be honest i'm terrible with regexp's and could
use some help. i'm trying to define a way to see objects in a certain
format in my JS files:<br>
<br>
var CustomObject = Class.create();<br>
CustomObject.prototype = Object.extend( (new ViewObject()), {<br>
    member1 : true,<br>
    member2 : "someString",<br>
    member3 : "anotherString",<br>
<br>
    someFunction : function(){<br>
        //doSomething<br>
    },<br>
<br>
   someOtherFunction : function(){<br>
<br>
   }<br>
};<br>
<br>
so then in the tmCodeBrowser i'd see something like:<br>
   Objects<br>
      - CustomObject<br>
         - member1<br>
         - member2<br>
         - member3<br>
         - someFunction<br>
         - someOtherFunction etc....<br>
<br>
something along those lines anyway. can one of you point me in a
starting direction for howto setup the .ctags.tmcodebrowser file to do
this for javascript files?<br>
<br>
much thanx if you can!<br>
<br><br><div><span class="gmail_quote">On 11/29/05, <b class="gmail_sendername">Allan Odgaard</b> <<a href="mailto:throw-away-1@macromates.com">throw-away-1@macromates.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 29/11/2005, at 16:03, Jamal Johnson wrote:<br><br>> sorry for the confusion. i'm actually wondering how the 'symbols'<br>> are created / determined?<br><br>The language grammar assign names to the various elements in the
<br>language (see these by pressing ctrl-shift P with the caret on a<br>language element).<br><br>Then a bundle preferences item (see Bundle Editor and hunt for the<br>"Symbol List: …" items) will set the showInSymbolList to 1 and use a
<br>scope selector (which is like a CSS selector) to target which<br>elements should have get setting (and thus be included).<br><br>So only stuff matched by the language grammar can be included in the<br>pop-up. It is of course possible to change the language grammar to
<br>match more, but it sounds like you should first check the<br>TmCodeBrowser plug-in suggested by Haris, which use ctags to collect<br>the symbols.<br><br>
</blockquote></div>