Zed extension for Turtle, TriG, SPARQL, and JSON-LD, powered by the Semantic Web Language Server (SWLS).
- Autocompletion (prefixes, properties, classes, ontologies)
- Diagnostics
- Formatting
- Semantic highlighting
- Go to definition
- Hover information
Search for SWLS in Zed's extension marketplace (zed: extensions).
The extension automatically downloads the SWLS binary from GitHub releases.
Add to your Zed settings.json to customize initialization options:
{
"lsp": {
"swls": {
"initialization_options": {
"log": "debug",
"turtle": true,
"trig": true,
"jsonld": true,
"sparql": false,
"ontologies": [],
"shapes": [],
"completion": "none"
}
}
}
}To use a custom binary:
{
"lsp": {
"swls": {
"binary": {
"path": "/path/to/swls"
}
}
}
}MIT