Closed kvistgaard closed 1 year ago
Yes that is a desired functionality. But not a notebook feature. Code cells in our case SPARQL have the same functionality as a normal VSCode "language" editor. That mean if i have the stardog sparql extension or my sparql-snippet extension the it's available in a code cell. That great feature you propose is implemented by a language server for SPARQL. To have the everywhere in VSCode. If you know an extension for that then let me know.
Just discovered that one https://marketplace.visualstudio.com/items?itemName=Fireblossom.sparql-auto-completion
Install that extension and you have your desired prefix support
I have all Stardog plugins and prefix collapse works for .rq and .sparql files but not for .sparqlbook files. Installed the suggested extension. No change.
This is clearly desirable but it's out of scope for the notebook and should be done with a SPARQL LSP.
Like it is e.g. at https://yasgui.triply.cc