File format defer to Javascript Standard Fix?

I'm using Standard JS in a react project. I've followed the directions jetbrains has and everything is working except code formatting jsx files. There is a bit of difference for html compared to standard. For lint errors, there is an action to run "standard --fix". Is there a way to map that to a shortcut? Or to defer the intellij formatter to use 'standard --fix'?


You can assign preferred shortcut to Plug-ins | JavaScript Support | Fix Standard Code Style Problems in Settings | Keymap, or create a file watcher to run `standard --fix` on Ctrl+S:



great, do you know the path on osx?


if you have standard instaled locally in your project, it would be node_modules/.bin/standard


Please sign in to leave a comment.