JavaScript Indentation for long codes
Answered
Hello!
I am developing a webapp with JavaScript. I am searching for an answer for this issue, but I can't find. As you can see in my attachments, when I have a statement that has just one line, when the row break up, the code don't get any indentation.
I am leaving two images. The first one is a representation of my trouble and the second one is how I need to get my code.
Thank you!
Problem:

How I would like it could be:

Please sign in to leave a comment.
Hi there,
Please try the following option: Settings (Preferences on macOS) | Editor | General | Soft Wraps | Use original line's indent for wrapped parts
Andriy Bazanov!
Thank you very much man! That's exactly what I was searching for. Perfect!
Thanks!