From 0ce4fd12330564c4befc829985db22d82e9d6cf9 Mon Sep 17 00:00:00 2001 From: Pranavchiku Date: Tue, 19 Nov 2024 19:29:13 +0530 Subject: [PATCH 1/2] docs: update readme to latest changes --- README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 463afc5..1dfa9b1 100644 --- a/README.md +++ b/README.md @@ -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 ``` @@ -52,11 +48,11 @@ Development, and test the extension. :) To package the extension, you can do: ```bash -npm install -g vsce +sudo npm install -g 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 on “Install from VSIX” and select the VSIX, and done (may require a reload). The extension has now been installed. From 7d1380082cd1216b7d5115309802858e90a061de Mon Sep 17 00:00:00 2001 From: Pranav <85227306+Pranavchiku@users.noreply.github.com> Date: Wed, 20 Nov 2024 18:03:39 +0530 Subject: [PATCH 2/2] chore: apply suggestion from code review --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1dfa9b1..1e2fe5c 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Development, and test the extension. :) To package the extension, you can do: ```bash -sudo npm install -g vsce +npm install --save-dev vsce vsce package ```