qlue-ls 0.11.1 → 0.12.1
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 +21 -11
- package/package.json +1 -1
- package/qlue_ls.d.ts +2 -2
- package/qlue_ls.js +4 -4
- package/qlue_ls_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -2,15 +2,26 @@
|
|
|
2
2
|
🦀 Qlue-ls 🦀
|
|
3
3
|
</h1>
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
+
|
|
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), written in Rust 🦀, build for the web.
|
|
18
|
+
|
|
19
|
+
If you want to use Qlue-ls, check out the [documentation](https://docs.qlue-ls.com).
|
|
9
20
|
To learn more about the origin story of this project, read the [blog post](https://ad-blog.cs.uni-freiburg.de/post/qlue-ls-a-sparql-language-server/).
|
|
10
21
|
|
|
11
22
|
# 🚀 Capabilities
|
|
12
23
|
|
|
13
|
-
Here is a quick overview what Qlue-ls can do.
|
|
24
|
+
Here is a quick overview what Qlue-ls can do.
|
|
14
25
|
A more detailed list can be found in the [documentation](https://docs.qlue-ls.com/03_capabilities/).
|
|
15
26
|
|
|
16
27
|
## 📐 Formatting
|
|
@@ -20,21 +31,19 @@ Customizable options to align with preferred query styles are also implemented.
|
|
|
20
31
|
|
|
21
32
|
## 🩺 Diagnostics
|
|
22
33
|
|
|
23
|
-
Diagnostics provide
|
|
24
|
-
Diagnostics come in severity: error, warning and info
|
|
34
|
+
Diagnostics provide feedback on the query. Diagnostics come in severity: error, warning and info
|
|
25
35
|
|
|
26
36
|
## ✨ Completion
|
|
27
37
|
|
|
28
38
|
Completion provides suggestions how the query could continue.
|
|
29
39
|
|
|
30
|
-
For completion of subjects, predicates or objects the language server sends
|
|
31
|
-
completion-queries to the backend and gets the completions from the knowledge-graph.
|
|
40
|
+
For completion of subjects, predicates or objects the language server sends completion-queries to the backend and gets the completions from the knowledge-graph.
|
|
32
41
|
|
|
33
42
|
**These completion queries have to be configured for each knowledge-graph.**
|
|
34
43
|
|
|
35
44
|
## 🛠️ Code Actions
|
|
36
45
|
|
|
37
|
-
Code action suggest complex changes to your input.
|
|
46
|
+
Code action suggest complex changes to your input.
|
|
38
47
|
Often in the form of a *quickfix*, to fix a diagnostic.
|
|
39
48
|
|
|
40
49
|
## ℹ️ Hover
|
|
@@ -56,6 +65,7 @@ Qlue-ls can be configured through a `qlue-ls.toml` or `qlue-ls.yml` file.
|
|
|
56
65
|
Detailed exmplanations can be found in the [documentation](https://docs.qlue-ls.com/04_configuration/).
|
|
57
66
|
|
|
58
67
|
Here is the full default configuration
|
|
68
|
+
|
|
59
69
|
```toml
|
|
60
70
|
[format]
|
|
61
71
|
align_predicates = true
|
|
@@ -73,7 +83,7 @@ result_size_limit = 100
|
|
|
73
83
|
|
|
74
84
|
[prefixes]
|
|
75
85
|
add_missing = true
|
|
76
|
-
remove_unused =
|
|
86
|
+
remove_unused = false
|
|
77
87
|
```
|
|
78
88
|
|
|
79
89
|
# 🙏 Special Thanks
|
package/package.json
CHANGED
package/qlue_ls.d.ts
CHANGED
|
@@ -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 closure1222_externref_shim: (a: number, b: number, c: any) => void;
|
|
27
|
+
readonly closure1592_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.closure1222_externref_shim(arg0, arg1, arg2);
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
function __wbg_adapter_98(arg0, arg1, arg2, arg3) {
|
|
243
|
-
wasm.
|
|
243
|
+
wasm.closure1592_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_wrapper5519 = function(arg0, arg1, arg2) {
|
|
525
|
+
const ret = makeMutClosure(arg0, arg1, 1223, __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
|