Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: docs/vscode.md

Issue 2729853008: change clang-format settings in docs/vscode.md and docs/qtcreator.md (Closed)
Patch Set: remove auto format Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « docs/qtcreator.md ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Use Visual Studio Code on Chromium code base 1 # Use Visual Studio Code on Chromium code base
2 2
3 [TOC] 3 [TOC]
4 4
5 [Visual Studio Code](http://code.visualstudio.com/) 5 [Visual Studio Code](http://code.visualstudio.com/)
6 ([Wikipedia](https://en.wikipedia.org/wiki/Visual_Studio_Code)) is a 6 ([Wikipedia](https://en.wikipedia.org/wiki/Visual_Studio_Code)) is a
7 multi-platform code editor that is itself based on Electron which is based on 7 multi-platform code editor that is itself based on Electron which is based on
8 Chromium. Visual Studio Code has a growing community and base of installable 8 Chromium. Visual Studio Code has a growing community and base of installable
9 extensions and themes. It works without too much setup. 9 extensions and themes. It works without too much setup.
10 10
(...skipping 26 matching lines...) Expand all
37 "**/.DS_Store": true, 37 "**/.DS_Store": true,
38 "**/out": true 38 "**/out": true
39 }, 39 },
40 // YCM 40 // YCM
41 "ycmd.path": "<your_ycmd_path>", 41 "ycmd.path": "<your_ycmd_path>",
42 "ycmd.global_extra_config": 42 "ycmd.global_extra_config":
43 "<your_chromium_path>/src/tools/vim/chromium.ycm_extra_conf.py", 43 "<your_chromium_path>/src/tools/vim/chromium.ycm_extra_conf.py",
44 "ycmd.confirm_extra_conf": false, 44 "ycmd.confirm_extra_conf": false,
45 "ycmd.use_imprecise_get_type": true, 45 "ycmd.use_imprecise_get_type": true,
46 // clang-format 46 // clang-format
47 "clang-format.style": "Chromium", 47 "clang-format.executable": "<your_depot_tools>/clang-format",
48 "editor.formatOnSave": true 48 "clang-format.style": "file"
49 } 49 }
50 ``` 50 ```
51 51
52 ### Install auto-completion engine(ycmd) 52 ### Install auto-completion engine(ycmd)
53 53
54 ``` 54 ```
55 $ git clone https://github.com/Valloric/ycmd.git ~/.ycmd 55 $ git clone https://github.com/Valloric/ycmd.git ~/.ycmd
56 $ cd ~/.ycmd 56 $ cd ~/.ycmd
57 $ ./build.py --clang-completer 57 $ ./build.py --clang-completer
58 ``` 58 ```
(...skipping 19 matching lines...) Expand all
78 ### Enable Sublime-like minimap 78 ### Enable Sublime-like minimap
79 79
80 ``` 80 ```
81 "editor.minimap.enabled": true, 81 "editor.minimap.enabled": true,
82 "editor.minimap.renderCharacters": false 82 "editor.minimap.renderCharacters": false
83 ``` 83 ```
84 84
85 ### More 85 ### More
86 86
87 https://github.com/Microsoft/vscode-tips-and-tricks/blob/master/README.md 87 https://github.com/Microsoft/vscode-tips-and-tricks/blob/master/README.md
OLDNEW
« no previous file with comments | « docs/qtcreator.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698