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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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": { | 194 "files.watcherExclude": { |
195 // Don't check out/ and third_party/ for changes to fix issue | 195 // Don't watch out*/ and third_party/ for changes to fix an issue |
196 // where vscode doesn't notice that files have changed. | 196 // where vscode doesn't notice that files have changed. |
197 // https://github.com/Microsoft/vscode/issues/3998 | 197 // https://github.com/Microsoft/vscode/issues/3998 |
198 "**/out/**": true, | 198 // There is currently another issue that requires a leading **/ for |
| 199 // watcherExlude. Beware that this pattern might affect other out* folders |
| 200 // like src/cc/output/. |
| 201 "**/out*/**": true, |
199 "**/third_party/**": true | 202 "**/third_party/**": true |
200 }, | 203 }, |
201 | 204 |
202 // Wider author column for annotator extension. | 205 // Wider author column for annotator extension. |
203 "annotator.annotationColumnWidth": "24em", | 206 "annotator.annotationColumnWidth": "24em", |
204 | 207 |
205 // C++ clang format settings. | 208 // C++ clang format settings. |
206 "C_Cpp.clang_format_path": "<full_path_to_your_home>/depot_tools/clang-format"
, | 209 "C_Cpp.clang_format_path": "<full_path_to_your_home>/depot_tools/clang-format"
, |
207 "C_Cpp.clang_format_sortIncludes": true, | 210 "C_Cpp.clang_format_sortIncludes": true, |
208 "C_Cpp.clang_format_formatOnSave": true, | 211 "C_Cpp.clang_format_formatOnSave": true, |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 | 485 |
483 ``` | 486 ``` |
484 "git.autorefresh": false, | 487 "git.autorefresh": false, |
485 "C_Cpp.autocomplete": "Disabled", | 488 "C_Cpp.autocomplete": "Disabled", |
486 "C_Cpp.addWorkspaceRootToIncludePath": false | 489 "C_Cpp.addWorkspaceRootToIncludePath": false |
487 ``` | 490 ``` |
488 | 491 |
489 ### More | 492 ### More |
490 More tips and tricks can be found | 493 More tips and tricks can be found |
491 [here](https://github.com/Microsoft/vscode-tips-and-tricks/blob/master/README.md
). | 494 [here](https://github.com/Microsoft/vscode-tips-and-tricks/blob/master/README.md
). |
OLD | NEW |