Skip to content

Commit

Permalink
Merge pull request #9 from Pranavchiku/readme
Browse files Browse the repository at this point in the history
docs: update readme to latest changes
  • Loading branch information
certik authored Nov 20, 2024
2 parents 6a48b73 + 7d13800 commit 94550f6
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,10 @@ cmake -DCMAKE_BUILD_TYPE=Debug \
cmake --build . -j8
```

1. Clone https://github.com/dylon/lfortran-lsp
2. Go to: `lfortran-lsp/src/server.ts` file and replace the binary path of LFortran in
line number 103 to your binary path.
3. Go to: `lfortran-lsp/package.json` file and replace the binary path of LFortran in
line number 61 to your binary path.
4. Build the extension:
1. Clone https://github.com/lfortran/lfortran-lsp
2. Build the extension:

```bash
```console
cd lfortran-lsp && npm install && npm run compile
```

Expand All @@ -52,11 +48,11 @@ Development, and test the extension. :)
To package the extension, you can do:

```bash
npm install -g vsce
npm install --save-dev vsce
vsce package
```

This will generate a .vsix file in your `lfortran-lsp` folder, which can then be
This will generate a `.vsix` file in your `lfortran-lsp` folder, which can then be
imported as an extension. You can go to extensions in VSCode, click on `...` on
the top right, click onInstall from VSIXand select the VSIX, and done (may
require a reload). The extension has now been installed.
Expand Down

0 comments on commit 94550f6

Please sign in to comment.