Setting up Eclipse Projects

Edit Eclipse's eclipse.ini configuration file, and set the -Xms and -Xmx variables to large values (e.g., 512m and 4096m respectively). The Cloud9 code base is substantial, so indexing and navigating the code requires a lot of memory.

Create a C++ project for LLVM. In the project wizard, uncheck the "Use default location box" and enter the LLVM path in the Cloud9 depot. As a project type, select empty Makefile project, using the Linux toolchain.

In the project's Paths and Symbols settings, add the LLVM/include/ workspace directory to the include path. Make sure to add it to all configurations and languages.

Create a C++ project for Cloud9, similarly to step 3. Add the LLVM/include/ and Cloud9/include workspace directories to the include path.