help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: etags and php classes


From: Luca Ferrari
Subject: Re: etags and php classes
Date: Thu, 3 Apr 2014 08:27:49 +0200

On Wed, Apr 2, 2014 at 6:03 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> Perhaps post here a sample file with classes that are not tagged.

Consider the following simple file (class):

<?php

class Foo{
    public function doSomething(){
        echo "Something";
    }

    public function doSomethingElse(){
        echo "Else";
    }
}


?>

then, if I rebuild the tags file with
etags --members `find . -name '*.php'`

and then list the tags for Foo I got (M-x list-tags Foo.php):

Tags in file `/sviluppo/php/edilweb/edilweb/classes/Foo.php':

class Foo{


If I search for one of the functions (M-.) I got:

No tags containing doSomethingElse


Any idea?
Thanks,
Luca



reply via email to

[Prev in Thread] Current Thread [Next in Thread]