Search the web
Sign In
New User? Sign Up
taglist · Vim taglist (source browser) plugin
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
I see file names, but no tags   Message List  
Reply | Forward Message #426 of 448 |
Re: [taglist] Re: I see file names, but no tags

How did you get your Exuberant Ctags installed? I once came across the same problem (only file names, no tags shown in taglist sidebar), when I downloaded win32 binary from Ctags website and use it directly. The problem was gone after I compiled source code with cygin/gcc, and use the resulting binary instead.

On Mon, Jul 27, 2009 at 9:21 PM, Robert Mark Bram <robertmarkbram@...> wrote:
 

*bump* to see if anyone might be able to help - it's driving me crazy; I have tried on my work and home machines, downgraded to Exuberant Ctags 5.7.. nothing works.

Rob
:)

--- In taglist@yahoogroups.com, "Robert Mark Bram" <robertmarkbram@...> wrote:
>
> Hi All,
> I am 95% sure I have ctags configured correctly (Cygwin on Win XP) because I can do this and see all the expected targets and properties:
>
> Thu Jul 23 - 02:34 PM > ctags -f - --format=2 --excmd=pattern --
> fields=nks build.xml
> base.dir build.xml /^ <property
> name="base.dir" location="." \/>$/;" r line:13
> ...
> buildDeployable-other build.xml /^ <target
> name="buildDeployable-other"$/;" t line:329
> ...
>
> But when I open the xml file (or java file.. or any supported type) and run :TlistToggle, I see the file name but no tags.
>
> I have been going through the taglist FAQ and everything looks OK as far as I can see.
>
> "vim --version" shows 7.2,
> "ctags --version" shows 5.8
> ":echo system(Tlist_Ctags_Cmd . ' --version')" shows Exuberant Ctags 5.8 ..
> ":filetype" shows filetype detection:ON plugin:OFF indent:OFF
> ":echo exists('*system')" shows 1
> "ctags --list-languages" includes Ant and Java
>
> I have my .ctags file in the right place (and there was no difference if I made it ctags.cnf or copied .ctags and ctags.cnf to the same dir as build.xml and launched vim build.xml from that dir..
>
> Thu Jul 23 - 03:22 PM > cat $HOME/.ctags
> --langmap=ant:.xml
> --regex-ant=/^[ \t]*<[ \t]*project.*name="([^"]+)".*/\1/p,project/i
> --regex-ant=/^[ \t]*<[ \t]*target.*name="([^"]+)".*/\1/t,target/i
> --regex-ant=/^[ \t]*<[ \t]*property.*name="([^<"&]+)".*>/\1/r,property/i
> --langdef=flexwiki
> --langmap=flexwiki:.wiki
> --regex-flexwiki=/^!!*(.*)/\1/t,Title/i
> --regex-flexwiki=/TODO[ \t]*(.*)/\1/o,To Do/i
> --langdef=idx
> --langmap=idx:.idx
> --regex-idx=/^([a-zA-Z0-9][a-zA-Z0-9 ]+)/\1/h,Heading/i
>
> Any hints on what I may have missed?
>
> Thanks for any advice!
>
> Rob
> :)
>




Mon Jul 27, 2009 3:01 pm

stcalamitas
Offline Offline
Send Email Send Email

Forward
Message #426 of 448 |
Expand Messages Author Sort by Date

Hi All, I am 95% sure I have ctags configured correctly (Cygwin on Win XP) because I can do this and see all the expected targets and properties: Thu Jul 23 -...
Robert Mark Bram
robertmarkbram
Offline Send Email
Jul 24, 2009
12:58 am

*bump* to see if anyone might be able to help - it's driving me crazy; I have tried on my work and home machines, downgraded to Exuberant Ctags 5.7.. nothing...
Robert Mark Bram
robertmarkbram
Offline Send Email
Jul 27, 2009
1:21 pm

How did you get your Exuberant Ctags installed? I once came across the same problem (only file names, no tags shown in taglist sidebar), when I downloaded...
Xiong, Hui
stcalamitas
Offline Send Email
Jul 27, 2009
3:02 pm

Bugger, had to compile my own Exuberant Tags to make it work in command line vim. mkdir /apps/ctags58_fromCygwinCompiledSource tar -xzf...
Robert Mark Bram
robertmarkbram
Offline Send Email
Jul 28, 2009
4:04 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help