Is it possible to avoid automatic line return in IntelliJ IDEA?

Jarvis :

IntelliJ IDEA performs an automatic line return when the code is too long, making it difficult to read the code. Is it possible to avoid this behavior?

auto return the code

sn99 :

For code to be in one line rather then wrapping itself

  1. Go to View -> Active Editor
  2. Unmark Use Soft Wraps

Remember to click anywhere on the code before clicking View on the toolbar.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=158712&siteId=1