mirror of
https://github.com/IoannisNezis/Qlue-ls.git
synced 2025-12-23 08:48:13 +00:00
A SPARQL language server
|
|
||
|---|---|---|
| .cargo | ||
| .github/workflows | ||
| crates/parser | ||
| docs | ||
| editor | ||
| src | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| justfile | ||
| LICENSE | ||
| Makefile | ||
| pyproject.toml | ||
| README.md | ||
| renovate.json | ||
🦀 Qlue-ls 🦀
⚡Qlue-ls (pronounced "clueless") is a blazingly fast language server for SPARQL, written in Rust 🦀, build for the web.
💻 Live Demo
📚 Documentation
📝 Project Blog Post
🎓 Thesis
🚀 Capabilities
Qlue-ls offers a wide range of LSP features tailored to SPARQL development.
For a complete overview, see the capabilities section.
✨ Completion
- Suggests valid continuations while typing SPARQL queries
- Backend-powered suggestions for subjects, predicates, and objects
- Note: Completion queries must be configured for each knowledge graph
📐 Formatting
- Auto-formats SPARQL queries for consistency and readability
- Fully customizable to match your preferred coding style
🛠️ Code Actions
- Provides smart quick-fixes for diagnostics
- Offers suggested improvements and automated edits
ℹ️ Hover
- View contextual information by hovering over tokens
🩺 Diagnostics
- Real-time feedback with severity levels: error, warning, and info
- Helps catch syntax issues and common mistakes
🕳 Jump
- Navigate quickly between key locations in a query
❓ operation identification
- Detects whether a SPARQL operation is a
queryor anupdate
⚙️ Configuration
Qlue-ls is configured via a qlue-ls.toml or qlue-ls.yml file.
Full configuration options are explained in the documentation.
Default Configuration
[format]
align_predicates = true
align_prefixes = true
separate_prologue = false
capitalize_keywords = true
insert_spaces = true
tab_size = 2
where_new_line = true
filter_same_line = true
[completion]
timeout_ms = 5000
result_size_limit = 100
[prefixes]
add_missing = true
remove_unused = false
🙏 Acknowledgements
- TJ DeVries - for the inspiration and fantastic tutorials
- Hannah Bast - for mentorship and guidance.