summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Grandi <agrandi@google.com>2022-07-21 15:09:12 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-22 00:55:17 +0000
commitff53a4fd0c47d8021a83d00d15658fafa98e7caf (patch)
treea57bf0ed4c1edd4235c295a9284cd99975e68231
parent7e2d1e9d9c91a9081e5418918b523a4d9ead786f (diff)
downloadchrome-ec-ff53a4fd0c47d8021a83d00d15658fafa98e7caf.tar.gz
docs/ide-support.md: Explicitly mark commands in chroot
Some bash commands must be executed inside (or outside) the chroot. Explicitly specify this in the instructions to configure the IDE. BRANCH=none BUG=none TEST=viewed in gitiles Signed-off-by: Andrea Grandi <agrandi@google.com> Change-Id: I0e7a8210fe8d87ac69b8197d9ea0b1b00578c5fc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3781449 Commit-Queue: Firas Sammoura <fsammoura@google.com> Reviewed-by: Firas Sammoura <fsammoura@google.com> Reviewed-by: Craig Hesling <hesling@chromium.org> Commit-Queue: Craig Hesling <hesling@chromium.org>
-rw-r--r--docs/ide-support.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/ide-support.md b/docs/ide-support.md
index 82c13ff56e..6c280bcb87 100644
--- a/docs/ide-support.md
+++ b/docs/ide-support.md
@@ -38,8 +38,11 @@ includes selectable sub-configurations for every board/image pair.
1. From the root `ec` directory, do the following:
```bash
- mkdir -p .vscode
- ./util/ide-config.sh vscode all:RW all:RO | tee .vscode/c_cpp_properties.json
+ (outside) $ mkdir -p .vscode
+ ```
+
+ ```bash
+ (chroot) $ ./util/ide-config.sh vscode all:RW all:RO | tee .vscode/c_cpp_properties.json
```
2. Open VSCode and navigate to some C source file.
@@ -55,7 +58,7 @@ includes selectable sub-configurations for every board/image pair.
to copy the default settings to `.vscode/settings.json`:
```bash
- cp .vscode/settings.json.default .vscode/settings.json
+ (outside) $ cp .vscode/settings.json.default .vscode/settings.json
```
## VSCode CrOS IDE