[fpc-pascal] [OT] which editor - Vim and Exuberant Ctags?

johanns at nacs.net johanns at nacs.net
Wed Jan 13 17:55:47 CET 2010

On Sun, Jan 10, 2010 at 02:44:46PM +0100, Hans-Peter Suter wrote:
> I'm on a mac and use TextMate currently. As it doesn't jump between
> declaration and implementation and ist mac-only, I am looking for a
> replacement.
> Is Emacs a good choice? Does it work well with FPC?

I do my Pascal development using GVim and tag files generated with
Exuberant Ctags.  I am underwhelmed by the support for Pascal as a
language relative to ones like the C languages that are tied to the
history of the Vi editor family.

Exuberant Ctags will generate a tag file for classic Pascal code, but
only stand-alone functions and procedures are supported.  There is no
support for generating tags for variables of any kind.  Also, there is
not support for object oriented Pascal.  This is what I mean by
stand-alone functions and procedures.  Any use of dot notation with
functions or procedures is ignored.  Better support for prioritizing
IMPLEMENTATION versus INTERFACE sections would also be a plus.

Anyone know of any better options for navigating Pascal source code from
a classic or general purpose programmer's text editor?  Ideal would be a
better way of generating tag files.  I don't suppose anyone has
considered getting Cscope to work with Pascal source code?

More information about the fpc-pascal mailing list