How to trim indent when adding extra line?
Answered
If I press enter at the end of the a line, an indentation (of spaces) is added. However, I don't want the indentation unless I type non white space. In other words, how can I add a blank line that does not contain an indentation of spaces?
Also, is there a way to trim unnecessary spaces, like trailing white spaces?
Please sign in to leave a comment.
To automatically remove indents on empty lines and strip trailing spaces, you can use File | Settings | Editor | General -> Strip trailing spaces on Save. Is it what you are looking for?
Yes, that will do. Thank you.