Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Use Language Server Protocol to create bindings for any language #20

Open
yozlet opened this issue Nov 22, 2019 · 2 comments
Open

Use Language Server Protocol to create bindings for any language #20

yozlet opened this issue Nov 22, 2019 · 2 comments

Comments

@yozlet
Copy link

yozlet commented Nov 22, 2019

Language Server Protocol provides calls for many (possibly all) of the language analysis that Sourcetrail needs. There are now open source langservers for many different languages - sometimes multiple implementations for a single language.

It's possible that configuring Sourcetrail to use an existing language server could reduce the work of supporting a language down to a simple config file.

EDIT: If you're interested in general discussion about LSP and/or LSIF support in Sourcetrail (which would make this issue redundant), that's happening here: CoatiSoftware/Sourcetrail#685 . This issue is about implementing that support as an external framework usable by bindings.

@LouisStAmour
Copy link

See also: CoatiSoftware/Sourcetrail#685

@yozlet
Copy link
Author

yozlet commented Dec 4, 2019

@LouisStAmour Thank you! It looks like that's the better issue to host the general LSP & LSIF discussion. I think I should keep this one open since it's about using LSP at the binding level rather than the Sourcetrail level, so anyone could implement it in their own binding, but I'll change the description accordingly.

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

No branches or pull requests

2 participants