When inserting the code in phpstorm, the first line of the newly inserted text moves almost half the line, and the remaining lines, on the contrary, are slightly to the left. How to remove these unnecessary IDE code reformats?
1 answer
Select all the text and press Ctrl+Alt+L
- then phpstorm
put you all the same indents. You can change the indentation size in the settings of the storm itself, or put the .jshintrc
file in the project root, read the documentation that it can: http://jshint.com/docs/
or in Russian: http://dmitrypodgorniy.com/blog/all/s-kodom-bud-strog-nastroyka-jshint/
|