Skip to content

Commit

Permalink
Fixed "Build your own tool" page (#587)
Browse files Browse the repository at this point in the history
* Fixed "Build your own tool" page

fixed #586

Signed-off-by: Jonas Helming <jhelming@eclipsesource.com>
  • Loading branch information
JonasHelming authored Aug 17, 2024
1 parent bdb64e2 commit c0f358d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/docs/composing_applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ As part of your application, it is also possible to consume (and package) VS Cod
The [Theia repository](https://github.com/eclipse-theia/theia/wiki/Consuming-Builtin-and-External-VS-Code-Extensions) contains a guide on how to
include such extensions as part of the application's `package.json`.

An example `package.json` may look like the following:
An example `package.json` may look like the following (please replace ${downloadURL}, see explaination below the example):

```json
{
Expand Down Expand Up @@ -102,13 +102,11 @@ An example `package.json` may look like the following:
},
"theiaPluginsDir": "plugins",
"theiaPlugins": {
"vscode-builtin-extensions-pack": "https://open-vsx.org/api/eclipse-theia/builtin-extension-pack/1.50.1/file/eclipse-theia.builtin-extension-pack-1.50.1.vsix"
"vscode-builtin-extensions-pack": "${downloadURL}"
},
"theiaPluginsExcludeIds": [
"ms-vscode.js-debug-companion",
"vscode.extension-editing",
"vscode.git",
"vscode.git-ui",
"vscode.github",
"vscode.github-authentication",
"vscode.microsoft-authentication"
Expand All @@ -119,7 +117,7 @@ An example `package.json` may look like the following:
The following properties are used to consume built-in plugins (bundled extensions):

- `theiaPluginsDir`: the relative path to deploy plugins into
- `theiaPlugins`: the collection of plugins to download (individual plugins or extension-packs) - can point to any valid download URL (ex: Open VSX, GitHub Releases, etc.)
- `theiaPlugins`: the collection of plugins to download (individual plugins or extension-packs) - can point to any valid download URL (ex: Open VSX, GitHub Releases, etc.). **In the example above, replace ${downloadURL} with a link to the latest builtins pack that can be found [on openVSX](https://open-vsx.org/extension/eclipse-theia/builtin-extension-pack) (copy the link on the download button). See also the respective section [in this file](https://github.com/eclipse-theia/theia/blob/master/package.json) for an example**
- `theiaPluginsExcludeIds`: the list of plugin `ids` to exclude when resolving extension-packs

## Building
Expand Down

0 comments on commit c0f358d

Please sign in to comment.