如何将 DoctorJS 与 Emacs 一起使用?

发布于 2024-11-17 05:57:08 字数 104 浏览 14 评论 0原文

有没有办法使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

猛虎独行 2024-11-24 05:57:09

它声称与 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.

烛影斜 2024-11-24 05:57:08

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.

烈酒灼喉 2024-11-24 05:57:08

请尝试这个 fork,它支持 -e 选项: https://github.com/berenddeboer/doctorjs

Please try this fork, which does support the -e option: https://github.com/berenddeboer/doctorjs

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文