Skip to content

SemanticWebLanguageServer/swls-zed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWLS – Zed Extension

Zed extension for Turtle, TriG, SPARQL, and JSON-LD, powered by the Semantic Web Language Server (SWLS).

Features

  • Autocompletion (prefixes, properties, classes, ontologies)
  • Diagnostics
  • Formatting
  • Semantic highlighting
  • Go to definition
  • Hover information

Installation

Search for SWLS in Zed's extension marketplace (zed: extensions).

The extension automatically downloads the SWLS binary from GitHub releases.

Configuration

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"
      }
    }
  }
}

License

MIT

About

Zed plugin for SWLS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages