如何将 DoctorJS 与 Emacs 一起使用?
有没有办法使用DoctorJS(显然它以前被称为jsctags)为Emacs生成TAGS文件?
我一直在环顾四周,似乎总是使用 vi 标签样式,但我可能会遗漏一些非常明显的东西。
Is there a way to use DoctorJS (apparently it used to be called jsctags) to generate a TAGS file for Emacs?
I've been looking around and it seems to always use the vi tags style, but I could be missing something very obvious.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
它声称与 ctags 兼容,在这种情况下,它希望接受相同的
-e
命令行选项,告诉 ctags 在 etags 模式下运行,为 Emacs 生成 TAGS。根据 github 自述文件,
jsctags -h
应显示可用选项。It claims to be compatible with ctags, in which case it hopefully accepts the same
-e
command-line option that tells ctags to run in etags mode, to generate TAGS for Emacs.jsctags -h
should display the available options, according to the github readme file.doctorjs 似乎不输出 emacs 样式标签。它不接受 -e 选项。
添加 emacs 标签支持可能不会那么困难,因为 emacs 和 vim 标签文件都是非常简单的格式。
doctorjs does not appear to output emacs style tags. It does not accept the -e option.
Probably it would not be that difficult to add emacs tag support, as both emacs and vim tag files are a very simple format.
请尝试这个 fork,它支持 -e 选项: https://github.com/berenddeboer/doctorjs
Please try this fork, which does support the -e option: https://github.com/berenddeboer/doctorjs