Skip to content

Commit

Permalink
Explain how to install ralph-lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
tdroxler committed Apr 24, 2024
1 parent c18ebd7 commit 04b0d74
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,24 @@ Ralph is the language used in alephium to write smart contracts.
- ...
- Linting. ✅

## Install ralph-lsp

Download `ralph-lsp-x.x.x.zip` from [the latest release page](https://github.com/alephium/ralph-lsp/releases/latest).
Unzip and add the `bin` directory to your `PATH`.
You might need to [start vscode from the terminal](https://code.visualstudio.com/docs/supporting/faq#_resolving-shell-environment-fails), so it can pick up the `PATH` environment variable.

## Build the extension

```bash
npm install
npm run compile
vsce package
```

## Install the extension

Go to vscode extensions and click on the three dots on the top right corner and select `Install from VSIX...` and select the generated `.vsix` file.

## Extension Settings

### Configuration
Expand Down

0 comments on commit 04b0d74

Please sign in to comment.