Provides code completion using the codeintel plugin ported from the Open Komodo Editor.
https://pypi.python.org/pypi/CodeIntel
On normal Cloud9 workspaces, all dependencies of this plugin are installed and work out of the box.
-
Install pip
Most Linux distributions these days have pip already installed. If not, the following command should help you install it. Otherwise, there's always Google.
sudo easy_install pip
-
Make sure pip is up-to-date
sudo pip install -U pip
-
Install and setup virtualenv
sudo pip install -U virtualenv virtualenv --python=python2 $HOME/.c9/python2 source $HOME/.c9/python2/bin/activate
-
Install codeintel dependencies
For Debian/Ubuntu-flavored distributions, type:
sudo apt-get update sudo apt-get install python-dev
For other flavors of Linux, see:
http://stackoverflow.com/questions/8282231/ubuntu-i-have-python-but-gcc-cant-find-python-h
-
Download codeintel
mkdir /tmp/codeintel pip download -d /tmp/codeintel codeintel==0.9.3
-
Install codeintel
Before installation, we patch codeintel to work on Linux.
cd /tmp/codeintel tar xf CodeIntel-0.9.3.tar.gz mv CodeIntel-0.9.3/SilverCity CodeIntel-0.9.3/silvercity tar czf CodeIntel-0.9.3.tar.gz CodeIntel-0.9.3 pip install -U --no-index --find-links=/tmp/codeintel codeintel
-
Reload Cloud9.
-
Run the following command to install virtualenv.
sudo pip install virtualenv
-
That's it! Cloud9 should be able to install the stock CodeIntel 0.9.3 based on this config. On OSX it is not necessary to follow the steps above to patch the package before installing it.
-
Reload Cloud9.
Unfortunately Windows is not supported at this time.