Cloud9 Code Autocompletion doesn't work

Hi,
as the heading says, I am not able to use code autocompletition in Cloud9 as they describe here: https://docs.c9.io/autocompletion.html.
What works is adding closing tags in html, but what I am missing is a completition with javascript.

An example:

var http = require(‘http’);
http. => at this point I expect that after the dot I can choose “createServer” from a list. At the homepage of c9.io they illustrate that functionality.

Because autocomletition is a very helpful feature, I don’t want to miss it. Everything else works fine:

  1. Installing express (then npm install) and run the server works like a charm, so I am able to code and bring my software to run.
  2. In the preferences of the Cloud9 IDE there is a switch for enabling / disabling autocompletition. This switch is turned on.

Is it possible that autocompletition works only, when coding online, I mean with an account at c9.io inside the “Cloud9- cloud” (nice pun)?
On the beaglebone black is an open source standalone variant installed. Could this be the reason why autocomletition doesn’t work?
Who could it bring to work?

Thank you in advance,

Günter

Hi,
as the heading says, I am not able to use code autocompletition in Cloud9 as they describe here: https://docs.c9.io/autocompletion.html.
What works is adding closing tags in html, but what I am missing is a completition with javascript.

An example:

var http = require(‘http’);
http. => at this point I expect that after the dot I can choose “createServer” from a list. At the homepage of c9.io they illustrate that functionality.

Because autocomletition is a very helpful feature, I don’t want to miss it. Everything else works fine:

  1. Installing express (then npm install) and run the server works like a charm, so I am able to code and bring my software to run.
  2. In the preferences of the Cloud9 IDE there is a switch for enabling / disabling autocompletition. This switch is turned on.

Is it possible that autocompletition works only, when coding online, I mean with an account at c9.io inside the “Cloud9- cloud” (nice pun)?
On the beaglebone black is an open source standalone variant installed. Could this be the reason why autocomletition doesn’t work?
Who could it bring to work?

Thank you in advance,

First what version of the rootfs are you running? Cat /etc/dogtag … The may 2014 release has an ancient cloud 9 release. Upgrade to the latest wheezy snapshot and you’ll get a version of cloud 9 synced weekly with the developers. Via apt-get…

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2015-02-01

Regards,

Ok, Robert - I have the may 2014 release running, what may be the reason, as you pointed out. I will test a newer version from elinux and give some feedback.

Thank you!

Ok,
now I have flashed BBB-eMMC-flasher-debian-7.8-console-armhf-2015-02-01-2gb.img to the eMMC.

After that I did the following steps in the console:

  • setting up the network card and nameserver.

apt-get update

apt-get upgrade

apt-get install -y build-essential g++ curl libssl-dev apache2-utils git libxml2-dev nodejs npm

ln -s /usr/bin/nodejs /usr/bin/node => this is necessary in Debian

cd /opt

git clone https://github.com/ajaxorg/cloud9.git

cd /opt/cloud9

npm install

mkdir /var/lib/cloud9

node /opt/cloud9/server.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000

I can open the cloud9 IDE via the network, but:

  • when I open a file in cloud9, a tab appears with the filename. But it shows nothing in the editor window and there is no way to edit something → editor is just gray.
  • the same behavior is true for existing files and files that have been created in cloud9

What am I missing here? Did I anything wrong while installing?