juanfranblanco / vscode-solidity

Visual Studio Code language support extension for Solidity smart contracts in Ethereum https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity
MIT License
871 stars 187 forks source link

feat: set up `npm publish` for standalone server executable #411

Closed llllvvuu closed 11 months ago

llllvvuu commented 11 months ago

resolves #282

The only thing I didn't do is change the package.json name, since that would also change the VSCode extension name. But solidity is taken on NPM, so you'll need to temporarily change the name each time you run npm publish and then change it back. This can be done in a GitHub Action.

Publish to NPM: npm publish.

Users:

npm install -g @juanfranblanco/vscode-solidity-server
vscode-solidity-server --stdio

The changes:

juanfranblanco commented 11 months ago

Wow thanks this is great!

llllvvuu commented 9 months ago

@juanfranblanco did you want to set up an npm account? or I can publish an independent version

PierrickGT commented 8 months ago

@llllvvuu is there any guide available to set this up in Neovim?

llllvvuu commented 8 months ago

@llllvvuu is there any guide available to set this up in Neovim?

I forked nvim-lspconfig: https://github.com/llllvvuu/nvim-lspconfig/commit/08664bf761f73bc129df7f1cfb9b29884793ae81

I will make that a PR if/when the npm release becomes available from @juanfranblanco (https://github.com/juanfranblanco/vscode-solidity/pull/429)