How do you enable word-wrap by default in Eclipse?

Daniel Harris picture Daniel Harris · Sep 20, 2016 · Viewed 38.5k times · Source

Simple question: how do you enable word-wrap by default in Eclipse? I looked at this plugin but it only goes up to Luna. In addition, this plugin is a separate text editor and does not have syntax highlighting or validation. I'm open to other suggestions.

Answer

Mickael picture Mickael · Sep 20, 2016

Word wrap is available in Eclipse Neon IDE: https://www.eclipse.org/neon/noteworthy/#_word_wrap_in_text_editors.

Just consider using the latest version.

Keyboard shortcut: Alt+Shift+Y

Or button:

enter image description here

Or menu Window > Editor > Toggle Word Wrap:

enter image description here