Changes between Initial Version and Version 1 of Common/IDE


Ignore:
Timestamp:
Jan 24, 2012, 8:24:01 PM (12 years ago)
Author:
kpm
Comment:

Moving Eclipse IDE installation and configuration instructions to common.

Legend:

Unmodified
Added
Removed
Modified
  • Common/IDE

    v1 v1  
     1= IDE Installation and Configuration - Ubuntu =
     2
     3= __Eclipse__ =
     4The following installation instructions are for Eclipse CDT (C/C++ Development Tooling).[[BR]]
     5
     6Eclipse CDT allows for syntax highlighting, auto-completion, visual debugging, easy source navigation as well as other useful tools.[[BR]]
     7
     8Eclipse CDT can either be added to an existing Eclipse installation or installed from source.  This tutorial will focus on the latter.
     9
     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]]
     12[http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers-includes-incubating-components/indigosr1][[BR]]
     13
     14Move the tarball to the installation directory of your choice for installation.
     15{{{
     16tar -zxvf yourfile.tar.gz
     17rm -rf yourfile.tar.gz
     18}}}
     19You should now be able to run eclipse.
     20{{{
     21cd eclipse
     22./eclipse
     23}}}
     24In order to start eclipse from the command line, your directory of choice must be in the unix PATH environment variable.
     25{{{
     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
     30eclipse
     31}}}
     32
     33
     34'''__Creating Eclipse project files:__'''[[BR]]
     35In the directory of the project file that you would like to export simply:
     36{{{
     37cmake . -G"Eclipse CDT4 - Unix Makefiles"
     38}}}
     39
     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]]
     45
     46Your project should now be imported into Eclipse and can be viewed in the Project Explorer on the left side of the IDE.
     47
     48'''__Other useful tools and plugins__'''[[BR]]
     49
     50''' Barrett Technology Auto Formatting ''' [[BR]]
     51
     52Download the BTech Automatic Formatting Template
     53{{{
     54#Navigate to a directory of choice
     55wget http://web.barrett.com/svn/libbarrett/trunk/BTech_Format.xml
     56}}}
     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]]
     61
     62Your Eclipse projects should now follow the Barrett Technology conventions.
     63
     64To apply the formatting to an existing file:[[BR]]
     65''Open file --> Source --> Format''
     66
     67'''Adding Python IDE for Eclipse - PyDev'''[[BR]]
     68
     69PyDev is a great IDE for Python development. 
     70
     71PyDev also has much of the advantages of CDT; auto-completion, synatax highlighting, auto formatting, etc.
     72
     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.
     77
     78You should now have all of the aforementioned python tools.
     79
     80'''Installing Eclipse Color Themes'''[[BR]]
     81
     82Eclipse color theme plugin allows for automatic color formatting of the IDE.
     83
     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.
     88
     89After installation you can apply a color theme by:
     90''Window-->Preferences-->General-->Appereance-->Color Theme'' - choose the theme of your choice and apply.
     91
     92
     93
     94
     95
     96 
     97
     98
     99