Search code examples
sshcloud9-ide

How to show root folders in file tree in cloud9 local ssh install


I've installed cloud9 locally on my remote sever following instructions from Cloud9's "sdkcore" repository on github.

I was able to activate it correctly.

However, once started, the files tree only shows Cloud9 folders, but if you want to edit a file contained in a /var/www/examplefolder directory, I cannot.

I could only modify through the ssh terminal, but I would like to be able to edit the files using the most convenient sublime editor.

cloud9 file tree

How can i fix it?

Thanks.


Solution

  • update:

    I resolved creating a link with the command :

    sudo ln -s /path/from/folder/you/need  /path/to/c9/workspace
    

    in that way you will see your files in c9 workspace folder in the file tree bar;

    or

    sudo ln -s /path/from/folder/you/need  /home/yourusername/
    

    in that way you will see your files in favourites folder in the file tree bar.