platformos-check 0.1.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/CONTRIBUTING.md +2 -2
- data/README.md +1 -1
- data/config/default.yml +0 -1
- data/data/platformos_liquid/documentation/filters.json +1 -1
- data/data/platformos_liquid/documentation/latest.json +1 -1
- data/data/platformos_liquid/documentation/objects.json +1 -1
- data/data/platformos_liquid/documentation/tags.json +1 -1
- data/docs/checks/undefined_object.md +0 -5
- data/lib/platformos_check/analyzer.rb +1 -1
- data/lib/platformos_check/checks/undefined_object.rb +35 -39
- data/lib/platformos_check/checks/unused_assign.rb +4 -0
- data/lib/platformos_check/checks.rb +6 -0
- data/lib/platformos_check/language_server/completion_providers/object_completion_provider.rb +1 -0
- data/lib/platformos_check/language_server/completion_providers/tag_completion_provider.rb +10 -15
- data/lib/platformos_check/language_server/handler.rb +1 -1
- data/lib/platformos_check/language_server/hover_providers/tag_hover_provider.rb +36 -0
- data/lib/platformos_check/language_server/partial_completion_provider.rb +31 -8
- data/lib/platformos_check/liquid_visitor.rb +8 -1
- data/lib/platformos_check/platformos_liquid/source_index/object_entry.rb +4 -0
- data/lib/platformos_check/platformos_liquid/source_index/tag_entry.rb +28 -0
- data/lib/platformos_check/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b560f1b22edc85eadceb664db3c5cf1d0e844c33f54bf8bf8c15b288ac78648c
|
4
|
+
data.tar.gz: 49b94ae62cfa63cbc5308ac6ad20226ca95fa475378233d19ec2c67da501688c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 267f9d075571e75979a8026a3c309ebb1aa0888d2f8ea1d6e4df8476358e28b0ff9e16272267fdae93f2c9f48d1aa47aaaa4aecf41c2b288804314de509534e8
|
7
|
+
data.tar.gz: 748a49ba89dfbf6444ef427f22c1e26c53bd9caac526743297a2a4063c1ebe20f6766c3fdbf8290fb70534699719b858dd85e631b3637c3fb3155382049845e7
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,16 @@
|
|
1
|
-
v0.1
|
1
|
+
v0.2.1 / 2023-09-14
|
2
|
+
==================
|
3
|
+
|
4
|
+
* Single file should be default mode for LSP now
|
5
|
+
* Make all checks work in single file mode - greatly enhance performance
|
6
|
+
|
7
|
+
v0.2.0 / 2023-09-13
|
8
|
+
==================
|
9
|
+
|
10
|
+
* Completion and hover for tags
|
11
|
+
* Fix completion from the middle of the partial
|
12
|
+
|
13
|
+
v0.1.0 / 2023-09-13
|
2
14
|
==================
|
3
15
|
|
4
16
|
* Better documentation for filters
|
data/CONTRIBUTING.md
CHANGED
@@ -55,7 +55,7 @@ Before configuring your IDE, run the following commands in a terminal:
|
|
55
55
|
|
56
56
|
```
|
57
57
|
"platformosCheck.checkOnChange": true,
|
58
|
-
"platformosCheck.onlySingleFileChecks":
|
58
|
+
"platformosCheck.onlySingleFileChecks": true,
|
59
59
|
"platformosLiquid.languageServerPath": "/Users/<your user>/bin/platformos-check-language-server",
|
60
60
|
"platformosCheck.checkOnOpen": true,
|
61
61
|
"platformosCheck.checkOnSave": true
|
@@ -77,7 +77,7 @@ If you use `coc.nvim` as your completion engine, add this to your CocConfig:
|
|
77
77
|
"platformosCheck": {
|
78
78
|
"checkOnSave": true,
|
79
79
|
"checkEnter": true,
|
80
|
-
"onlySingleFileChecks":
|
80
|
+
"onlySingleFileChecks": true,
|
81
81
|
"checkOnChange": true,
|
82
82
|
"checkOnOpen": true
|
83
83
|
}
|
data/README.md
CHANGED
@@ -193,7 +193,7 @@ DeprecateLazysizes:
|
|
193
193
|
- `platformosCheck.checkOnOpen` (default: `true`) makes it so theme check runs on file open.
|
194
194
|
- `platformosCheck.checkOnChange` (default: `true`) makes it so theme check runs on file change.
|
195
195
|
- `platformosCheck.checkOnSave` (default: `true`) makes it so theme check runs on file save.
|
196
|
-
- `platformosCheck.onlySingleFileChecks` (default: `false`) makes it so we only check the opened files and disable "whole
|
196
|
+
- `platformosCheck.onlySingleFileChecks` (default: `false`) makes it so we only check the opened files and disable "whole application" checks (e.g. UnusedPartial, TranslationKeyExists)
|
197
197
|
|
198
198
|
⚠️ **Note:** Quickfixes only work on a freshly checked file. If any of those configurations are turned off, you will need to rerun platformos-check in order to apply quickfixes.
|
199
199
|
|