Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Language Server Protocol #2

Open
tthiery opened this issue Nov 30, 2018 · 4 comments
Open

Language Server Protocol #2

tthiery opened this issue Nov 30, 2018 · 4 comments

Comments

@tthiery
Copy link

tthiery commented Nov 30, 2018

Is there a plan to provide a language server protocol implementation of AsyncAPI. That would allow text editors like VSCode, Vim, Atom, etc. to very easily create plugin supporting validation, completions, fixes, ...

btw: Thanks for the awesome work here.

@fmvilas
Copy link
Contributor

fmvilas commented Nov 30, 2018

Honestly, I never heard about language server protocol before. It's really a cool idea. Thanks for opening the issue.

Do you think this is something you could do yourself? We'll be happy to help.

@tthiery
Copy link
Author

tthiery commented Nov 30, 2018

There are good frameworks available for that. The VS Code team is doing a lot of the hard plumping work (https://github.com/Microsoft/vscode-languageserver-node).

Also, the difference between a passive interpretation from a JSON/YAML Schema towards a full blown language server first has to be rationalized. Just formatting and some schema based error notifications can be already done by regular YAML/JSON editor schema support. A requirement for that is features could be like "Find All References" or "Code Action" (like jump to referenced schema) etc.

I am not really a JavaScript dev in my spare time ;) and I actually never applied AsyncAPI yet. I will first apply AsyncAPI to one of my projects and then I have to see what I do ;)

@fmvilas
Copy link
Contributor

fmvilas commented Nov 30, 2018

Cool! Let us know how it goes! I'll have a look at this feature as soon as I have some time. Thanks for all the info!

@rmelian
Copy link
Contributor

rmelian commented Nov 30, 2018

I took a look at https://langserver.org and https://microsoft.github.io/language-server-protocol/. I'm not sure if this is the only protocol that exists for this but it seems to have lot of attention from many communities and companies.

I think it would be very good to have Languege Server for asyncAPI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants