Bill,

Thank you for that hint to search the archive for ctags.

I found a handful of good ideas there including your shell script: #
jtags from juggle home. I changed the last line from this
}' | sort > tags

to this
}' | sort > TAGS

as I think Raul suggested in a follow-on to your message which
included the script.

http://www.jsoftware.com/pipermail/programming/2009-February/013807.html

Btw, I was really pleased to find that I could revise the
mailer-induced typo in the cvs command in Martin's message at the
following link. The phrase ` at ` had to be replaced by the single
character @(shift-2).

http://www.jsoftware.com/pipermail/programming/2008-January/009389.html

But, alas, I still have a small glitch. After creating a tags file for
my j602-user directory which only produced one error which seemed to
object to only one error (see the error below), I tried to use the
tags from within vim.

***********error report *******
sh j ../j602-user
awk: can't open file ./photos/photoresize
 input record number 83, file ./photos/photoresize
 source line number 1
***********error report *******

In vim I opened an ijs file and positioned my cursor in the letters
`iomax` and typed control-] as I had seen in a helpful screencast on
ctags at
http://smartic.us/2009/04/05/using-ctags-in-vim/
but that produced the following error messages (which I hope are not
related to the error above).

***********error report 2*******
E431: Format error in tags file "tags"
Before byte 99375
Hit ENTER or type command to continue
E426: tag not found: iomax
Hit ENTER or type command to continue
***********error report 2*******

When I look at character 99375 in the file tags I am positioned
at the first period in line 2056:

   2056 init    ./httpget.ijs   /^init=: 3 : 0^M$/

Do you have any idea what  I can do to fix this?

Thanks,

On Thu, Aug 6, 2009 at 2:31 AM, bill lam<[email protected]> wrote:
> If you use ide (c++ or java frontend) 'find-in-file' as suggested by
> Ric should be the best way to do.  However if you use jconsole, or
> external editors then that feature is not yet available.  In that case
> ctags should be helpful.  Martin wrote an version of ctags for J
> (jtags?).  Please search forum archive using the keyword "ctags"
>


-- 
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to