@@ -18,8 +18,8 @@ a Coder workspace:
18
18
## Using the public extensions marketplaces
19
19
20
20
You can manually add an extension while you're working in the Code Web IDE. The
21
- extensions can be from Coder 's public marketplace, Eclipse Open VSX's public
22
- marketplace, or the Eclipse Open VSX _ local_ marketplace.
21
+ extensions can be from Eclipse Open VSX 's public marketplace or the Eclipse Open
22
+ VSX _ local_ marketplace.
23
23
24
24
![ Code Web Extensions] ( ../assets/workspaces/code-web-extensions.png )
25
25
@@ -85,17 +85,20 @@ marketplace:
85
85
## Installing from a marketplace at the command line
86
86
87
87
Using the workspace's terminal or the terminal available inside Code Web (code
88
- server), run the following to install an extension (be sure to update the
89
- snippets with the name of the extension you want to install):
88
+ server), run the following to install an extension from the currently configured
89
+ marketplace, which defaults to Open VSX's public marketplace (be sure to update
90
+ the snippets with the name of the extension you want to install):
90
91
91
92
``` text
92
- SERVICE_URL=https://extensions.coder.com/api ITEM_URL=https://extensions.coder.com/item /var/tmp/coder/code-server/bin/code-server --install-extension ms-python.python
93
+ /var/tmp/coder/code-server/bin/code-server --install-extension ms-python.python
93
94
```
94
95
95
- Alternatively, you can install an extension from Open VSX's public marketplace:
96
+ To install from a different marketplace you can set the ` EXTENSIONS_GALLERY `
97
+ environment variable, which corresponds to the ` extensionsGallery ` entry in
98
+ Code Web's ` product.json ` :
96
99
97
100
``` text
98
- SERVICE_URL=https://open-vsx.org/vscode/gallery ITEM_URL= https://open-vsx.org/vscode/item /var/tmp/coder/code-server/bin/code-server --install-extension ms-python.python
101
+ EXTENSIONS_GALLERY='{"serviceUrl": " https://my-extensions/api"}' /var/tmp/coder/code-server/bin/code-server --install-extension ms-python.python
99
102
```
100
103
101
104
## Using a local VS Code instance with SSH
0 commit comments