Php Storm : How can i automate breaking lines in PHPStorm 2.1

后端 未结 9 1522
攒了一身酷
攒了一身酷 2020-12-15 16:10

How can i automate breaking lines (word wrap) in PHPStorm 2.1?

9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 16:34

    To make it automatic

    After applying this point:

    Use Ctrl + Alt + S to open the settings menu

    1. Select and click Editor

    2. Choose Code Style

    3. Change the default value of the Hard wrap value to 90

    4. Go back to CodeStyle and choose any of the language you work with to make specific changes

    5.1 I choose HTML and Select Other and i change the value of Hard wrap at 90 and wrap on typing to Yes

    5.2 I choose JavaScript and Select Wrapping and Braces and change the Hard wrap at value to 90 and wrap on typing to Yes

    1. Continue to do it with all other languages you work with

    NB: other languages may be at a default values, change it if is not preferable to you

    1. Apply and Ok to save the changes

提交回复
热议问题