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...
Show off your group to the world. Share a photo of your group with us.

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
Tagging Javascript function literals   Message List  
Reply | Forward Message #418 of 444 |
Re: [taglist] Tagging Javascript function literals

Thanks for the quick reply:

On Friday 22 May 2009, Yegappan Lakshmanan wrote:
> > Can this be done?
>
> The taglist plugin relies on exuberant ctags to parse a file and generate
> the tags defined in that file.
>
> If exuberant ctags supports generating tags for Javascript function
> literals, then the taglist plugin can display them.
>
> Try running exuberant ctags from the command line on the javascript file
> and see whether the tags are generated for function literals.
>
> The taglist plugin provides several configuration variables to control the
> options that are passed to exuberant ctags.
I probably don't fully understand your instructions, but I did the following:
:!ctags %
I did not see an output file produced.
After invoking tlisttoggle a couple of times and pressing 'u' in
the taglist window, I did not see any changes - I.E. no tagging
yet.

Could the regexes for the function literals be added to my .ctags
file without clobbering the compiled-in regexes for the
function funcname(){} form?

many thanks
tim





Sat May 23, 2009 2:58 am

timjohnson12...
Offline Offline
Send Email Send Email

Forward
Message #418 of 444 |
Expand Messages Author Sort by Date

At present taglist will only list javascript functions of the form: function func(){ } -- At least, so far as I can configure It would be great if taglist...
Tim Johnson
timjohnson12...
Offline Send Email
May 23, 2009
1:47 am

Hello, ... The taglist plugin relies on exuberant ctags to parse a file and generate the tags defined in that file. If exuberant ctags supports generating tags...
Yegappan Lakshmanan
yegappan
Offline Send Email
May 23, 2009
2:14 am

Thanks for the quick reply: ... I did not see an output file produced. After invoking tlisttoggle a couple of times and pressing 'u' in the taglist window, I...
Tim Johnson
timjohnson12...
Offline Send Email
May 23, 2009
3:02 am
Advanced

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