How can I use DoctorJS with Emacs?

2019-04-22 08:23发布

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.

3条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-04-22 08:29

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

查看更多
Viruses.
3楼-- · 2019-04-22 08:36

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.

查看更多
地球回转人心会变
4楼-- · 2019-04-22 08:52

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.

查看更多
登录 后发表回答