You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Consolidate initLaunchSandbox.ts and initLaunchSandboxCodium.ts into a single script which determines which editor-cli tool pair is installed automatically.
- Remove pointers to now-removed initLaunchSandboxCodium.ts in package.json and packages/cursorless-vscode/package.json
- Remove auto-installation of missing extension from VSCodium setup from .vsix file, add documentation on how to install it manually instead to CONTRIBUTING.mdx
- Remove data/vsix dir and all files within due to above
- Update CONTRIBUTING.mdx to note that running pnpm compile is not strictly required to contribute to Cursorless
- Update CONTRIBUTING.mdx to remove reference to the specific version settings profiles were added, and instead just tell contributors to raise an issue if they're a problem for some reason
- Fix odd line break at the top of CONTRIBUTING.mdx
Copy file name to clipboardExpand all lines: packages/cursorless-org-docs/src/docs/contributing/CONTRIBUTING.mdx
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,7 @@ import TabItem from '@theme/TabItem';
3
3
4
4
# Contributing
5
5
6
-
Welcome! So glad you've decided to help make Cursorless better. You'll want to start by getting [set up](#initial-setup) and learning how to [run / test a local copy of the
7
-
extension](#running--testing-extension-locally). You may also find the [VSCode API docs](https://code.visualstudio.com/api) helpful to learn about VSCode extension development.
6
+
Welcome! So glad you've decided to help make Cursorless better. You'll want to start by getting [set up](#initial-setup) and learning how to [run / test a local copy of the extension](#running--testing-extension-locally). You may also find the [VSCode API docs](https://code.visualstudio.com/api) helpful to learn about VSCode extension development.
8
7
9
8
## Initial setup
10
9
@@ -13,18 +12,19 @@ extension](#running--testing-extension-locally). You may also find the [VSCode A
13
12
-[Git](https://git-scm.com/)
14
13
-[Node.js](https://nodejs.org/en/)
15
14
-[Corepack](https://nodejs.org/api/corepack.html) or [pnpm](https://pnpm.io/installation)
16
-
-[VSCode](https://code.visualstudio.com/) or [VSCodium](https://vscodium.com/); minimum version for local development is 1.72.0 (1.72.0.22279 for VSCodium) in order to support settings profiles for sandboxed development. Please file an issue if that is a problem.
15
+
-[VSCode](https://code.visualstudio.com/) or [VSCodium](https://vscodium.com/); Please file an issue if you are unable to use [settings profiles](https://code.visualstudio.com/updates/v1_72#_settings-profiles), as they are required for the development environment.
17
16
18
17
### Steps
19
18
20
19
1. Clone [`cursorless`](https://github.com/cursorless-dev/cursorless) locally. Note that it doesn't matter where you clone it, as long as you _**do not**_ clone it into your Talon user directory.
21
-
2. Open the newly created `cursorless` directory in VSCode/VSCodium. If you're on Windows, don't use WSL (see [#919](https://github.com/cursorless-dev/cursorless/issues/919) for discussion / workaround).
20
+
2. Open the newly created `cursorless` directory in VSCode (VSCodium will also be referred to as VSCode from here on out unless specificity is required). If you're on Windows, don't use WSL (see [#919](https://github.com/cursorless-dev/cursorless/issues/919) for discussion / workaround).
22
21
3. Run the following in the terminal:
23
22
24
23
```bash
25
24
pnpm install
26
25
pnpm compile
27
26
```
27
+
Don't fret if `pnpm compile` fails! While required for running tests locally on your machine, you will still be able to run tests through GitHub Actions, and it will not prevent you from contributing otherwise.
28
28
29
29
4. Run the following in the terminal:
30
30
@@ -53,8 +53,10 @@ extension](#running--testing-extension-locally). You may also find the [VSCode A
53
53
</TabItem>
54
54
<TabItemvalue="vscodium"label="VSCodium">
55
55
```bash
56
-
pnpm init-codium-sandbox
56
+
pnpm init-vscode-sandbox
57
57
```
58
+
VSCodium users will also need to manually download and install the `jrieken:vscode-tree-sitter-query` extension, as it is [currently not avalible](https://github.com/jrieken/vscode-tree-sitter-query/issues/28) on the OpenVSX Marketplace.
59
+
Instructions on how to manually download the extension can be found [in this Stack Overflow post](https://stackoverflow.com/a/79565372) ([archived](https://web.archive.org/web/20250421130639/https://stackoverflow.com/questions/79359919/how-can-i-manually-download-vsix-files-now-that-the-vs-code-marketplace-no-long/79565372#79565372)), while manual installation instructions can be found directly below—replace `some.extension` with the acquired `.vsix` file's path instead of an extension id.
0 commit comments