From previous threads, there are several Vim users here, looking
for ways to improve their Javascript editing experience.

You probably know about using tags files for project navigation,
and about using jsctags/doctorjs to generate such tags. But that
doesn't usually support navigation inside function scopes, to
local declarations and parameters, and to usage sites of such
local bindings. And in Javascript, those function scopes can be
big, especially if you use module patterns.

So I've extended jsctags to generate tags for local declarations,
with an indication of where those tags are in scope, and have
combined that with a Vim script for navigating wrt such scoped
tags. You can find an introductory blog post, with a brief
screencast and links to source repositories, here:

   Scoped tags support for Javascript, in Vim
   
http://libraryinstitute.wordpress.com/2011/09/16/scoped-tags-support-for-javascript-in-vim/

I hope you'll find this useful!-)

Claus
http://clausreinke.github.com/


--
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/jsmentors@jsmentors.com/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/jsmentors@googlegroups.com/

To unsubscribe from this group, send email to
jsmentors+unsubscr...@googlegroups.com

Reply via email to