Optimize your Eclipse and OGEMA Development Experience

Last modified by David Nestle on 2017/01/26 14:26

Top Eclipse Features for the Development with OGEMA

Top Eclipse Features you should know and use when developing:

  • Debugging: Know the keys: F6: Step, F5: Step in, F8: Continue. Go on elements with the mouse to see their current value while debugging, so you do not have to work in Debugging Perspective. Sometimes using the mouse-over elements does not work properly, then have a look in the variables list in the debug view.
  • Get code completion proposals with Ctlr+<Space>: If you autocomplete a choice here, also a required import will be generated automatically
  • Get proposals for imports and error corrections by moving the mouse to an error indication
  • Open a method or class declaration with F3.
  • Open File and OGEMA Search with Ctrl+H. You can configure the search to show only these two search options, the others are rather difficult to use with OGEMA
  • From context menu over methods and classes: Use "Call hierarchy", for other elements "References" to find out where an element is used
  • Refactor an element with Alt+Shift+R (also for changing file names)
  • The context menu "Source" offers various options that can save you quite some time e.g. for comment in/out and generation of constructors
  • Determine whether the Package Explorer always moves to the file currently in the Editor by switching the two yellow arrows in the top bar of the Package Explorer ("Link with Editor"). This can be very annoying but also very helpful when working with larger workspaces, so switch it according to your needs.

Collection of tips and tricks from OGEMA Confluence Wiki (partially outdated):

If you feel familiar with this go on, get an OGEMA Gateway and run your apps for real automation!

Created by David Nestle on 2017/01/26 14:26