Word wrapping in phpstorm

Hast picture Hast · Apr 27, 2012 · Viewed 117.3k times · Source

How can I enable Word wraping in phpstorm? I need to enable it only for some of my files (with extension .txt). Is is possible?

Answer

LazyOne picture LazyOne · Apr 27, 2012

For all files (default setting for opened file): Settings/Preferences | Editor | General | Use soft wraps in editor

For currently opened file in editor: Menu | View | Active Editor | Use Soft Wraps


In latest IDE versions you can also access this option via context menu for the editor gutter area (the area with line numbers on the left side of the editor).

Search Everywhere (Shift 2x times) or Help | Find Action... ( Ctrl + Shift+ A on Windows using Default keymap) can also be used to quickly change this option (instead of going into Settings/Preferences).