erfinda.blogg.se

Download webstorm prettier
Download webstorm prettier





download webstorm prettier

I installed 2.2.0 because it has support for 2018+.Then - because I couldn't find the place where you can change default formatting tool to "Prettier" you can setup the configuration under Settings->Editor->Code Style->choose the language you desire and then configure it. If you want your code to be automatically formatted on save you need to install this plugin: "Save Actions". Maybe you can set hotkey for Prettier somewhere, the default ones do not work for me for some reason.

download webstorm prettier download webstorm prettier

Then you have to right-click on the file and select "Reformat with prettier". So, basically, if you want to use Prettier with PhpStorm 2019.1.3 you need to install it with npm like this /help/webstorm/2019.1/prettier.html and setup the configuration of it in the package.json under "prettier" key.







Download webstorm prettier