Hi. Leo.
> 2.
> $ rm -f GTAGS GRTAGS GPATH
> $ GTAGSLABEL=ctags gtags
> $ global -v --result=grep --path-style=shorter prepareTimezone
> DrupalDateTime.php:74:protected function prepareTimezone($timezone) {
Since the leading whitespaces are not included `ctags -x' output, getting
complete line
images in ctags plugin is not easy.
An easy workaround is using compact format.
GTAGSLABEL=ctags gtags -c
On Mon, 03 Mar 2014 17:30:58 +0800
Leo Liu <[email protected]> wrote:
> On 2014-03-03 15:27 +0800, Shigio YAMAGUCHI wrote:
> > Isn't it possible to write a source file including a couple of lines
> > to reproduce the bug?
>
> Download the attached php file and place it in a directory then do these
> experiments:
>
> 1.
> $ gtags
> $ global -v --result=grep --path-style=shorter prepareTimezone
> DrupalDateTime.php:74: protected function prepareTimezone($timezone) {
>
> 2.
> $ rm -f GTAGS GRTAGS GPATH
> $ GTAGSLABEL=ctags gtags
> $ global -v --result=grep --path-style=shorter prepareTimezone
> DrupalDateTime.php:74:protected function prepareTimezone($timezone) {
>
> 3.
> $ global -v --result=cscope --path-style=shorter prepareTimezone
> DrupalDateTime.php prepareTimezone 74 protected function
> prepareTimezone($timezone) {
>
> Leo
>
--
Hideki IWAMOTO <[email protected]>
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global