You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experimenting with the sparql-language-server, combined with CodeMirror and qualified/lsps
It works out of the box, which is nice but I completely lack ways to customise the LSP
Specifically, at this moment I would like to add more namespaces/prefixed terms to the completion. I found the hardcoded getCommonCompletionItemsGivenNamespaces.
Is it possible to add more namespaces? Preferably async, to accommodate for large or numerous vocabularies
The text was updated successfully, but these errors were encountered:
Hi @tpluscode, it might not be the solution you're looking for, but with my sparql-language-server-dev package you could create your own worker script where you extend SparqlLanguageServer and override the completion methods. It's not out of the box anymore and quite hacky, especially when accessing private vars of SparqlLanguageServer, but should work.
I'm experimenting with the
sparql-language-server
, combined with CodeMirror and qualified/lspsIt works out of the box, which is nice but I completely lack ways to customise the LSP
Specifically, at this moment I would like to add more namespaces/prefixed terms to the completion. I found the hardcoded
getCommonCompletionItemsGivenNamespaces
.Is it possible to add more namespaces? Preferably async, to accommodate for large or numerous vocabularies
The text was updated successfully, but these errors were encountered: