How can I use DoctorJS with Emacs?

心不动则不痛 提交于 2020-02-01 20:12:02

问题


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.


回答1:


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.




回答2:


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




回答3:


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.



来源:https://stackoverflow.com/questions/6474864/how-can-i-use-doctorjs-with-emacs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!