Changes between Initial Version and Version 1 of Common/IDE

Jan 24, 2012, 8:24:01 PM (12 years ago)

Moving Eclipse IDE installation and configuration instructions to common.


  • Common/IDE

    v1 v1  
     1= IDE Installation and Configuration - Ubuntu =
     3= __Eclipse__ =
     4The following installation instructions are for Eclipse CDT (C/C++ Development Tooling).[[BR]]
     6Eclipse CDT allows for syntax highlighting, auto-completion, visual debugging, easy source navigation as well as other useful tools.[[BR]]
     8Eclipse CDT can either be added to an existing Eclipse installation or installed from source.  This tutorial will focus on the latter.
     10'''__Download and Install Eclipse CDT Indigo for Developers:__'''[[BR]]
     11''Be sure to choose the correct version (32 or 64 bit from the right menu)''[[BR]]
     14Move the tarball to the installation directory of your choice for installation.
     16tar -zxvf yourfile.tar.gz
     17rm -rf yourfile.tar.gz
     19You should now be able to run eclipse.
     21cd eclipse
     24In order to start eclipse from the command line, your directory of choice must be in the unix PATH environment variable.
     26echo $PATH
     27#If the path is not present you can add it permanently with the following command.
     28echo 'export PATH="$PATH:/path_to/directory_of_choice/eclipse"' >> ~/.bashrc && . ~/.bashrc
     29#You should now be able to start eclipse from the command line
     34'''__Creating Eclipse project files:__'''[[BR]]
     35In the directory of the project file that you would like to export simply:
     37cmake . -G"Eclipse CDT4 - Unix Makefiles"
     40'''__Importing generated Eclipse project files:__'''[[BR]]
     41In Eclipse: [[BR]]
     42''File --> Import --> General --> Existing Projects into Workspace --> Next --> Browse''[[BR]]
     43Browse to your package's root directory and hit OK [[BR]]
     44Finish the import by selecting the finish button.[[BR]]
     46Your project should now be imported into Eclipse and can be viewed in the Project Explorer on the left side of the IDE.
     48'''__Other useful tools and plugins__'''[[BR]]
     50''' Barrett Technology Auto Formatting ''' [[BR]]
     52Download the BTech Automatic Formatting Template
     54#Navigate to a directory of choice
     57In Eclipse:[[BR]]
     58''Window-->Preferences-->C/C++-->Code Style-->Import''
     59Browse to your BTech_Format.xml and hit OK [[BR]]
     60Hit apply and OK.[[BR]]
     62Your Eclipse projects should now follow the Barrett Technology conventions.
     64To apply the formatting to an existing file:[[BR]]
     65''Open file --> Source --> Format''
     67'''Adding Python IDE for Eclipse - PyDev'''[[BR]]
     69PyDev is a great IDE for Python development. 
     71PyDev also has much of the advantages of CDT; auto-completion, synatax highlighting, auto formatting, etc.
     73''Note: the following instructions are for Eclipse Indigo''
     74''Help --> Eclipse Marketplace''[[BR]]
     75Search for: PyDev or python. The first result will be PyDev.[[BR]]
     76Install PyDev.  This may require restarting Eclipse.
     78You should now have all of the aforementioned python tools.
     80'''Installing Eclipse Color Themes'''[[BR]]
     82Eclipse color theme plugin allows for automatic color formatting of the IDE.
     84''Note: the following instructions are for Eclipse Indigo''
     85''Help --> Eclipse Marketplace''[[BR]]
     86Search for: eclipse color theme. 
     87Install Eclipse Color Theme by Felix Dahlke and Roger Dudler.
     89After installation you can apply a color theme by:
     90''Window-->Preferences-->General-->Appereance-->Color Theme'' - choose the theme of your choice and apply.