Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

jsctags no longer reports scope of tags #5

Open
majutsushi opened this Issue · 46 comments

37 participants

Jan Larres Patrick Walton Eric Hynds timmak Huy Z rolnxyz Josef Adamčík Lajos Koszti Dimitris Vardoulakis Davide Florian Sesser fun-pk David Hazel Jeffrey Gillis Tristan Koch Dharmesh Malam Ory Band Zloy Gary Katsevman wedgwood Samvit Ramadurgam Wil Moore III Microfed Michael and others
Jan Larres

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.

Patrick Walton
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.

Eric Hynds

+1 - would love to see this fixed.

timmak

+1 - Fix would be much appreciated

Huy Z

+1

rolnxyz

+1

rolnxyz

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

Josef Adamčík

+1

rolnxyz

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

Patrick Walton
Owner

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

Dimitris Vardoulakis dimvar was assigned
Lajos Koszti

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

Dimitris Vardoulakis

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.

Davide

+1 (?)

fun-pk

+1

David Hazel

+1

Davide

+1

Davide

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

Tristan Koch

+1

Dharmesh Malam

+1

Ory Band

+2

Zloy

+1

Gary Katsevman

+1

Samvit Ramadurgam

+1

Michael

+1 :+1:

Eric Hynds

+1

Xavier Cambar

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!

Dimitris Vardoulakis

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.

Daniel

+1

Xavier Cambar

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

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

Chad Bibler

+1

Dustan Kasten

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

Felipe Ribeiro

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

Jan Larres

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.

Dimitris Vardoulakis dimvar was unassigned by majutsushi
寒晨

+1

James Brown

+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.