docs: correct vscode clang-format setup instructions (#33190)

PR Close #33190
This commit is contained in:
Danny Skoog 2019-10-16 00:04:05 +02:00 committed by Matias Niemelä
parent 6f203c9575
commit 43487f6761
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ A better way is to set up your IDE to format the changed file on each file save.
### VS Code ### VS Code
1. Install [Clang-Format](https://marketplace.visualstudio.com/items?itemName=xaver.clang-format) extension for VS Code. 1. Install [Clang-Format](https://marketplace.visualstudio.com/items?itemName=xaver.clang-format) extension for VS Code.
2. It will automatically pick up the settings from `.vscode/settings.json`.
It will automatically pick up the settings from Angular's [settings.json](../.vscode/settings.json). If you haven't already, create a `settings.json` file by following the instructions [here](../.vscode/README.md).
### WebStorm / IntelliJ ### WebStorm / IntelliJ
1. Install the [ClangFormatIJ](https://plugins.jetbrains.com/plugin/8396-clangformatij) plugin 1. Install the [ClangFormatIJ](https://plugins.jetbrains.com/plugin/8396-clangformatij) plugin