简体   繁体   中英

Word wrap with IntelliJ IDEA

I use IntelliJ IDEA, it helps me a lot in the learning process. But there is one problem: when I open 2 applications in 1 screen, the text doesn't create a new line / is not responsive according to the size of IntelliJ but extends sideways.

I want to know if there is a feature like VS Code when we click "view" it says "word wrap" when clicked the text will be responsive according to the size of the application.

You can enable "Word Wrap" by left-clicking on the line numbers area in the editor window. This will open a context menu where you can select the "Word Wrap" option, which will enable the feature and make the text responsive to the size of the application window.

Jetbrains IDEs (IntelliJ, Pycharm, Webstorm, Rider, Phpstorm, etc) have a function called soft wrap. Similar to Vs code, allows to have the same functionality to accomodate the font size.

You can enable it,

  1. Pressing shift two times
  2. Write "Soft Wrap"
  3. Press enter

Or

  1. Clicking on the line numbers
  2. Click in soft wrap

Here I attached an screenshot to show how it works.

Image in shortcut

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM