qlue-ls 0.12.0 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -27
- package/package.json +1 -1
- package/qlue_ls.d.ts +3 -3
- package/qlue_ls.js +4 -4
- package/qlue_ls_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -2,60 +2,68 @@
|
|
|
2
2
|
🦀 Qlue-ls 🦀
|
|
3
3
|
</h1>
|
|
4
4
|
|
|
5
|
+
<div align="center">
|
|
6
|
+
<a href="https://crates.io/crates/qlue-ls">
|
|
7
|
+
<img alt="crates.io" src="https://img.shields.io/crates/v/qlue-ls.svg" />
|
|
8
|
+
</a>
|
|
9
|
+
<a href="https://www.npmjs.com/package/qlue-ls">
|
|
10
|
+
<img alt="npm" src="https://img.shields.io/npm/v/qlue-ls" />
|
|
11
|
+
</a>
|
|
12
|
+
<a href="https://pypi.org/project/qlue-ls">
|
|
13
|
+
<img alt="PyPI" src="https://img.shields.io/pypi/v/qlue-ls" />
|
|
14
|
+
</a>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
5
17
|
⚡Qlue-ls (pronounced "clueless") is a *blazingly fast* [language server](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification) for [SPARQL](https://de.wikipedia.org/wiki/SPARQL),
|
|
6
18
|
written in Rust 🦀, build for the web.
|
|
7
19
|
|
|
8
|
-
|
|
9
|
-
|
|
20
|
+
📚 [Documentation](https://docs.qlue-ls.com)
|
|
21
|
+
📝 [Project Blog Post](https://ad-blog.cs.uni-freiburg.de/post/qlue-ls-a-sparql-language-server/)
|
|
10
22
|
|
|
11
23
|
# 🚀 Capabilities
|
|
12
24
|
|
|
13
|
-
|
|
14
|
-
A more detailed list can be found in the [documentation](https://docs.qlue-ls.com/03_capabilities/).
|
|
25
|
+
Qlue-ls offers a wide range of LSP features tailored to SPARQL development. For a complete overview, see the [capabilities section](https://docs.qlue-ls.com/03_capabilities/).
|
|
15
26
|
|
|
16
27
|
## 📐 Formatting
|
|
17
28
|
|
|
18
|
-
|
|
19
|
-
|
|
29
|
+
- Auto-formats SPARQL queries for consistency and readability
|
|
30
|
+
- Fully customizable to match your preferred coding style
|
|
20
31
|
|
|
21
32
|
## 🩺 Diagnostics
|
|
22
33
|
|
|
23
|
-
|
|
24
|
-
|
|
34
|
+
- Real-time feedback with severity levels: error, warning, and info
|
|
35
|
+
- Helps catch syntax issues and common mistakes
|
|
25
36
|
|
|
26
37
|
## ✨ Completion
|
|
27
38
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
completion-queries to the backend and gets the completions from the knowledge-graph.
|
|
32
|
-
|
|
33
|
-
**These completion queries have to be configured for each knowledge-graph.**
|
|
39
|
+
- Suggests valid continuations while typing SPARQL queries
|
|
40
|
+
- Backend-powered suggestions for subjects, predicates, and objects
|
|
41
|
+
- **Note:** Completion queries must be configured for each knowledge graph
|
|
34
42
|
|
|
35
43
|
## 🛠️ Code Actions
|
|
36
44
|
|
|
37
|
-
|
|
38
|
-
|
|
45
|
+
- Provides smart quick-fixes for diagnostics
|
|
46
|
+
- Offers suggested improvements and automated edits
|
|
39
47
|
|
|
40
48
|
## ℹ️ Hover
|
|
41
49
|
|
|
42
|
-
|
|
50
|
+
- View contextual information by hovering over tokens
|
|
43
51
|
|
|
44
52
|
## 🕳 Jump
|
|
45
53
|
|
|
46
|
-
|
|
54
|
+
- Navigate quickly between key locations in a query
|
|
47
55
|
|
|
48
56
|
## ❓ operation identification
|
|
49
57
|
|
|
50
|
-
|
|
58
|
+
- Detects whether a SPARQL operation is a `query` or an `update`
|
|
51
59
|
|
|
52
60
|
# ⚙️ Configuration
|
|
53
61
|
|
|
54
|
-
Qlue-ls
|
|
62
|
+
Qlue-ls is configured via a qlue-ls.toml or qlue-ls.yml file.
|
|
63
|
+
Full configuration options are explained in the [documentation](https://docs.qlue-ls.com/04_configuration/).
|
|
55
64
|
|
|
56
|
-
|
|
65
|
+
## Default Configuration
|
|
57
66
|
|
|
58
|
-
Here is the full default configuration
|
|
59
67
|
```toml
|
|
60
68
|
[format]
|
|
61
69
|
align_predicates = true
|
|
@@ -73,11 +81,10 @@ result_size_limit = 100
|
|
|
73
81
|
|
|
74
82
|
[prefixes]
|
|
75
83
|
add_missing = true
|
|
76
|
-
remove_unused =
|
|
84
|
+
remove_unused = false
|
|
77
85
|
```
|
|
78
86
|
|
|
79
|
-
# 🙏
|
|
87
|
+
# 🙏 Acknowledgements
|
|
80
88
|
|
|
81
|
-
* [TJ DeVries](https://github.com/tjdevries) for the inspiration and
|
|
82
|
-
* [
|
|
83
|
-
* [Hannah Bast](https://ad.informatik.uni-freiburg.de/staff/bast) for the guidance.
|
|
89
|
+
* [TJ DeVries](https://github.com/tjdevries) - for the inspiration and fantastic tutorials
|
|
90
|
+
* [Hannah Bast](https://ad.informatik.uni-freiburg.de/staff/bast) - for mentorship and guidance.
|
package/package.json
CHANGED
package/qlue_ls.d.ts
CHANGED
|
@@ -12,9 +12,9 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
12
12
|
|
|
13
13
|
export interface InitOutput {
|
|
14
14
|
readonly memory: WebAssembly.Memory;
|
|
15
|
-
readonly __wbg_server_free: (a: number, b: number) => void;
|
|
16
15
|
readonly init_language_server: (a: any) => number;
|
|
17
16
|
readonly listen: (a: number, b: any) => any;
|
|
17
|
+
readonly __wbg_server_free: (a: number, b: number) => void;
|
|
18
18
|
readonly get_parse_tree: (a: number, b: number, c: number) => any;
|
|
19
19
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
20
20
|
readonly __externref_table_alloc: () => number;
|
|
@@ -23,8 +23,8 @@ export interface InitOutput {
|
|
|
23
23
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
24
24
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
25
25
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
26
|
+
readonly closure1221_externref_shim: (a: number, b: number, c: any) => void;
|
|
27
|
+
readonly closure1591_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
28
28
|
readonly __wbindgen_start: () => void;
|
|
29
29
|
}
|
|
30
30
|
|
package/qlue_ls.js
CHANGED
|
@@ -236,11 +236,11 @@ export function get_parse_tree(input, offset) {
|
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
function __wbg_adapter_24(arg0, arg1, arg2) {
|
|
239
|
-
wasm.
|
|
239
|
+
wasm.closure1221_externref_shim(arg0, arg1, arg2);
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
function __wbg_adapter_98(arg0, arg1, arg2, arg3) {
|
|
243
|
-
wasm.
|
|
243
|
+
wasm.closure1591_externref_shim(arg0, arg1, arg2, arg3);
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
@@ -521,8 +521,8 @@ function __wbg_get_imports() {
|
|
|
521
521
|
const ret = false;
|
|
522
522
|
return ret;
|
|
523
523
|
};
|
|
524
|
-
imports.wbg.
|
|
525
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
524
|
+
imports.wbg.__wbindgen_closure_wrapper5536 = function(arg0, arg1, arg2) {
|
|
525
|
+
const ret = makeMutClosure(arg0, arg1, 1222, __wbg_adapter_24);
|
|
526
526
|
return ret;
|
|
527
527
|
};
|
|
528
528
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/qlue_ls_bg.wasm
CHANGED
|
Binary file
|