Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

jsctags no longer reports scope of tags #5

Open
majutsushi opened this Issue · 46 comments
@majutsushi

Hi,

I'm the author of Tagbar (http://majutsushi.github.com/tagbar/), a Vim plugin that can use jsctags to show an overview of the current file in a separate window. One useful aspect is that it can show the tags properly nested, and this worked fine with jsctags sometime in April. However, the current version doesn't report the tag scopes via extension fields like namespace anymore, which results in all tags being reported as top-level tags. It would be really useful if this functionality could be restored again.

@pcwalton
Owner

Hi majutsushi,

My time is scarce at the moment, but your issue isn't forgotten; I'll check back on this when I have a few spare cycles.

@ehynds

+1 - would love to see this fixed.

@timmak

+1 - Fix would be much appreciated

@huyz

+1

@rolnxyz

+1

@rolnxyz

I think 011b866 is the commit where namespaces stop working.

@pepiino

+1

@rolnxyz

@pcwalton we need you :d. I tried to fix it, but I can't.

@pcwalton
Owner

I think it would be best to have dimvar look at this when he can...

@dimvar dimvar was assigned
@Ajnasz

What's the state of this issue? @dimvar could you take a look at it, please?

@dimvar

I'm afraid I won't have much time to work on DrJS in the next few months, as I'm finishing my PhD in the Spring. During this time, I won't be able to fix this issue.

@davibe

+1 (?)

@fun-pk

+1

@dhazel

+1

@davibe

+1

@davibe

the "quickfix" of reverting to an older version mentioned here https://github.com/majutsushi/tagbar/wiki
does not work with recent versions of node.js (the older doctor.js does not work with it) so currently the only option is to fix this upstream

@trkoch

+1

@dmmalam

+1

@oryband

+2

@Zloy

+1

@gkatsev

+1

@samvit

+1

@micheee

+1 :+1:

@ehynds

+1

@xcambar

No offense intended, but it's been a year since the issue is open.
Could you guys @pcwalton and @dimvar provide us with a little update ?

This one must be particularly tricky, and I was wondering if anything has been planned on your side (if you have time to spend on it) or if the community (including me, FWIW) should start relaying you, because people mostly seem to wait for your input so far, excepting @clausreinke through his pull request.

Thanks for the hard work on doctorjs, guys! It's very valuable!

@dimvar

Hi Xavier, my status update is that I've stopped working on drjs for several months now, as I'm busy with other things. I don't know about Mozilla's status, Patrick or Dave would know more about that.

@dlorych

+1

@xcambar

@dimvar Sorry for the late answer and sorry to hear that.

"The show must go on", we use to say...

@chadkeck

+1

@iamdustan

For everyone +1ing this (especially the vim and emacs users): http://www.indiegogo.com/projects/tern-intelligent-javascript-editing

@felipernb

Two years have passed, still no updates on this? (Or any fork that has fixed it?)

@majutsushi

There is an alternative project using a different library, but the ctags-format output is still work in progress:
https://github.com/ramitos/jsctags
Maybe someone versed in JavaScript can give it a hand.

@dimvar dimvar was unassigned by majutsushi
@cj1324

+1

@ja-mes

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.