jsctags

How can I use DoctorJS with Emacs?

僤鯓⒐⒋嵵緔 提交于 2020-02-01 20:13:07
问题 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

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

NODE_PATH error with node.js while attempting to setup jsctags for vim

筅森魡賤 提交于 2019-12-12 19:01:10
问题 I am trying to setup doctorjs on my windows machine, to work with vim's tagbar, but I think this may be a node.js question more than anything else. I'm following this tutorial. Even after I set my NODE_PATH, I still get an error claiming that it needs to be set. What could be going wrong? Here is a terminal log on my win7 machine: C:\Windows\system32>set NODE_PATH=C:\Users\JG\Desktop\new\doctorjs\lib\jsctags C:\Windows\system32>node.exe C:\Users\JG\Desktop\new\doctorjs\bin\jsctags.js -h 'node

Vim Javascript Autocompletion + Suggestions?

北城余情 提交于 2019-12-07 07:25:42
问题 I'm developing on top of OpenLayers.js. My project folder is structured as follows: project / |-- OpenLayers.js |-- map.html |-- map.js \-- etc As you can argue, when I start a new map project, I espect suggestions from Vim on how to complete the code, reading JS classes from all the libraries in the project folder (in this case, just OpenLayers.js ). E.g.: map = new OpenLayers. --> <C-x><C-o> map = new OpenLayers.Bounds .Control .Map Selecting one of the suggested classes I should get a kind

Vim, Javascript, DoctorJS (jsctags) and Taglist (Source code browsing)

好久不见. 提交于 2019-12-07 02:39:43
问题 I've installed DoctorJS (previously jsctags ) in an attempt to get some good source-code browsing/tag-listing for Vim (using the Taglist plugin). Installing went fine, but Vim's Taglist doesn't work with DoctorJS. When trying to open the tag-list window in Vim via :TListToggle , I get the following error: Taglist: Failed to generate tags for /home/me/script.js ctags: illegal option -- -^@usage: ctags [-BFadtuwvx] [-f tagsfile] file ...^@ I've searched the www, and found out this guide,

Vim, Javascript, DoctorJS (jsctags) and Taglist (Source code browsing)

梦想与她 提交于 2019-12-05 07:49:54
I've installed DoctorJS (previously jsctags ) in an attempt to get some good source-code browsing/tag-listing for Vim (using the Taglist plugin). Installing went fine, but Vim's Taglist doesn't work with DoctorJS. When trying to open the tag-list window in Vim via :TListToggle , I get the following error: Taglist: Failed to generate tags for /home/me/script.js ctags: illegal option -- -^@usage: ctags [-BFadtuwvx] [-f tagsfile] file ...^@ I've searched the www, and found out this guide, suggesting a replacement plugin called Taglist-Plus , but it doesn't work with DoctorJS, only with the old