summaryrefslogtreecommitdiff
path: root/docs/ide-support.md
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2020-03-14 13:46:23 -0700
committerCommit Bot <commit-bot@chromium.org>2020-03-17 04:24:41 +0000
commit57d7636cb077c4b5d1fbcf2dd0f0a912203b2867 (patch)
tree083e38481c434153281b7921a26cf80879d594bf /docs/ide-support.md
parent7fbaf04a93af9c56819cf795789c378d539364ce (diff)
downloadchrome-ec-57d7636cb077c4b5d1fbcf2dd0f0a912203b2867.tar.gz
docs/ide-suport.md: Add better editor settings
This adds a more complete view of file styles in EC. This may not represent the goal, but more the trend of file styles seen in EC. BRANCH=none BUG=none TEST=viewed in gitiles Signed-off-by: Craig Hesling <hesling@chromium.org> Change-Id: Ib981590703088fa34320ab0f7496e7cb0a23df55 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2103866 Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'docs/ide-support.md')
-rw-r--r--docs/ide-support.md22
1 files changed, 19 insertions, 3 deletions
diff --git a/docs/ide-support.md b/docs/ide-support.md
index 1407471f8a..e8ab342073 100644
--- a/docs/ide-support.md
+++ b/docs/ide-support.md
@@ -49,9 +49,25 @@ includes selectable sub-configurations for every board/image pair.
```json
{
"editor.rulers": [80],
- "[c]": {
- "editor.insertSpaces": false,
- "editor.tabSize": 8
+ /* C, Makefiles, ASM, Linkerfiles, Properties */
+ "editor.insertSpaces": false,
+ "editor.tabSize": 8,
+ /* Some exceptions based on current trends */
+ "[markdown]": {
+ "editor.insertSpaces": true,
+ "editor.tabSize": 2
+ },
+ "[python]": {
+ "editor.insertSpaces": true,
+ "editor.tabSize": 2
+ },
+ "[shellscript]": {
+ "editor.insertSpaces": true,
+ "editor.tabSize": 2
+ },
+ "[yaml]": {
+ "editor.insertSpaces": true,
+ "editor.tabSize": 2
},
"files.associations": {
"Makefile.*": "makefile",