Eclipse

Spaces for indentation

Windows → Preferences - >C/C++ → Code Style → Formatter

Install system-wide

update-alternatives --install /usr/bin/eclipse eclipse /opt/eclipse-mars/eclipse 100

Plugins

from marketplace

  • RED - Robot Editor
  • PyDev - Python IDE for Eclipse
  • Optimizer for Eclipse
  • Eclox - doxygen
  • ANSI Escape in Console
  • GNU MCU Eclipse (for ARM)

Install additional software

  • PHP Development Tools (PDT)
  • Eclipse Web Developer Tools
  • C/C++ GDB Hardware Debugging
  • C/C++ Development Tools
  • C/C++ GCC Cross Compiler Support
  • C/C++ Library API Documentation Hover Help
  • C/C++ Memory View Enhancements
  • C/C++ Unit Testing Support
  • Lua Development Tools
  • TCF Target Explorer
  • TCF Remote System Explorer add-in
  • Valgrind Tools intergration
  • Remote Command Shell Console

Manual install

Configure for Linux Kernel

Issues

opening .md documents

Error 1:

org.eclipse.swt.SWTError: No more handles [Browser style SWT.MOZILLA and Java system property org.eclipse.swt.browser.DefaultType=mozilla are not supported with GTK 3 as XULRunner is not ported for GTK 3 yet]

Solution 1: Disable GTK 3 support in Eclipse. Run eclipse with –launcher.GTK_version 2

Error 2:

Unhandled event loop exception
No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

Solution 2:

sudo apt-get install libwebkitgtk-1.0-0