0

change clang-format settings in docs/vscode.md and docs/qtcreator.md

BUG=

Review-Url: https://codereview.chromium.org/2729853008
Cr-Commit-Position: refs/heads/master@{#454640}
This commit is contained in:
chaopeng
2017-03-03 11:10:51 -08:00
committed by Commit bot
parent a9c98fe419
commit 6fca2b025f
2 changed files with 7 additions and 5 deletions

@ -12,7 +12,8 @@ not require project configuration.
### Workflow
1. `ctrl+k` Activate Locator, you can open file(not support sublime-like-search) or type `. ` go to symbol.
1. `ctrl+k` Activate Locator, you can open file(not support sublime-like-search)
or type `. ` go to symbol.
2. `ctrl+r` Build and Run, `F5` Debug.
3. `F4` switch between header file and cpp file.
4. `ctrl+shift+r` rename symbol under cursor.
@ -30,8 +31,9 @@ block you while parsing.
#### Code Style
1. Help - About Plugins enable Beautifier.
2. Tools - Options - Beautifier - Clang Format, select use predefined style:
chromium. You can also set a keyboard shortcut for it.
2. Tools - Options - Beautifier - Clang Format,
change Clang format command: `$depot_tools_dir/clang-format`, select use
predefined style: file. You can also set a keyboard shortcut for it.
3. Tools - Options - Code Style import this xml file
```

@ -44,8 +44,8 @@ settings.
"ycmd.confirm_extra_conf": false,
"ycmd.use_imprecise_get_type": true,
// clang-format
"clang-format.style": "Chromium",
"editor.formatOnSave": true
"clang-format.executable": "<your_depot_tools>/clang-format",
"clang-format.style": "file"
}
```