summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ide-support.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/ide-support.md b/docs/ide-support.md
index 1ab807a3d5..1407471f8a 100644
--- a/docs/ide-support.md
+++ b/docs/ide-support.md
@@ -44,3 +44,23 @@ includes selectable sub-configurations for every board/image pair.
You will only see this option when a C/C++ file is open. Additionally, you
can select a configuration by pressing `Ctrl-Shift-P` and selecting the
`C/C++ Select a Configuration...` option.
+5. Add the EC specific file associations and style settings.
+ Modify `.vscode/settings.json` to have the following elements:
+ ```json
+ {
+ "editor.rulers": [80],
+ "[c]": {
+ "editor.insertSpaces": false,
+ "editor.tabSize": 8
+ },
+ "files.associations": {
+ "Makefile.*": "makefile",
+ "*.inc": "c",
+ "*.wrap": "c",
+ "*.tasklist": "c",
+ "*.irqlist": "c",
+ "*.mocklist": "c",
+ "*.testlist": "c"
+ }
+ }
+ ```