I've been a C programmer for sometime, I still miss those good days.
Working fine on a Linux machine, using (g)Vim and plugins as an IDE.
Today, I found this awesome news.
Great!!!!!!!!!!
Because I use gentoo, not Ubuntu, I had to install those tools without support of apt-get thing.
Here's how I did it.
- Install node.js
Download the source code from here.
Extract the tar ball, sudo ./configure, make, make install.
Or you can emerge the masked nodejs package.
- Install jsctags
Do not download source file from github.com!!!
You should
git clone --recursive git://github.com/mozilla/doctorjs.git .
Clone it with "--recursive" or you will fail to build because of the narcissus sub package.
Then, you can make and make install.
- Setup for jsctags
You should add
export NODE_PATH="/usr/local/lib/jsctags/:$NODE_PATH"
in your .bashrc or .profile.
I hope this post helps.
No comments:
Post a Comment