pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedCTAGS for PL/pgSQL ?
6+ messages / 3 participants
[nested] [flat]
* CTAGS for PL/pgSQL ?
@ 2013-08-28 15:08 Charles Sheridan <cesheri@swbell.net>
0 siblings, 1 reply; 6+ messages in thread
From: Charles Sheridan @ 2013-08-28 15:08 UTC (permalink / raw)
To: pgsql-sql
Does anyone know if there are any CTAGS extensions or variants that
support PL/pgSQL ?
I use exuberant-ctags which does not support it, and a web search does
not return anything promising.
(I sent this same email to -novice the list, but this list seems more
appropriate).
Regards,
Charles Sheridan
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
Attachments:
[text/plain] Attached Message Part (0B, ../../521E125C.6050706@swbell.net/2-Attached%20Message%20Part)
download
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: CTAGS for PL/pgSQL ?
@ 2013-08-29 12:57 Luca Ferrari <fluca1978@infinito.it>
parent: Charles Sheridan <cesheri@swbell.net>
0 siblings, 1 reply; 6+ messages in thread
From: Luca Ferrari @ 2013-08-29 12:57 UTC (permalink / raw)
To: cesheri@swbell.net; +Cc: pgsql-sql
On Wed, Aug 28, 2013 at 5:08 PM, Charles Sheridan <cesheri@swbell.net> wrote:
> Does anyone know if there are any CTAGS extensions or variants that support
> PL/pgSQL ?
>
> I use exuberant-ctags which does not support it, and a web search does not
> return anything promising.
As far as I know, the quick answer is NO.
However I made a few simple tests with etags and it seems to work with
plpgsql. However I would expect it to fail for some advanced features.
Luca
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: CTAGS for PL/pgSQL ?
@ 2013-08-29 13:18 Charles Sheridan <cesheri@swbell.net>
parent: Luca Ferrari <fluca1978@infinito.it>
0 siblings, 1 reply; 6+ messages in thread
From: Charles Sheridan @ 2013-08-29 13:18 UTC (permalink / raw)
To: Luca Ferrari <fluca1978@infinito.it>; +Cc: pgsql-sql
>> Does anyone know if there are any CTAGS extensions or variants that support
>> PL/pgSQL ?
>>
>> I use exuberant-ctags which does not support it, and a web search does not
>> return anything promising.
> As far as I know, the quick answer is NO.
> However I made a few simple tests with etags and it seems to work with
> plpgsql. However I would expect it to fail for some advanced features.
>
> Luca
>
Thanks Luca, unfortunately (?) I'm a pretty heavy Vim user, so etags is
not in my scope.
Regards,
Charles
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: CTAGS for PL/pgSQL ?
@ 2013-08-29 13:33 Bruce Momjian <bruce@momjian.us>
parent: Charles Sheridan <cesheri@swbell.net>
0 siblings, 1 reply; 6+ messages in thread
From: Bruce Momjian @ 2013-08-29 13:33 UTC (permalink / raw)
To: Charles Sheridan <cesheri@swbell.net>; +Cc: Luca Ferrari <fluca1978@infinito.it>; pgsql-sql
On Thu, Aug 29, 2013 at 08:18:03AM -0500, Charles Sheridan wrote:
>
> >>Does anyone know if there are any CTAGS extensions or variants that support
> >>PL/pgSQL ?
> >>
> >>I use exuberant-ctags which does not support it, and a web search does not
> >>return anything promising.
> >As far as I know, the quick answer is NO.
> >However I made a few simple tests with etags and it seems to work with
> >plpgsql. However I would expect it to fail for some advanced features.
> >
> >Luca
> >
> Thanks Luca, unfortunately (?) I'm a pretty heavy Vim user, so etags
> is not in my scope.
Uh, I think Vim can use etags, no? Isn't etags Exuberant Ctags? The
Exuberant Ctags's FAQ mentions Vim:
http://ctags.sourceforge.net/faq.html#11
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: CTAGS for PL/pgSQL ?
@ 2013-08-29 14:00 Luca Ferrari <fluca1978@infinito.it>
parent: Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 6+ messages in thread
From: Luca Ferrari @ 2013-08-29 14:00 UTC (permalink / raw)
To: Bruce Momjian <bruce@momjian.us>; +Cc: Charles Sheridan <cesheri@swbell.net>; pgsql-sql
On Thu, Aug 29, 2013 at 3:33 PM, Bruce Momjian <bruce@momjian.us> wrote:
> Uh, I think Vim can use etags, no? Isn't etags Exuberant Ctags? The
> Exuberant Ctags's FAQ mentions Vim:
>
I was referring to the etags shipped with emacs, that even if does not
support (explicitly) sql seems to work for a very simple test. I've
done the same test using the etags (from ctags) and it works too, so
now the important thing is to make vim using the tags file and see
what is missing.
Luca
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: CTAGS for PL/pgSQL ?
@ 2013-08-29 14:17 Charles Sheridan <cesheri@swbell.net>
parent: Luca Ferrari <fluca1978@infinito.it>
0 siblings, 0 replies; 6+ messages in thread
From: Charles Sheridan @ 2013-08-29 14:17 UTC (permalink / raw)
To: Luca Ferrari <fluca1978@infinito.it>; +Cc: Bruce Momjian <bruce@momjian.us>; pgsql-sql
On 13-08-29 9:00 AM, Luca Ferrari wrote:
> On Thu, Aug 29, 2013 at 3:33 PM, Bruce Momjian <bruce@momjian.us> wrote:
>
>> Uh, I think Vim can use etags, no? Isn't etags Exuberant Ctags? The
>> Exuberant Ctags's FAQ mentions Vim:
>>
> I was referring to the etags shipped with emacs, that even if does not
> support (explicitly) sql seems to work for a very simple test. I've
> done the same test using the etags (from ctags) and it works too, so
> now the important thing is to make vim using the tags file and see
> what is missing.
>
>
> Luca
>
>
Vim documentation states that ctags won't work w/ vim, and recommends
exuberant-ctags. If ctags does process PL/pgSQL, perhaps that output
could be added to the exuberant-ctags tags file, likely w/ some
processing. I've got exuberant-ctags on a cron, and I think that Vim
also calls it periodically during a Vim session, so I'd also cron ctags
for regular update to the same tags file. To avoid sync problems,
where exuberant-ctags overwrites the ctags content, I'd actually want to
call both tags programs from the a common exuberant-ctags wrapper.
Charles
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2013-08-29 14:17 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-08-28 15:08 CTAGS for PL/pgSQL ? Charles Sheridan <cesheri@swbell.net>
2013-08-29 12:57 ` Luca Ferrari <fluca1978@infinito.it>
2013-08-29 13:18 ` Charles Sheridan <cesheri@swbell.net>
2013-08-29 13:33 ` Bruce Momjian <bruce@momjian.us>
2013-08-29 14:00 ` Luca Ferrari <fluca1978@infinito.it>
2013-08-29 14:17 ` Charles Sheridan <cesheri@swbell.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox