vyper icon indicating copy to clipboard operation
vyper copied to clipboard

LSP support

Open fubuloubu opened this issue 4 years ago • 7 comments

https://github.com/neovim/nvim-lspconfig

fubuloubu avatar Aug 26 '21 11:08 fubuloubu

Looks like solidity is on the verge of adding LSP support https://github.com/ethereum/solidity/pull/11350

fp-crypto avatar Aug 29 '21 04:08 fp-crypto

I looked very briefly into how one may implement this. Seems like it would require substantial effort

spinoch avatar Aug 29 '21 21:08 spinoch

Solidity just launched their LSP

Perhaps it could be possible to leverage an existing Python LSP to help build a Vyper LSP?

mlntr avatar Dec 23 '21 23:12 mlntr

Well, it might be possible to leverage jedi a bit for this: https://github.com/pappasam/jedi-language-server

fubuloubu avatar Dec 24 '21 17:12 fubuloubu

I wonder if it might be possible to create a vyper plugin for https://github.com/python-lsp/python-lsp-server

meatballs avatar May 18 '22 15:05 meatballs

iIn this regard, It would be nice if there were some document outlining vyper's grammar specification (absent more formal specs) like this one from Python.

spinoch avatar Jun 29 '22 11:06 spinoch

@spinoch see https://github.com/vyperlang/vyper/blob/c27f2257cecdc5ba7d89ba7525f580073b84a921/tests/grammar/vyper.lark

charles-cooper avatar Jun 29 '22 12:06 charles-cooper

found this plugin for vscode, at very early stage: https://github.com/z80dev/vscode-vyper-lsp-extension

there is an official repo: https://github.com/vyperlang/vyper-lsp

sify21 avatar Nov 14 '23 12:11 sify21