Skip to content

Commit 3b71e7b

Browse files
author
Aurang
authored
Update configuring_environment.md
1 parent f8a0b6e commit 3b71e7b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

guides/configuring_environment.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,32 @@ ___
3131
### Changing the default vscode settings that get applied each time the container is rebuilt
3232
You can simply edit deploy-container/settings.json to your vscode settings. When the container gets rebuilt, they will be copied to the appropriate place and be applied in code-server.<br>
3333
> NOTE: These settings are applied User-wide
34+
___
35+
### directory '/home/coder/.config/rclone' does not exist
36+
If you are getting this error, you can add this command to your Dockerfile
37+
```Dockerfile
38+
# Create rclone config directory
39+
RUN mkdir /home/coder/.config/rclone
40+
```
41+
If you are getting "directory '/home/coder/.config' does not exist", see above for how to create the .config directory or add the -p flag to create any non-existant parent directories as well
42+
___
43+
### Installing extensions
44+
> NOTE: not all extensions maybe available in code-server, see [[1]](https://github.com/cdr/code-server/blob/main/docs/FAQ.md#differences-compared-to-vs-code), [[2]](https://github.com/cdr/code-server/blob/main/docs/FAQ.md#how-can-i-request-a-missing-extension), [[3]](https://github.com/cdr/code-server/blob/main/docs/FAQ.md#how-do-i-configure-the-marketplace-url), and [[4]](https://github.com/cdr/code-server/blob/main/docs/FAQ.md#where-are-extensions-stored) for more info
45+
46+
There are several ways to install extensions
47+
1. Installing directly in code-server
48+
You can install extensions directly from inside code-server using the GUI. The button should be in the activity bar on the left and looks like this
49+
![Extensions Button](img/vscode-activity-bar-extension-button.png)<br>
50+
You can also use Ctrl+Shift+X to bring it up
51+
> NOTE: Extensions installed using this method will not persist between container rebuilds
52+
53+
2. Installing using vscode integrated terminal
54+
You can install extensions by using the built-in terminal in code-server. Use Ctrl+J to bring up the panel and select the terminal tab. Or you can use Ctrl+\`
55+
The command for installing extensions is:
56+
```shell
57+
code-server --install-extension ms-python.python
58+
# or to install multiple
59+
code-server --install-extension ms-python.python --install-extension redhat.vscode-yaml
60+
```
61+
> NOTE: Extensions installed using this method will not persist between container rebuilds
62+

0 commit comments

Comments
 (0)