Hi Enrico,

dojo is a very mature javascript library many big companies are implementing their web apps with
http://www.dojotoolkit.org/

You will find IBM, Sun/Oracle, AOL, Cisco, Sitepen, Thomson Reuters and others among those companies relying on dojo's javascript tools. Chances are that geany get's a boost once it could handle the few quirks which come with dojo for the parser.

As I experimented with some source files using dojo, just commenting the dojo.declare statement and replacing it with var myfunc = function() 
already made geany understand a lot more about the symbols and display them, so can't be that much.

btw. as far as I can say already (and after one week of using geany now) I kind of seem to settle on it after a long long journey.
Great job, just the right mix of speed, simplicity, features and configuration capability. 

Once I figure out more about geany's internals I may help, but for now I am very busy with a dojo/python/C project for one of the big guys I mentioned before ;)

best
Stefan

2010/8/29 Enrico Tröger <enrico.troeger@uvena.de>
On Fri, 27 Aug 2010 21:32:49 +0200, Stefan wrote:

Hi Stefan,

>Sorry for the fuss, it's that geany gets confused with dojo specifics
>like dojo.declare and cant find any tags when it hits this.
>Any chance that geany understands dojo stuff soon ?

As usual it needs someone to implement it :).
I have no idea what dojo is nor how it looks like and how it confuses
the Javascript parser.
But some more general information: the parser used is the (mostly) same
as in the Ctags project (http://ctags.sourceforge.net/).

If you are a little familiar with C, have a look at the parser at
http://geany.svn.sf.net/viewvc/geany/trunk/tagmanager/js.c?view=markup,
maybe you can fix it and then we would be happy to receive a patch.

Regards,
Enrico

--
Get my GPG key from http://www.uvena.de/pub.asc

_______________________________________________
Geany mailing list
Geany@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany