How to enable soft wrap in IntelliJ?

Answered

 How to enable soft wrap in IntelliJ? I used WebStorm and 1st picture is of WebStorm settings, I found the option easily but in IntelliJ there is no such option to enable soft wrap. How to enable it? 2nd picture is of IntelliJ, you can see the soft wrap is not enable and the line 13 is appearing in a single line which is sometimes difficult for me to read, I have to scroll left to see rest of my code.

0
9 comments
Avatar
Yaroslav Bedrov

Hello,

There is the same option in IDEA. Could you please attach screenshot from "Settings | Editor | General"?

0

 

@... thanks for your response.

The picture bellow is from IntelliJ IDEA. It's not the same like WebStorm.

0
Avatar
Yaroslav Bedrov

Yes, it's a little bit differ. So, you need you enable "Soft-wrap" option and set file types (or simply all files *.*).

1

@... Why is it different? and isn't there any way that can enable soft wrap for all files (like WebStorm) instead of adding them manually?

0
Avatar
Yaroslav Bedrov

IDEA supports wider variety of languages and frameworks, so file filter was added. You may put "*" in that field to enable soft wrap for all files.

2

@... now WebStorm settings turned into like this. Is this a update issue? What's going on?

0
Avatar
Yaroslav Bedrov

What WebStorm version did you use? This settings style are in 2020 and 2019 versions. 

0

@... yeah 1st picture (my post) was of WebStorm 2019 version, 2nd picture (my previous comment) was WebStorm 2020.1.2

0
Avatar
Yaroslav Bedrov

So, it should be 2019.1 or 2019.2 version as 2019.3 already has file type field. Anyway, setting "*" in that field will give you desired result.

0

Please sign in to leave a comment.