Wiki

Clone wiki

scl-manips-v2 / configure / Eclipse

This Eclipse tutorial is split into two parts. This part explains how to setup eclipse for code editing. The second part explains how to setup eclipse for compiling within the IDE. Altnerative, you can use qt creator, which creates a project from the CMakeLists.txt Qt Creator setup tutorial.

First download this file, you will need it later for changing the code style:

GNU-sMOD.xml

Configure Eclipse

Using a Terminal (Control+Alt+T) start Eclipse:

./Documents/eclipse/eclipse &

Now follow the pictures, the yellow markups on the pictures show you what to look for or what to change:

When you start Eclipse the first time, you will have to set up your workspace by selecting a workspace directory. If you start Eclipse not for the first time, you need to go to ">file>switch workspace>other..." in order to see the following screen, where you have to click on 'Browse...':

step 1

step 2

step 3

The Welcome Screen will now appear, click on 'Workbench': step 4

step 5

step 6

step 7

step 8

step 9

step 10

Fixing formatting

  • Depending on your version of eclipse, this could be called code style or formatter step style

Make sure that the Syntax Errors are unselected

step syntax style

TUTORIAL FOR BUILDING IN ECLIPSE

Continue to next tutorial for building

Updated