Skip to content

Commit 8ed5b73

Browse files
authored
feat(ranger): add action for extension-request (#2967)
1 parent a4c8549 commit 8ed5b73

File tree

2 files changed

+49
-5
lines changed

2 files changed

+49
-5
lines changed

.github/ranger.yml

+14
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ default:
88

99
# Default comment to post when an issue is first marked with a closing label
1010
comment: "⚠️ This issue has been marked $LABEL and will be closed in $DELAY."
11+
close-faster:
12+
delay: "1 minute"
1113

1214
labels:
1315
duplicate: close
@@ -23,3 +25,15 @@ labels:
2325
action: comment
2426
delay: 5s
2527
message: "Thanks for making your first contribution! :slightly_smiling_face:"
28+
extension-request:
29+
action: close-faster
30+
delay: 5s
31+
message: >
32+
Thanks for opening an extension request!
33+
We are currently in the process of switching extension
34+
marketplaces and transitioning over to [Open VSX](https://open-vsx.org/).
35+
Once https://github.com/eclipse/openvsx/issues/249 is implemented, we
36+
can fully make this transition. Therefore, we are no longer accepting
37+
new requests for extension requests. We suggest installing the VSIX
38+
file and then installing into code-server as a temporary workaround.
39+
See [docs](https://github.com/cdr/code-server/blob/main/docs/FAQ.md#installing-vsix-extensions-via-the-command-line) for more info."

docs/FAQ.md

+35-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
- [Community Projects (awesome-code-server)](#community-projects-awesome-code-server)
88
- [How can I reuse my VS Code configuration?](#how-can-i-reuse-my-vs-code-configuration)
99
- [Differences compared to VS Code?](#differences-compared-to-vs-code)
10+
- [Installing an extension](#installing-an-extension)
1011
- [How can I request a missing extension?](#how-can-i-request-a-missing-extension)
12+
- [Installing an extension manually](#installing-an-extension-manually)
1113
- [How do I configure the marketplace URL?](#how-do-i-configure-the-marketplace-url)
1214
- [Where are extensions stored?](#where-are-extensions-stored)
1315
- [How is this different from VS Code Codespaces?](#how-is-this-different-from-vs-code-codespaces)
@@ -82,15 +84,43 @@ These are the closed source extensions presently unavailable:
8284

8385
For more about the closed source parts of VS Code, see [vscodium/vscodium](https://github.com/VSCodium/vscodium#why-does-this-exist).
8486

87+
### Installing an extension
88+
89+
Extensions can be installed from the marketplace using the extensions sidebar in
90+
code-server or from the command line:
91+
92+
```shell
93+
code-server --install-extension <extension id>
94+
# example: code-server --install-extension wesbos.theme-cobalt2
95+
```
96+
8597
## How can I request a missing extension?
8698

87-
Please open a new issue and select the `Extension request` template.
99+
We are currently in the process of transitioning to [Open VSX](https://open-vsx.org/).
100+
Once https://github.com/eclipse/openvsx/issues/249
101+
is implemented, we can fully make this transition. Therefore, we are no longer
102+
accepting new requests for extension requests.
103+
104+
Instead, we suggest one of the following:
105+
106+
- [Switch to Open VSX](#how-do-i-configure-the-marketplace-url) now
107+
- Download and [install the extension manually](#installing-an-extension-manually)
88108

89-
If an extension is not available or does not work, you can grab its VSIX from its Github releases or
90-
build it yourself. Then run the `Extensions: Install from VSIX` command in the Command Palette and
91-
point to the .vsix file.
109+
## Installing an extension manually
92110

93-
See below for installing an extension from the cli.
111+
If an extension is not available from the marketplace or does not work, you can
112+
grab its VSIX from its GitHub releases or build it yourself.
113+
114+
Once you have downloaded the VSIX to the remote machine you can either:
115+
116+
- Run the `Extensions: Install from VSIX` command in the Command Palette.
117+
- Use `code-server --install-extension <path to vsix>`
118+
119+
You can also download extensions from the command line. For instance, downloading off OpenVSX can be done like this:
120+
121+
```shell
122+
SERVICE_URL=https://open-vsx.org/vscode/gallery ITEM_URL=https://open-vsx.org/vscode/item code-server --install-extension <extension id>
123+
```
94124

95125
## How do I configure the marketplace URL?
96126

0 commit comments

Comments
 (0)