[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: source text not including leading whitespace
From: |
Hideki IWAMOTO |
Subject: |
Re: source text not including leading whitespace |
Date: |
Mon, 03 Mar 2014 22:37:42 +0900 |
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 <address@hidden> 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 <address@hidden>
- source text not including leading whitespace, Leo Liu, 2014/03/02
- Re: source text not including leading whitespace, Shigio YAMAGUCHI, 2014/03/02
- Re: source text not including leading whitespace, Leo Liu, 2014/03/02
- Re: source text not including leading whitespace, Shigio YAMAGUCHI, 2014/03/03
- Re: source text not including leading whitespace, Leo Liu, 2014/03/03
- Re: source text not including leading whitespace,
Hideki IWAMOTO <=
- Re: source text not including leading whitespace, Leo Liu, 2014/03/03
- Re: source text not including leading whitespace, Leo Liu, 2014/03/03
- Re: source text not including leading whitespace, Shigio YAMAGUCHI, 2014/03/03