gpt4 book ai didi

javascript - Vim、Javascript、DoctorJS (jsctags) 和 Taglist(源代码浏览)

转载 作者:数据小太阳 更新时间:2023-10-29 05:13:42 25 4
gpt4 key购买 nike

我已经安装了 DoctorJS (以前是 jsctags)试图为 Vim 获得一些好的源代码浏览/标签列表(使用 Taglist 插件)。

安装很顺利,但 Vim 的 Taglist 不适用于 DoctorJS。

当尝试通过 :TListToggle 在 Vim 中打开标签列表窗口时,出现以下错误:

Taglist: Failed to generate tags for /home/me/script.js
ctags: illegal option -- -^@usage: ctags [-BFadtuwvx] [-f tagsfile] file ...^@

我搜索了 www,找到了 this guide, suggesting a replacement plugin called Taglist-Plus ,但它不适用于 DoctorJS,只能用于未维护的旧版本 jsctags

简而言之 - 我无法让它工作。非常令人沮丧。我们应该能够很好地浏览 JavaScript 源代码!

有哪位 Vim 高手设法让这个东西正常工作?

提前致谢。

更好的解决方案:

解决这个问题后(感谢回复,@romainl),I wrote a short guide on how to get this thing done easily as an answer to another question .我建议检查一下。

最佳答案

我使用 TagBar .最新版本应该支持 DoctorJS。

关于javascript - Vim、Javascript、DoctorJS (jsctags) 和 Taglist(源代码浏览),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5833531/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com