User Tools

Site Tools


asc:tutorials:eclipse

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
asc:tutorials:eclipse [2014/10/29 14:57]
aparamonov
asc:tutorials:eclipse [2014/10/29 15:31]
aparamonov
Line 35: Line 35:
  
 ===== Import a package from SVN ===== ===== Import a package from SVN =====
- 
  
   - Return to "C/C++ Perspective": click the icon in the upper-right corner of the window.   - Return to "C/C++ Perspective": click the icon in the upper-right corner of the window.
Line 47: Line 46:
   - Now the syntax checking, indexing, and autocomplete are enabled.   - Now the syntax checking, indexing, and autocomplete are enabled.
  
 +===== Edit the code  =====
 +
 +  - Press Shift+Ctrl+F
 +  - It will auto-alight the code.
 +  - Go to line 128 and type "jets_" and press "Ctrl+Space". The auto-coplete will finish the name.
 +  - Delete "jets_shallowCopy" and enter ";" instead.
 +  - Let's commit that into the SVN repository.
 +  - Right-click on SUSYToolsAlg.cxx and select "Team -> Commit...".
 +  - Select "Yes." Enter your comment and click "OK".
 +  - Ops.. we do not have permissions to do that.  
 +  - Well, that is how you synchronize your code with a repository.
 +  - Right-click on SUSYToolsAlg.cxx and select "Team -> Revert". The file is returned to the original state.
 +
 +===== Add libraries  =====
 +
 +  - You may want to keep your code aware of external libraries (e.g. ROOT).
  
  
asc/tutorials/eclipse.txt ยท Last modified: 2014/10/29 21:20 by asc