|
6 | 6 | - [How can I reuse my VS Code configuration?](#how-can-i-reuse-my-vs-code-configuration)
|
7 | 7 | - [Differences compared to VS Code?](#differences-compared-to-vs-code)
|
8 | 8 | - [How can I request a missing extension?](#how-can-i-request-a-missing-extension)
|
| 9 | +- [How do I configure the marketplace URL?](#how-do-i-configure-the-marketplace-url) |
9 | 10 | - [Where are extensions stored?](#where-are-extensions-stored)
|
10 | 11 | - [How is this different from VS Code Codespaces?](#how-is-this-different-from-vs-code-codespaces)
|
11 | 12 | - [How should I expose code-server to the internet?](#how-should-i-expose-code-server-to-the-internet)
|
|
22 | 23 | - [Blank screen on iPad?](#blank-screen-on-ipad)
|
23 | 24 | - [Isn't an install script piped into sh insecure?](#isnt-an-install-script-piped-into-sh-insecure)
|
24 | 25 | - [How do I make my keyboard shortcuts work?](#how-do-i-make-my-keyboard-shortcuts-work)
|
| 26 | +- [Differences compared to Theia?](#differences-compared-to-theia) |
25 | 27 | - [Enterprise](#enterprise)
|
26 | 28 |
|
27 | 29 | <!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
@@ -78,8 +80,15 @@ point to the .vsix file.
|
78 | 80 |
|
79 | 81 | See below for installing an extension from the cli.
|
80 | 82 |
|
81 |
| -If you have your own custom marketplace, it is possible to point code-server to it by setting |
82 |
| -`$SERVICE_URL` and `$ITEM_URL` to point to it. |
| 83 | +## How do I configure the marketplace URL? |
| 84 | + |
| 85 | +If you have your own marketplace that implements the VS Code Extension Gallery API, it is possible to |
| 86 | +point code-server to it by setting `$SERVICE_URL` and `$ITEM_URL`. These correspond directly |
| 87 | +to `serviceUrl` and `itemUrl` in VS Code's `product.json`. |
| 88 | + |
| 89 | +While you can technically use Microsoft's marketplace with these, please do not do so as it |
| 90 | +is against their terms of use. See [above](#differences-compared-to-vs-code). These variables |
| 91 | +are most valuable to our enterprise customers for whom we have a self hosted marketplace product. |
83 | 92 |
|
84 | 93 | ## Where are extensions stored?
|
85 | 94 |
|
@@ -272,6 +281,19 @@ This will install a Chrome PWA and now all keybindings will work!
|
272 | 281 |
|
273 | 282 | For other browsers you'll have to remap keybindings unfortunately.
|
274 | 283 |
|
| 284 | +## Differences compared to Theia? |
| 285 | + |
| 286 | +[Theia](https://github.com/eclipse-theia/theia) is a browser IDE loosely based on VS Code. It uses the same |
| 287 | +text editor library named [Monaco](https://github.com/Microsoft/monaco-editor) and the same |
| 288 | +extension API but everything else is very different. It also uses [open-vsx.org](https://open-vsx.org) |
| 289 | +for extensions which has an order of magnitude less extensions than our marketplace. |
| 290 | +See [#1473](https://github.com/cdr/code-server/issues/1473). |
| 291 | + |
| 292 | +You can't just use your VS Code config in Theia like you can with code-server. |
| 293 | + |
| 294 | +To summarize, code-server is a patched fork of VS Code to run in the browser whereas |
| 295 | +Theia takes some parts of VS Code but is an entirely different editor. |
| 296 | + |
275 | 297 | ## Enterprise
|
276 | 298 |
|
277 | 299 | Visit [our enterprise page](https://coder.com) for more information about our
|
|
0 commit comments