From ccc96cd43e97b4d782dd3109ba53309557d6892b Mon Sep 17 00:00:00 2001 From: Kessir Adjaho Date: Mon, 1 Jun 2020 20:39:21 +0200 Subject: [PATCH] Change Alt to Opt in MacOS shortcut (#8447) The `Alt` key on Mac keyboards is `Option` --- docs/webstorm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/webstorm.md b/docs/webstorm.md index 0277f12ed..e28c3803d 100644 --- a/docs/webstorm.md +++ b/docs/webstorm.md @@ -5,7 +5,7 @@ title: WebStorm Setup ## Using Prettier in WebStorm -Use the `Reformat with Prettier` action (`Alt-Shift-Cmd-P` on macOS or `Alt-Shift-Ctrl-P` on Windows and Linux) to format the selected code, a file, or a whole directory. +Use the `Reformat with Prettier` action (`Opt-Shift-Cmd-P` on macOS or `Alt-Shift-Ctrl-P` on Windows and Linux) to format the selected code, a file, or a whole directory. To run Prettier on save in WebStorm 2020.1 or above, open _Preferences | Languages & Frameworks | JavaScript | Prettier_ and enable the option `Run on save for files`.