Eclipse Usage

From Elvanör's Technical Wiki
Revision as of 10:46, 24 January 2007 by Elvanor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This articles focuses on Eclipse usage and configuration.

Line Wrapping

Line wrapping (soft-wrap as well as hard-wrap) seems to be one of Eclipse's current weakness. I hope the situation improves soon, because it is a pity that such a simple (but essential) feature is absent. In the meantime I have found the following solutions:

  • Line wrapping by Eclipse works for certain types of files. For Java code, for example, you can go to Preferences->Java->Code Style->Formatter. Then click "Show..." and you will have access to line wrapping. But this is not present for C++ code via the CDT tools... I am not sure it would work with PHP files as well, and I know it does not work for plain files.
  • Soft wrapping can be done via a very useful plugin. See this page for details.