OLD | NEW |
---|---|
1 # Visual Studio Code Dev | 1 # Visual Studio Code Dev |
2 | 2 |
3 Visual Studio Code is a free, lightweight and powerful code editor for Windows, | 3 Visual Studio Code is a free, lightweight and powerful code editor for Windows, |
4 Mac and Linux, based on Electron/Chromium. It has built-in support for | 4 Mac and Linux, based on Electron/Chromium. It has built-in support for |
5 JavaScript, TypeScript and Node.js and a rich extension ecosystem that adds | 5 JavaScript, TypeScript and Node.js and a rich extension ecosystem that adds |
6 intellisense, debugging, syntax highlighting etc. for many languages (C++, | 6 intellisense, debugging, syntax highlighting etc. for many languages (C++, |
7 Python, Go). It works without too much setup. Get started | 7 Python, Go). It works without too much setup. Get started |
8 [here](https://code.visualstudio.com/docs). | 8 [here](https://code.visualstudio.com/docs). |
9 | 9 |
10 It is NOT a full-fledged IDE like Visual Studio. The two are completely | 10 It is NOT a full-fledged IDE like Visual Studio. The two are completely |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
184 // approximate syntax highlighting. Ignore the linter warnings! | 184 // approximate syntax highlighting. Ignore the linter warnings! |
185 "*.gni" : "javascript", | 185 "*.gni" : "javascript", |
186 "*.gn" : "javascript" | 186 "*.gn" : "javascript" |
187 }, | 187 }, |
188 | 188 |
189 "files.exclude": { | 189 "files.exclude": { |
190 // Ignore build output folders. | 190 // Ignore build output folders. |
191 "out*/**": true | 191 "out*/**": true |
192 }, | 192 }, |
193 | 193 |
194 "files.watcherExclude": { | |
ljusten (tachyonic)
2017/04/27 14:16:24
Out of curiosity, did that cause any issues? Did y
dullweber
2017/04/27 14:27:29
I had the problem that when I run git cl format, v
ljusten (tachyonic)
2017/04/27 15:54:42
Acknowledged.
| |
195 // Don't check out/ and third_party/ for changes to fix issue | |
196 // where vscode doesn't notice that files have changed. | |
197 // https://github.com/Microsoft/vscode/issues/3998 | |
198 "**/out/**": true, | |
ljusten (tachyonic)
2017/04/27 14:16:24
Suggest to use **/out*/** since IIRC some Chrome O
dullweber
2017/04/27 14:27:29
files.exlude is not applied to the watcher for som
ljusten (tachyonic)
2017/04/27 15:54:42
The chromeos folders are regular build folders, so
| |
199 "**/third_party/**": true | |
ljusten (tachyonic)
2017/04/27 14:16:24
The initial **/ seems unnecessary (files.excludes
dullweber
2017/04/27 14:27:29
It is currently required to have the initial **/,
ljusten (tachyonic)
2017/04/27 15:54:42
Acknowledged.
| |
200 }, | |
201 | |
194 // Wider author column for annotator extension. | 202 // Wider author column for annotator extension. |
195 "annotator.annotationColumnWidth": "24em", | 203 "annotator.annotationColumnWidth": "24em", |
196 | 204 |
197 // C++ clang format settings. | 205 // C++ clang format settings. |
198 "C_Cpp.clang_format_path": "<full_path_to_your_home>/depot_tools/clang-format" , | 206 "C_Cpp.clang_format_path": "<full_path_to_your_home>/depot_tools/clang-format" , |
199 "C_Cpp.clang_format_sortIncludes": true, | 207 "C_Cpp.clang_format_sortIncludes": true, |
200 "C_Cpp.clang_format_formatOnSave": true, | 208 "C_Cpp.clang_format_formatOnSave": true, |
201 | 209 |
202 // YouCompleteMe | 210 // YouCompleteMe |
203 "ycmd.path": "<full_path_to_your_home>/.vim/bundle/YouCompleteMe/third_party/y cmd", | 211 "ycmd.path": "<full_path_to_your_home>/.vim/bundle/YouCompleteMe/third_party/y cmd", |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
474 | 482 |
475 ``` | 483 ``` |
476 "git.autorefresh": false, | 484 "git.autorefresh": false, |
477 "C_Cpp.autocomplete": "Disabled", | 485 "C_Cpp.autocomplete": "Disabled", |
478 "C_Cpp.addWorkspaceRootToIncludePath": false | 486 "C_Cpp.addWorkspaceRootToIncludePath": false |
479 ``` | 487 ``` |
480 | 488 |
481 ### More | 489 ### More |
482 More tips and tricks can be found | 490 More tips and tricks can be found |
483 [here](https://github.com/Microsoft/vscode-tips-and-tricks/blob/master/README.md ). | 491 [here](https://github.com/Microsoft/vscode-tips-and-tricks/blob/master/README.md ). |
OLD | NEW |