Search code examples
phpstormwebstorm

Is there shortcut to JSLINT in Jetbrains webstorm/phpstorm


Is there any shortcut for toggling jslint or showing white spaces? At least maybe there is some way to put jslint icon on the main toolbar.


Solution

  • This is very easy to do:

    1. Press CTRL + SHIFT + A
    2. That should give you a search box like this:

    Action Menu

    Now all you have to do is type in "whitespace" and that will give you a list of completions, and after that, you select the first completion available.

    That will enable whitespace in Webstorm. As for enabling and disabling features in jslint:

    enter image description here