You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Contribution Guide To Help Solve Potential Setup Error (#1225)
## Summary
When I was following the contribution guide, all the steps worked
except:
`Tip: you can also start VSCode from inside your Devbox shell with
devbox run code.`
I was getting an error stating the command `code` was not found. I
checked the file `devbox run code` was running, which is
`.devbox/gen/scripts/code.sh`. In the file (line 3), it tries to run
`code .` -> which only works if you have installed the Visual Studio
shell command.
## How was it tested?
Steps I took:
1. I could not run the command successfully without installing the
Visual Studio shell command.
2. I installed the shell command.
3. The command ran successfully.
## Why Is It Useful?
This is useful for developers who do not use Visual Studio Code as their
primary IDE, therefore increasing the chances encountering an error on
the beginning setup steps
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ The easiest way to develop Devbox is with Devbox!
30
30
dist/devbox shell
31
31
32
32
Tip: you can also start VSCode from inside your Devbox shell with `devbox run code`.
33
+
- If you are encountering an error similar to: `line 3: command 'code' not found`, this means you do not have the Visual Studio Code "Shell Command" installed. To do this, follow the official guide: https://code.visualstudio.com/docs/setup/mac. Please refer to the section under: "Launching from the command line".
0 commit comments