Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#28 Use of Etags or Vtags in J.

closed
nobody
None
5
2013-04-05
2005-10-20
Bhavesh Patel
No

Thanks for creating J.

I have been using J since a while and it is the best
editor I have used. I find something new everyday.
One thing I noticed is how you can go to other function
by findTagAtDot now is there any way to use tags
created by vtag or etag on linux side.

Thanks

Discussion

  • Peter Graves
    Peter Graves
    2005-10-21

    Logged In: YES
    user_id=558172

    J uses its own internal version of tags, which is similar to
    etags. There is no way to use external tag files.

     
  • Logged In: NO

    I have noticed it does not recognize lots of tags. Is there any
    way to create the update the tags, or generate tags for given
    directory structure.

    Thanks

     
  • Peter Graves
    Peter Graves
    2005-10-26

    Logged In: YES
    user_id=558172

    You might try adding something like this to ~/.j/prefs to
    set the tagPath for the mode you're interested in:

    JavaMode.tagPath =
    /home/peter/depot/j/src/org/armedbear/j:/home/peter/depot/j/src/org/armedbear/lisp

     
  • Bhavesh Patel
    Bhavesh Patel
    2005-11-04

    Logged In: YES
    user_id=820250

    Hi Peter,

    Thanks for reply. Still one more stupid question. I am trying to
    set the mode for C,
    So
    do I need to say.
    CMode.tagPath=/home/me/?
    What is the path points at. Does the path is the directory
    where I want to start generating tags for? or the path is where
    the tags are located?
    Also if it is the path where tags are located, how can say that
    this is the directory where I want to generate tag from.

    Again thanks for awesome editor. You can see from that I am
    using jave written editor for editing C code.

     
  • Peter Graves
    Peter Graves
    2005-11-05

    Logged In: YES
    user_id=558172

    You need to put a line in ~/.j/prefs (or C:\.j\prefs) that
    points to the directory (or directories) containing the
    source files for which you'd like to generate tags.

    For example:

    CMode.tagPath =
    /home/peter/project1/src:/home/peter/project2/src

    You don't need to worry about where the tags are located; j
    handles that automatically. (They go into ~/.j/tagfiles.)

     
  • Kevin Krouse
    Kevin Krouse
    2013-04-05

    Ticket moved from /p/armedbear-j/support-requests/4/

     
  • Kevin Krouse
    Kevin Krouse
    2013-04-05

    • status: open --> closed
    • milestone: --> Next_Release_(example)