Am using vim, which knows about  ctags. Exuberant ctags (which is the name of a 
piece of software) knows about languages other than C. It seems not to know 
about class structure, and which function is being overridden where. I want to 
be able to read through the code that my Swift interface will be executing to 
look for filesystem calls, and I want to be able to ignore code which won't be 
executed. grep hasn't been my best friend in this process, although we *are* 
drinking buddies.
________________________________________
From: wikitech-l-boun...@lists.wikimedia.org 
[wikitech-l-boun...@lists.wikimedia.org] on behalf of Brion Vibber 
[br...@pobox.com]
Sent: Monday, May 02, 2011 7:24 PM
To: Wikimedia developers
Subject: Re: [Wikitech-l] auditcode.py - discern class structure

On Mon, May 2, 2011 at 4:21 PM, Russell N. Nelson - rnnelson <
rnnel...@clarkson.edu> wrote:

> Maybe there's a better tool to tell you what function is defined in what
> class in PHP, but I couldn't find one in the time it would take me to write
> it, so I wrote it.


Depending on what you're trying to do, this may already be built into your
editor or IDE. NetBeans for instance, with the standard PHP plugin installed
is able to jump to class, function, or symbol definitions via a hotkey (or
ctrl+click or right-click+menu on a mention in source).

-- brion
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to