How to add an LSP for Solidity?
izcoser opened this issue · comments
I would like to know how would I go about adding an LSP to my Monaco Editor, preferably using this project.
To those who don't know, an lsp is a language service provider which gives you popups as pictured below and tell you where the problems with your code are.
By the way, screenshot above is from Remix IDE, a browser based Ethereum focused IDE which also uses Monaco Editor.
@izcoser you want to write a custom LSP or integrate an existing one?
@izcoser you want to write a custom LSP or integrate an existing one?
Sorry @suren-atoyan I didn't get a notification. I would like to integrate an existing one but I'm not sure how that would even work. For example I know the Solidity compiler has an --lsp flag in which it just idles and waits for input, no idea what to do with it.
If you could point me to how to integrate an existing lsp to monaco-react, it would help a lot.