mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 19:50:14 +01:00
prepares vscode extension for open-vsx (#6834)
We'd like to add the Carbon vscode extension to open-vsx.org so it's available on vscode-compatible projects (see #6766). This commit updates documentation so that we're recommending the correct package, and updates our dependencies to ensure users have the latest security patches. --------- Co-authored-by: Carbon Infra Bot <carbon-external-infra@google.com> Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
This commit is contained in:
co-authored by
Carbon Infra Bot
Chandler Carruth
parent
86d05b598b
commit
a345a74145
@@ -8,14 +8,15 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
|
||||
## Tool setup
|
||||
|
||||
NodeJS is required to build the extension. You will also need to install `vsce`:
|
||||
NodeJS is required to build the extension. You will also need to install `vsce`
|
||||
and `ovsx`:
|
||||
|
||||
```
|
||||
npm install -g vsce
|
||||
npm install -g @vscode/vsce ovsx
|
||||
```
|
||||
|
||||
This installs `vsce` to `/usr/local/bin/vsce`. Ensure that `/usr/local/bin` is
|
||||
in your `$PATH` environment variable to use it.
|
||||
This installs `vsce` and `ovsx` to `/usr/local/bin`. Ensure that
|
||||
`/usr/local/bin` is in your `$PATH` environment variable to use it.
|
||||
|
||||
## Common operations
|
||||
|
||||
@@ -43,13 +44,16 @@ in your `$PATH` environment variable to use it.
|
||||
and select "Extensions: Install from VSIX...".
|
||||
3. Enter the path printed by the above command.
|
||||
|
||||
- Build and publish the release using the website:
|
||||
- Build and publish the release to the VSCode Marketplace using the website:
|
||||
|
||||
1. `npm install && vsce package -o carbon.vsix && realpath carbon.vsix`
|
||||
2. Go to https://marketplace.visualstudio.com/manage/publishers/carbon-lang
|
||||
3. Next to the extension name, click the "..." and select "Update".
|
||||
4. Select the `carbon.vsix` file.
|
||||
|
||||
- Build and publish the release to the Open VSX Registry by following the
|
||||
[Open VSX documentation for publishing extensions](https://github.com/EclipseFdn/open-vsx.org/wiki/Publishing-Extensions).
|
||||
|
||||
## Development
|
||||
|
||||
1. `bazel build //toolchain` in project root.
|
||||
|
||||
Generated
+927
-1421
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
||||
"displayName": "Carbon Language",
|
||||
"version": "0.0.7",
|
||||
"publisher": "carbon-lang",
|
||||
"description": "Carbon language support for Visual Studio Code.",
|
||||
"description": "Carbon language support for the 'Code - OSS' family of editors.",
|
||||
"repository": {
|
||||
"url": "https://github.com/carbon-language/carbon-lang"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user