Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Server Protocol for Prolog #389

Open
erlanger opened this issue Dec 20, 2018 · 3 comments
Open

Language Server Protocol for Prolog #389

erlanger opened this issue Dec 20, 2018 · 3 comments

Comments

@erlanger
Copy link

erlanger commented Dec 20, 2018

It would be great to implement an LSP server (language server protocol) for Prolog, so that we would have code completion, compilation errors, etc support in many editors, something like this:

eclipse-css-code-complete

but for prolog.

I think someone already did a lot of the work writing a Vscode server for SWI-Prolog (which is essentially an LSP server).

It would probably be a good idea to use that code to setup a standalone LSP server that would work with any editor. Almost all languages have support today, I would not like for Prolog to be left behind.

Update: I think most of the backend code needed for this is already in SWISH, it would just need to be tailored to LSP.

@XVilka
Copy link
Contributor

XVilka commented Jul 25, 2019

Seems there is an implementation already: https://github.com/jamesnvc/lsp_server/
But it would be awesome to have it in SWIPL out of the box.

@erlanger
Copy link
Author

Yes, I tried it, but it doesn't work with neovim's LanguageClient.

@XVilka
Copy link
Contributor

XVilka commented Aug 8, 2019

@erlanger what exactly doesn't work? Maybe it makes sense to open bug in one project or another?

For example I requested the support for it in Ale: dense-analysis/ale#2657

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

No branches or pull requests

2 participants