admin管理员组文章数量:1516870
I've installed DoctorJS (previously jsctags) in an attempt to get some good source-code browsing/tag-listing for Vim (using the Taglist plugin).
Installing went fine, but Vim's Taglist doesn't work with DoctorJS.
When trying to open the tag-list window in Vim via :TListToggle, I get the following error:
Taglist: Failed to generate tags for /home/me/script.js
ctags: illegal option -- -^@usage: ctags [-BFadtuwvx] [-f tagsfile] file ...^@
I've searched the www, and found out this guide, suggesting a replacement plugin called Taglist-Plus, but it doesn't work with DoctorJS, only with the old unmaintained version, jsctags.
In short - I can't get this to work. Very frustrating. We should be able to have good JavaScript source-code browsing!
Any Vim wizzes out there that have managed to get this thing working?
Thanks in advance.
Better Solution:
After resolving this problem (thanks for the answer, @romainl), I wrote a short guide on how to get this thing done easily as an answer to another question. I remend to check it out.
I've installed DoctorJS (previously jsctags) in an attempt to get some good source-code browsing/tag-listing for Vim (using the Taglist plugin).
Installing went fine, but Vim's Taglist doesn't work with DoctorJS.
When trying to open the tag-list window in Vim via :TListToggle, I get the following error:
Taglist: Failed to generate tags for /home/me/script.js
ctags: illegal option -- -^@usage: ctags [-BFadtuwvx] [-f tagsfile] file ...^@
I've searched the www, and found out this guide, suggesting a replacement plugin called Taglist-Plus, but it doesn't work with DoctorJS, only with the old unmaintained version, jsctags.
In short - I can't get this to work. Very frustrating. We should be able to have good JavaScript source-code browsing!
Any Vim wizzes out there that have managed to get this thing working?
Thanks in advance.
Better Solution:
After resolving this problem (thanks for the answer, @romainl), I wrote a short guide on how to get this thing done easily as an answer to another question. I remend to check it out.
Share Improve this question edited May 23, 2017 at 11:45 CommunityBot 11 silver badge asked Apr 29, 2011 at 14:42 Ory BandOry Band 15.8k15 gold badges61 silver badges66 bronze badges1 Answer
Reset to default 8I use TagBar. The latest version is supposed to support DoctorJS.
本文标签: vimjavascriptDoctorJS (jsctags) and Taglist (Source code browsing)Stack Overflow
版权声明:本文标题:Vim, Javascript, DoctorJS (jsctags) and Taglist (Source code browsing) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.betaflare.com/web/1744104898a2591020.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论