@enjoys/context-engine 1.1.0 → 1.1.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.
Files changed (85) hide show
  1. package/data/codeActions/dart.json +31 -0
  2. package/data/codeActions/docker-compose.json +112 -0
  3. package/data/codeActions/kotlin.json +18 -0
  4. package/data/codeActions/scala.json +26 -0
  5. package/data/codeActions/swift.json +26 -0
  6. package/data/codeLens/dart.json +15 -0
  7. package/data/codeLens/docker-compose.json +4 -0
  8. package/data/codeLens/kotlin.json +10 -0
  9. package/data/codeLens/scala.json +18 -0
  10. package/data/codeLens/swift.json +15 -0
  11. package/data/color/dart.json +37 -0
  12. package/data/color/docker-compose.json +6 -0
  13. package/data/color/kotlin.json +12 -0
  14. package/data/color/scala.json +13 -0
  15. package/data/color/swift.json +37 -0
  16. package/data/commands/kotlin.json +45 -0
  17. package/data/commands/scala.json +171 -0
  18. package/data/commands/swift.json +67 -0
  19. package/data/completion/dart.json +1436 -0
  20. package/data/completion/docker-compose.json +959 -0
  21. package/data/completion/kotlin.json +1580 -0
  22. package/data/completion/scala.json +1076 -0
  23. package/data/completion/swift.json +1742 -0
  24. package/data/declaration/dart.json +25 -0
  25. package/data/declaration/docker-compose.json +42 -0
  26. package/data/declaration/kotlin.json +14 -0
  27. package/data/declaration/scala.json +23 -0
  28. package/data/declaration/swift.json +18 -0
  29. package/data/defination/dart.json +369 -0
  30. package/data/defination/docker-compose.json +347 -0
  31. package/data/defination/kotlin.json +789 -0
  32. package/data/defination/scala.json +285 -0
  33. package/data/defination/swift.json +551 -0
  34. package/data/documentHighlight/dart.json +84 -0
  35. package/data/documentHighlight/docker-compose.json +233 -0
  36. package/data/documentHighlight/kotlin.json +37 -0
  37. package/data/documentHighlight/scala.json +79 -0
  38. package/data/documentHighlight/swift.json +89 -0
  39. package/data/documentSymbol/dart.json +20 -0
  40. package/data/documentSymbol/docker-compose.json +75 -0
  41. package/data/documentSymbol/kotlin.json +15 -0
  42. package/data/documentSymbol/scala.json +21 -0
  43. package/data/documentSymbol/swift.json +17 -0
  44. package/data/formatting/dart.json +16 -0
  45. package/data/formatting/docker-compose.json +24 -0
  46. package/data/formatting/kotlin.json +14 -0
  47. package/data/formatting/scala.json +17 -0
  48. package/data/formatting/swift.json +19 -0
  49. package/data/hover/dart.json +161 -0
  50. package/data/hover/docker-compose.json +404 -0
  51. package/data/hover/kotlin.json +341 -0
  52. package/data/hover/scala.json +209 -0
  53. package/data/hover/swift.json +239 -0
  54. package/data/implementation/dart.json +14 -0
  55. package/data/implementation/docker-compose.json +7 -0
  56. package/data/implementation/kotlin.json +13 -0
  57. package/data/implementation/scala.json +16 -0
  58. package/data/implementation/swift.json +14 -0
  59. package/data/inlayHints/dart.json +29 -0
  60. package/data/inlayHints/docker-compose.json +43 -0
  61. package/data/inlayHints/kotlin.json +23 -0
  62. package/data/inlayHints/scala.json +42 -0
  63. package/data/inlayHints/swift.json +37 -0
  64. package/data/inlineCompletions/dart.json +27 -0
  65. package/data/inlineCompletions/docker-compose.json +89 -0
  66. package/data/inlineCompletions/kotlin.json +19 -0
  67. package/data/inlineCompletions/scala.json +26 -0
  68. package/data/inlineCompletions/swift.json +23 -0
  69. package/data/links/dart.json +16 -0
  70. package/data/links/docker-compose.json +47 -0
  71. package/data/links/kotlin.json +10 -0
  72. package/data/links/scala.json +17 -0
  73. package/data/links/swift.json +13 -0
  74. package/data/manifest.json +38 -0
  75. package/data/references/dart.json +15 -0
  76. package/data/references/docker-compose.json +42 -0
  77. package/data/references/kotlin.json +12 -0
  78. package/data/references/scala.json +15 -0
  79. package/data/references/swift.json +14 -0
  80. package/data/typeDefinition/dart.json +35 -0
  81. package/data/typeDefinition/docker-compose.json +4 -0
  82. package/data/typeDefinition/kotlin.json +33 -0
  83. package/data/typeDefinition/scala.json +52 -0
  84. package/data/typeDefinition/swift.json +56 -0
  85. package/package.json +1 -1
@@ -0,0 +1,233 @@
1
+ {
2
+ "language": "docker-compose",
3
+ "highlights": {
4
+ "services": {
5
+ "kind": 0,
6
+ "description": "Highlights all occurrences of 'services'"
7
+ },
8
+ "image": {
9
+ "kind": 1,
10
+ "description": "Highlights all occurrences of 'image'"
11
+ },
12
+ "build": {
13
+ "kind": 1,
14
+ "description": "Highlights all occurrences of 'build'"
15
+ },
16
+ "container_name": {
17
+ "kind": 0,
18
+ "description": "Highlights all occurrences of 'container_name'"
19
+ },
20
+ "command": {
21
+ "kind": 0,
22
+ "description": "Highlights all occurrences of 'command'"
23
+ },
24
+ "entrypoint": {
25
+ "kind": 0,
26
+ "description": "Highlights all occurrences of 'entrypoint'"
27
+ },
28
+ "ports": {
29
+ "kind": 0,
30
+ "description": "Highlights all occurrences of 'ports'"
31
+ },
32
+ "expose": {
33
+ "kind": 0,
34
+ "description": "Highlights all occurrences of 'expose'"
35
+ },
36
+ "environment": {
37
+ "kind": 2,
38
+ "description": "Highlights all occurrences of 'environment'"
39
+ },
40
+ "env_file": {
41
+ "kind": 1,
42
+ "description": "Highlights all occurrences of 'env_file'"
43
+ },
44
+ "volumes": {
45
+ "kind": 0,
46
+ "description": "Highlights all occurrences of 'volumes'"
47
+ },
48
+ "networks": {
49
+ "kind": 0,
50
+ "description": "Highlights all occurrences of 'networks'"
51
+ },
52
+ "depends_on": {
53
+ "kind": 0,
54
+ "description": "Highlights all occurrences of 'depends_on'"
55
+ },
56
+ "restart": {
57
+ "kind": 0,
58
+ "description": "Highlights all occurrences of 'restart'"
59
+ },
60
+ "healthcheck": {
61
+ "kind": 0,
62
+ "description": "Highlights all occurrences of 'healthcheck'"
63
+ },
64
+ "deploy": {
65
+ "kind": 0,
66
+ "description": "Highlights all occurrences of 'deploy'"
67
+ },
68
+ "logging": {
69
+ "kind": 0,
70
+ "description": "Highlights all occurrences of 'logging'"
71
+ },
72
+ "labels": {
73
+ "kind": 2,
74
+ "description": "Highlights all occurrences of 'labels'"
75
+ },
76
+ "working_dir": {
77
+ "kind": 0,
78
+ "description": "Highlights all occurrences of 'working_dir'"
79
+ },
80
+ "user": {
81
+ "kind": 0,
82
+ "description": "Highlights all occurrences of 'user'"
83
+ },
84
+ "secrets": {
85
+ "kind": 0,
86
+ "description": "Highlights all occurrences of 'secrets'"
87
+ },
88
+ "configs": {
89
+ "kind": 0,
90
+ "description": "Highlights all occurrences of 'configs'"
91
+ },
92
+ "network_mode": {
93
+ "kind": 0,
94
+ "description": "Highlights all occurrences of 'network_mode'"
95
+ },
96
+ "cap_add": {
97
+ "kind": 0,
98
+ "description": "Highlights all occurrences of 'cap_add'"
99
+ },
100
+ "cap_drop": {
101
+ "kind": 0,
102
+ "description": "Highlights all occurrences of 'cap_drop'"
103
+ },
104
+ "privileged": {
105
+ "kind": 0,
106
+ "description": "Highlights all occurrences of 'privileged'"
107
+ },
108
+ "read_only": {
109
+ "kind": 0,
110
+ "description": "Highlights all occurrences of 'read_only'"
111
+ },
112
+ "security_opt": {
113
+ "kind": 0,
114
+ "description": "Highlights all occurrences of 'security_opt'"
115
+ },
116
+ "pid": {
117
+ "kind": 0,
118
+ "description": "Highlights all occurrences of 'pid'"
119
+ },
120
+ "ipc": {
121
+ "kind": 0,
122
+ "description": "Highlights all occurrences of 'ipc'"
123
+ },
124
+ "extra_hosts": {
125
+ "kind": 0,
126
+ "description": "Highlights all occurrences of 'extra_hosts'"
127
+ },
128
+ "dns": {
129
+ "kind": 0,
130
+ "description": "Highlights all occurrences of 'dns'"
131
+ },
132
+ "tmpfs": {
133
+ "kind": 0,
134
+ "description": "Highlights all occurrences of 'tmpfs'"
135
+ },
136
+ "ulimits": {
137
+ "kind": 0,
138
+ "description": "Highlights all occurrences of 'ulimits'"
139
+ },
140
+ "sysctls": {
141
+ "kind": 0,
142
+ "description": "Highlights all occurrences of 'sysctls'"
143
+ },
144
+ "stop_signal": {
145
+ "kind": 0,
146
+ "description": "Highlights all occurrences of 'stop_signal'"
147
+ },
148
+ "stop_grace_period": {
149
+ "kind": 0,
150
+ "description": "Highlights all occurrences of 'stop_grace_period'"
151
+ },
152
+ "init": {
153
+ "kind": 0,
154
+ "description": "Highlights all occurrences of 'init'"
155
+ },
156
+ "platform": {
157
+ "kind": 0,
158
+ "description": "Highlights all occurrences of 'platform'"
159
+ },
160
+ "profiles": {
161
+ "kind": 0,
162
+ "description": "Highlights all occurrences of 'profiles'"
163
+ },
164
+ "pull_policy": {
165
+ "kind": 0,
166
+ "description": "Highlights all occurrences of 'pull_policy'"
167
+ },
168
+ "extends": {
169
+ "kind": 0,
170
+ "description": "Highlights all occurrences of 'extends'"
171
+ },
172
+ "develop": {
173
+ "kind": 0,
174
+ "description": "Highlights all occurrences of 'develop'"
175
+ },
176
+ "include": {
177
+ "kind": 0,
178
+ "description": "Highlights all occurrences of 'include'"
179
+ },
180
+ "version": {
181
+ "kind": 0,
182
+ "description": "Highlights all occurrences of 'version'"
183
+ },
184
+ "name": {
185
+ "kind": 0,
186
+ "description": "Highlights all occurrences of 'name'"
187
+ },
188
+ "driver": {
189
+ "kind": 0,
190
+ "description": "Highlights all occurrences of 'driver'"
191
+ },
192
+ "external": {
193
+ "kind": 0,
194
+ "description": "Highlights all occurrences of 'external'"
195
+ },
196
+ "ipam": {
197
+ "kind": 0,
198
+ "description": "Highlights all occurrences of 'ipam'"
199
+ }
200
+ },
201
+ "bracketPairs": [
202
+ { "open": "{", "close": "}" },
203
+ { "open": "[", "close": "]" },
204
+ { "open": "(", "close": ")" }
205
+ ],
206
+ "keywordGroups": [
207
+ {
208
+ "name": "top_level",
209
+ "keywords": ["services", "networks", "volumes", "secrets", "configs", "version", "name", "include"],
210
+ "highlightKind": 0
211
+ },
212
+ {
213
+ "name": "service_config",
214
+ "keywords": ["image", "build", "container_name", "command", "entrypoint", "ports", "expose", "environment", "env_file", "volumes", "networks", "depends_on", "restart", "healthcheck", "deploy", "logging", "labels", "working_dir", "user"],
215
+ "highlightKind": 0
216
+ },
217
+ {
218
+ "name": "security",
219
+ "keywords": ["secrets", "configs", "cap_add", "cap_drop", "privileged", "read_only", "security_opt"],
220
+ "highlightKind": 0
221
+ },
222
+ {
223
+ "name": "networking",
224
+ "keywords": ["network_mode", "extra_hosts", "dns", "dns_search", "hostname", "domainname", "pid", "ipc"],
225
+ "highlightKind": 0
226
+ },
227
+ {
228
+ "name": "resources",
229
+ "keywords": ["tmpfs", "ulimits", "sysctls", "shm_size", "devices", "runtime", "platform"],
230
+ "highlightKind": 0
231
+ }
232
+ ]
233
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "language": "kotlin",
3
+ "highlights": {
4
+ "fun": {"kind": 0, "description": "Function declaration keyword"},
5
+ "val": {"kind": 0, "description": "Immutable variable keyword"},
6
+ "var": {"kind": 0, "description": "Mutable variable keyword"},
7
+ "class": {"kind": 0, "description": "Class declaration keyword"},
8
+ "object": {"kind": 0, "description": "Object declaration keyword"},
9
+ "interface": {"kind": 0, "description": "Interface declaration keyword"},
10
+ "if": {"kind": 0, "description": "Conditional keyword"},
11
+ "else": {"kind": 0, "description": "Else branch keyword"},
12
+ "when": {"kind": 0, "description": "When expression keyword"},
13
+ "for": {"kind": 0, "description": "For loop keyword"},
14
+ "while": {"kind": 0, "description": "While loop keyword"},
15
+ "return": {"kind": 0, "description": "Return keyword"},
16
+ "throw": {"kind": 0, "description": "Throw exception keyword"},
17
+ "try": {"kind": 0, "description": "Try block keyword"},
18
+ "catch": {"kind": 0, "description": "Catch block keyword"},
19
+ "finally": {"kind": 0, "description": "Finally block keyword"},
20
+ "suspend": {"kind": 0, "description": "Suspending function keyword"},
21
+ "import": {"kind": 0, "description": "Import keyword"},
22
+ "package": {"kind": 0, "description": "Package keyword"}
23
+ },
24
+ "bracketPairs": [
25
+ {"open": "{", "close": "}"},
26
+ {"open": "(", "close": ")"},
27
+ {"open": "[", "close": "]"},
28
+ {"open": "<", "close": ">"}
29
+ ],
30
+ "keywordGroups": [
31
+ {"name": "control_flow", "keywords": ["if", "else", "when", "for", "while", "do", "return", "break", "continue", "throw"], "highlightKind": 0},
32
+ {"name": "declarations", "keywords": ["fun", "val", "var", "class", "object", "interface", "enum", "sealed", "data", "abstract", "open", "typealias"], "highlightKind": 0},
33
+ {"name": "modifiers", "keywords": ["private", "protected", "internal", "public", "override", "open", "abstract", "final", "inline", "suspend", "operator", "infix"], "highlightKind": 0},
34
+ {"name": "expressions", "keywords": ["is", "as", "in", "out", "by", "this", "super", "null", "true", "false"], "highlightKind": 0},
35
+ {"name": "error_handling", "keywords": ["try", "catch", "finally", "throw"], "highlightKind": 0}
36
+ ]
37
+ }
@@ -0,0 +1,79 @@
1
+ {
2
+ "language": "scala",
3
+ "highlights": {
4
+ "abstract": {"kind": 0, "description": "Abstract class/member modifier keyword"},
5
+ "case": {"kind": 0, "description": "Case clause or case class modifier keyword"},
6
+ "catch": {"kind": 0, "description": "Exception catch keyword"},
7
+ "class": {"kind": 0, "description": "Class declaration keyword"},
8
+ "def": {"kind": 0, "description": "Method definition keyword"},
9
+ "do": {"kind": 0, "description": "Do-while loop keyword"},
10
+ "else": {"kind": 0, "description": "Else branch keyword"},
11
+ "extends": {"kind": 0, "description": "Inheritance keyword"},
12
+ "false": {"kind": 0, "description": "Boolean literal false"},
13
+ "final": {"kind": 0, "description": "Final modifier keyword"},
14
+ "finally": {"kind": 0, "description": "Finally block keyword"},
15
+ "for": {"kind": 0, "description": "For loop/comprehension keyword"},
16
+ "forSome": {"kind": 0, "description": "Existential type keyword"},
17
+ "if": {"kind": 0, "description": "Conditional expression keyword"},
18
+ "implicit": {"kind": 0, "description": "Implicit modifier keyword"},
19
+ "import": {"kind": 0, "description": "Import declaration keyword"},
20
+ "lazy": {"kind": 0, "description": "Lazy evaluation keyword"},
21
+ "match": {"kind": 0, "description": "Pattern matching keyword"},
22
+ "new": {"kind": 0, "description": "Object creation keyword"},
23
+ "null": {"kind": 0, "description": "Null reference literal"},
24
+ "object": {"kind": 0, "description": "Singleton object keyword"},
25
+ "override": {"kind": 0, "description": "Override modifier keyword"},
26
+ "package": {"kind": 0, "description": "Package declaration keyword"},
27
+ "private": {"kind": 0, "description": "Private access modifier"},
28
+ "protected": {"kind": 0, "description": "Protected access modifier"},
29
+ "return": {"kind": 0, "description": "Return statement keyword"},
30
+ "sealed": {"kind": 0, "description": "Sealed modifier keyword"},
31
+ "super": {"kind": 0, "description": "Superclass reference keyword"},
32
+ "this": {"kind": 0, "description": "Current instance reference"},
33
+ "throw": {"kind": 0, "description": "Throw expression keyword"},
34
+ "trait": {"kind": 0, "description": "Trait declaration keyword"},
35
+ "true": {"kind": 0, "description": "Boolean literal true"},
36
+ "try": {"kind": 0, "description": "Try block keyword"},
37
+ "type": {"kind": 0, "description": "Type alias/member keyword"},
38
+ "val": {"kind": 0, "description": "Immutable value keyword"},
39
+ "var": {"kind": 0, "description": "Mutable variable keyword"},
40
+ "while": {"kind": 0, "description": "While loop keyword"},
41
+ "with": {"kind": 0, "description": "Mixin composition keyword"},
42
+ "yield": {"kind": 0, "description": "For-comprehension yield keyword"},
43
+ "given": {"kind": 0, "description": "Given instance keyword (Scala 3)"},
44
+ "using": {"kind": 0, "description": "Using clause keyword (Scala 3)"},
45
+ "enum": {"kind": 0, "description": "Enum declaration keyword (Scala 3)"},
46
+ "export": {"kind": 0, "description": "Export clause keyword (Scala 3)"},
47
+ "then": {"kind": 0, "description": "Then keyword (Scala 3)"},
48
+ "end": {"kind": 0, "description": "End marker keyword (Scala 3)"},
49
+ "extension": {"kind": 0, "description": "Extension method keyword (Scala 3)"},
50
+ "transparent": {"kind": 0, "description": "Transparent inline keyword (Scala 3)"},
51
+ "inline": {"kind": 0, "description": "Inline modifier keyword (Scala 3)"},
52
+ "opaque": {"kind": 0, "description": "Opaque type keyword (Scala 3)"},
53
+ "open": {"kind": 0, "description": "Open class keyword (Scala 3)"},
54
+ "derives": {"kind": 0, "description": "Derives clause keyword (Scala 3)"},
55
+ "(": {"kind": 1, "description": "Opening parenthesis"},
56
+ ")": {"kind": 1, "description": "Closing parenthesis"},
57
+ "{": {"kind": 1, "description": "Opening brace"},
58
+ "}": {"kind": 1, "description": "Closing brace"},
59
+ "[": {"kind": 1, "description": "Opening bracket (type parameters)"},
60
+ "]": {"kind": 1, "description": "Closing bracket (type parameters)"},
61
+ "=>": {"kind": 1, "description": "Arrow operator (lambda, match)"},
62
+ "<-": {"kind": 1, "description": "Generator arrow (for-comprehension)"},
63
+ "=": {"kind": 1, "description": "Assignment/definition operator"},
64
+ ":": {"kind": 1, "description": "Type ascription operator"}
65
+ },
66
+ "highlightGroups": [
67
+ {"name": "control flow", "tokens": ["if", "else", "match", "case", "for", "while", "do", "return", "then"]},
68
+ {"name": "exception handling", "tokens": ["try", "catch", "finally", "throw"]},
69
+ {"name": "declarations", "tokens": ["def", "val", "var", "class", "object", "trait", "type", "enum", "given", "extension"]},
70
+ {"name": "modifiers", "tokens": ["abstract", "final", "sealed", "private", "protected", "override", "implicit", "lazy", "inline", "transparent", "opaque", "open"]},
71
+ {"name": "composition", "tokens": ["extends", "with", "derives"]},
72
+ {"name": "literals", "tokens": ["true", "false", "null"]},
73
+ {"name": "references", "tokens": ["this", "super", "new"]},
74
+ {"name": "structure", "tokens": ["package", "import", "export", "end"]},
75
+ {"name": "scala3_contextual", "tokens": ["given", "using"]},
76
+ {"name": "brackets", "tokens": ["(", ")", "{", "}", "[", "]"]},
77
+ {"name": "operators", "tokens": ["=>", "<-", "=", ":"]}
78
+ ]
79
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "language": "swift",
3
+ "highlights": {
4
+ "func": {"kind": 0, "description": "Function declaration keyword"},
5
+ "let": {"kind": 0, "description": "Immutable variable keyword"},
6
+ "var": {"kind": 0, "description": "Mutable variable keyword"},
7
+ "class": {"kind": 0, "description": "Class declaration keyword"},
8
+ "struct": {"kind": 0, "description": "Struct declaration keyword"},
9
+ "enum": {"kind": 0, "description": "Enum declaration keyword"},
10
+ "protocol": {"kind": 0, "description": "Protocol declaration keyword"},
11
+ "extension": {"kind": 0, "description": "Extension declaration keyword"},
12
+ "actor": {"kind": 0, "description": "Actor declaration keyword"},
13
+ "import": {"kind": 0, "description": "Import keyword"},
14
+ "return": {"kind": 0, "description": "Return keyword"},
15
+ "if": {"kind": 0, "description": "Conditional keyword"},
16
+ "else": {"kind": 0, "description": "Else branch keyword"},
17
+ "guard": {"kind": 0, "description": "Guard statement keyword"},
18
+ "switch": {"kind": 0, "description": "Switch statement keyword"},
19
+ "case": {"kind": 0, "description": "Case keyword"},
20
+ "default": {"kind": 0, "description": "Default case keyword"},
21
+ "for": {"kind": 0, "description": "For loop keyword"},
22
+ "while": {"kind": 0, "description": "While loop keyword"},
23
+ "repeat": {"kind": 0, "description": "Repeat-while keyword"},
24
+ "break": {"kind": 0, "description": "Break keyword"},
25
+ "continue": {"kind": 0, "description": "Continue keyword"},
26
+ "fallthrough": {"kind": 0, "description": "Fallthrough keyword"},
27
+ "throw": {"kind": 0, "description": "Throw keyword"},
28
+ "throws": {"kind": 0, "description": "Throws keyword"},
29
+ "rethrows": {"kind": 0, "description": "Rethrows keyword"},
30
+ "try": {"kind": 0, "description": "Try keyword"},
31
+ "catch": {"kind": 0, "description": "Catch keyword"},
32
+ "do": {"kind": 0, "description": "Do block keyword"},
33
+ "defer": {"kind": 0, "description": "Defer keyword"},
34
+ "as": {"kind": 0, "description": "Type cast keyword"},
35
+ "is": {"kind": 0, "description": "Type check keyword"},
36
+ "in": {"kind": 0, "description": "In keyword"},
37
+ "where": {"kind": 0, "description": "Where clause keyword"},
38
+ "self": {"kind": 0, "description": "Self instance keyword"},
39
+ "Self": {"kind": 0, "description": "Self type keyword"},
40
+ "super": {"kind": 0, "description": "Super reference keyword"},
41
+ "init": {"kind": 0, "description": "Initializer keyword"},
42
+ "deinit": {"kind": 0, "description": "Deinitializer keyword"},
43
+ "subscript": {"kind": 0, "description": "Subscript keyword"},
44
+ "typealias": {"kind": 0, "description": "Type alias keyword"},
45
+ "associatedtype": {"kind": 0, "description": "Associated type keyword"},
46
+ "static": {"kind": 0, "description": "Static keyword"},
47
+ "final": {"kind": 0, "description": "Final keyword"},
48
+ "lazy": {"kind": 0, "description": "Lazy keyword"},
49
+ "weak": {"kind": 0, "description": "Weak reference keyword"},
50
+ "unowned": {"kind": 0, "description": "Unowned reference keyword"},
51
+ "override": {"kind": 0, "description": "Override keyword"},
52
+ "mutating": {"kind": 0, "description": "Mutating keyword"},
53
+ "nonmutating": {"kind": 0, "description": "Nonmutating keyword"},
54
+ "open": {"kind": 0, "description": "Open access keyword"},
55
+ "public": {"kind": 0, "description": "Public access keyword"},
56
+ "internal": {"kind": 0, "description": "Internal access keyword"},
57
+ "fileprivate": {"kind": 0, "description": "File-private access keyword"},
58
+ "private": {"kind": 0, "description": "Private access keyword"},
59
+ "inout": {"kind": 0, "description": "In-out parameter keyword"},
60
+ "some": {"kind": 0, "description": "Opaque type keyword"},
61
+ "any": {"kind": 0, "description": "Existential type keyword"},
62
+ "async": {"kind": 0, "description": "Async keyword"},
63
+ "await": {"kind": 0, "description": "Await keyword"},
64
+ "nonisolated": {"kind": 0, "description": "Nonisolated keyword"},
65
+ "isolated": {"kind": 0, "description": "Isolated keyword"},
66
+ "consuming": {"kind": 0, "description": "Consuming ownership keyword"},
67
+ "borrowing": {"kind": 0, "description": "Borrowing ownership keyword"},
68
+ "nil": {"kind": 0, "description": "Nil literal keyword"},
69
+ "true": {"kind": 0, "description": "Boolean true literal"},
70
+ "false": {"kind": 0, "description": "Boolean false literal"},
71
+ "required": {"kind": 0, "description": "Required initializer keyword"},
72
+ "convenience": {"kind": 0, "description": "Convenience initializer keyword"},
73
+ "optional": {"kind": 0, "description": "Optional requirement keyword"}
74
+ },
75
+ "bracketPairs": [
76
+ {"open": "{", "close": "}"},
77
+ {"open": "(", "close": ")"},
78
+ {"open": "[", "close": "]"},
79
+ {"open": "<", "close": ">"}
80
+ ],
81
+ "keywordGroups": [
82
+ {"name": "control_flow", "keywords": ["if", "else", "guard", "switch", "case", "default", "for", "while", "repeat", "return", "break", "continue", "fallthrough", "where"], "highlightKind": 0},
83
+ {"name": "declarations", "keywords": ["func", "let", "var", "class", "struct", "enum", "protocol", "extension", "actor", "typealias", "associatedtype", "init", "deinit", "subscript", "import"], "highlightKind": 0},
84
+ {"name": "modifiers", "keywords": ["static", "final", "lazy", "weak", "unowned", "override", "mutating", "nonmutating", "required", "convenience", "optional", "inout", "some", "any", "consuming", "borrowing"], "highlightKind": 0},
85
+ {"name": "access_control", "keywords": ["open", "public", "internal", "fileprivate", "private"], "highlightKind": 0},
86
+ {"name": "error_handling", "keywords": ["throw", "throws", "rethrows", "try", "catch", "do", "defer"], "highlightKind": 0},
87
+ {"name": "concurrency", "keywords": ["async", "await", "actor", "nonisolated", "isolated"], "highlightKind": 0}
88
+ ]
89
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "language": "dart",
3
+ "symbolPatterns": [
4
+ {"name": "Class Declaration", "pattern": "^\\s*(?:(?:abstract|sealed|interface|base|final|mixin)\\s+)*class\\s+(\\w+)", "captureGroup": 1, "kind": 4, "detail": "class"},
5
+ {"name": "Mixin Declaration", "pattern": "^\\s*(?:(?:base)\\s+)?mixin\\s+(\\w+)", "captureGroup": 1, "kind": 4, "detail": "mixin"},
6
+ {"name": "Enum Declaration", "pattern": "^\\s*enum\\s+(\\w+)", "captureGroup": 1, "kind": 9, "detail": "enum"},
7
+ {"name": "Extension Declaration", "pattern": "^\\s*extension\\s+(\\w+)\\s+on", "captureGroup": 1, "kind": 4, "detail": "extension"},
8
+ {"name": "Extension Type Declaration", "pattern": "^\\s*extension\\s+type\\s+(\\w+)", "captureGroup": 1, "kind": 4, "detail": "extension type"},
9
+ {"name": "Function Declaration", "pattern": "^\\s*(?:(?:static|external)\\s+)*(?:\\w+(?:<[^>]*>)?\\s+)?(\\w+)\\s*(?:<[^>]*>)?\\s*\\([^)]*\\)\\s*(?:async\\*?|sync\\*)?\\s*\\{", "captureGroup": 1, "kind": 11, "detail": "function"},
10
+ {"name": "Method Declaration", "pattern": "^\\s+(?:(?:static|external|@override)\\s+)*(?:\\w+(?:<[^>]*>)?\\s+)?(\\w+)\\s*(?:<[^>]*>)?\\s*\\([^)]*\\)", "captureGroup": 1, "kind": 5, "detail": "method"},
11
+ {"name": "Getter Declaration", "pattern": "^\\s*(?:(?:static|external)\\s+)*(?:\\w+\\s+)?get\\s+(\\w+)", "captureGroup": 1, "kind": 9, "detail": "getter"},
12
+ {"name": "Setter Declaration", "pattern": "^\\s*(?:(?:static|external)\\s+)*set\\s+(\\w+)\\s*\\(", "captureGroup": 1, "kind": 9, "detail": "setter"},
13
+ {"name": "Typedef Declaration", "pattern": "^\\s*typedef\\s+(\\w+)", "captureGroup": 1, "kind": 25, "detail": "typedef"},
14
+ {"name": "Variable Declaration", "pattern": "^\\s*(?:(?:static|late|external)\\s+)*(?:var|final|const)\\s+(\\w+)", "captureGroup": 1, "kind": 12, "detail": "variable"},
15
+ {"name": "Top-Level Const", "pattern": "^const\\s+(\\w+)\\s*=", "captureGroup": 1, "kind": 13, "detail": "constant"},
16
+ {"name": "Constructor", "pattern": "^\\s*(?:const\\s+)?(?:factory\\s+)?\\w+(?:\\.(\\w+))?\\s*\\(", "captureGroup": 1, "kind": 8, "detail": "constructor"},
17
+ {"name": "Library Declaration", "pattern": "^\\s*library\\s+([\\w.]+);", "captureGroup": 1, "kind": 3, "detail": "library"},
18
+ {"name": "Part Declaration", "pattern": "^\\s*part\\s+'([^']+)'", "captureGroup": 1, "kind": 3, "detail": "part"}
19
+ ]
20
+ }
@@ -0,0 +1,75 @@
1
+ {
2
+ "language": "docker-compose",
3
+ "symbolPatterns": [
4
+ {
5
+ "name": "Service Definition",
6
+ "pattern": "^ (\\w[\\w-]*):\\s*$",
7
+ "captureGroup": 1,
8
+ "kind": 1,
9
+ "detail": "service"
10
+ },
11
+ {
12
+ "name": "Top-level Services",
13
+ "pattern": "^services:\\s*$",
14
+ "captureGroup": 0,
15
+ "kind": 2,
16
+ "detail": "namespace"
17
+ },
18
+ {
19
+ "name": "Top-level Networks",
20
+ "pattern": "^networks:\\s*$",
21
+ "captureGroup": 0,
22
+ "kind": 2,
23
+ "detail": "namespace"
24
+ },
25
+ {
26
+ "name": "Top-level Volumes",
27
+ "pattern": "^volumes:\\s*$",
28
+ "captureGroup": 0,
29
+ "kind": 2,
30
+ "detail": "namespace"
31
+ },
32
+ {
33
+ "name": "Top-level Secrets",
34
+ "pattern": "^secrets:\\s*$",
35
+ "captureGroup": 0,
36
+ "kind": 2,
37
+ "detail": "namespace"
38
+ },
39
+ {
40
+ "name": "Top-level Configs",
41
+ "pattern": "^configs:\\s*$",
42
+ "captureGroup": 0,
43
+ "kind": 2,
44
+ "detail": "namespace"
45
+ },
46
+ {
47
+ "name": "Named Network",
48
+ "pattern": "^ (\\w[\\w-]*):\\s*$",
49
+ "captureGroup": 1,
50
+ "kind": 7,
51
+ "detail": "network"
52
+ },
53
+ {
54
+ "name": "Named Volume",
55
+ "pattern": "^ (\\w[\\w-]*):\\s*$",
56
+ "captureGroup": 1,
57
+ "kind": 12,
58
+ "detail": "volume"
59
+ },
60
+ {
61
+ "name": "Environment Variable",
62
+ "pattern": "^\\s+(\\w+):\\s+.+$",
63
+ "captureGroup": 1,
64
+ "kind": 12,
65
+ "detail": "variable"
66
+ },
67
+ {
68
+ "name": "YAML Anchor",
69
+ "pattern": "^x-([\\w-]+):\\s*&([\\w-]+)",
70
+ "captureGroup": 2,
71
+ "kind": 13,
72
+ "detail": "anchor"
73
+ }
74
+ ]
75
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "language": "kotlin",
3
+ "symbolPatterns": [
4
+ {"name": "Function Declaration", "pattern": "^\\s*(?:(?:private|protected|internal|public|override|open|abstract|suspend|inline|infix|operator|tailrec)\\s+)*fun\\s+(\\w+)", "captureGroup": 1, "kind": 11, "detail": "function"},
5
+ {"name": "Class Declaration", "pattern": "^\\s*(?:(?:private|protected|internal|public|abstract|open|sealed|data|inner|enum|annotation)\\s+)*class\\s+(\\w+)", "captureGroup": 1, "kind": 4, "detail": "class"},
6
+ {"name": "Interface Declaration", "pattern": "^\\s*(?:(?:private|protected|internal|public|sealed)\\s+)*interface\\s+(\\w+)", "captureGroup": 1, "kind": 10, "detail": "interface"},
7
+ {"name": "Object Declaration", "pattern": "^\\s*(?:(?:private|protected|internal|public)\\s+)*object\\s+(\\w+)", "captureGroup": 1, "kind": 1, "detail": "object"},
8
+ {"name": "Property Declaration", "pattern": "^\\s*(?:(?:private|protected|internal|public|override|open|const|lateinit)\\s+)*(?:val|var)\\s+(\\w+)", "captureGroup": 1, "kind": 9, "detail": "property"},
9
+ {"name": "Enum Entry", "pattern": "^\\s+(\\w+)\\s*(?:\\(|,|$)", "captureGroup": 1, "kind": 21, "detail": "enum entry"},
10
+ {"name": "Companion Object", "pattern": "^\\s*companion\\s+object\\s*(\\w*)", "captureGroup": 1, "kind": 1, "detail": "companion object"},
11
+ {"name": "Type Alias", "pattern": "^\\s*typealias\\s+(\\w+)", "captureGroup": 1, "kind": 25, "detail": "type alias"},
12
+ {"name": "Constructor", "pattern": "^\\s*(?:(?:private|protected|internal|public)\\s+)?constructor\\s*\\(", "captureGroup": 0, "kind": 8, "detail": "constructor"},
13
+ {"name": "Package Declaration", "pattern": "^\\s*package\\s+([\\w.]+)", "captureGroup": 1, "kind": 3, "detail": "package"}
14
+ ]
15
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "language": "scala",
3
+ "symbolPatterns": [
4
+ {"name": "Method Definition", "pattern": "^\\s*(?:(?:override|private|protected|final|abstract|implicit|inline|transparent)\\s+)*def\\s+(\\w+)", "captureGroup": 1, "kind": 5, "detail": "def"},
5
+ {"name": "Class Declaration", "pattern": "^\\s*(?:(?:abstract|sealed|final|open|case|implicit)\\s+)*class\\s+(\\w+)", "captureGroup": 1, "kind": 4, "detail": "class"},
6
+ {"name": "Object Declaration", "pattern": "^\\s*(?:case\\s+)?object\\s+(\\w+)", "captureGroup": 1, "kind": 18, "detail": "object"},
7
+ {"name": "Trait Declaration", "pattern": "^\\s*(?:sealed\\s+)?trait\\s+(\\w+)", "captureGroup": 1, "kind": 10, "detail": "trait"},
8
+ {"name": "Val Declaration", "pattern": "^\\s*(?:(?:override|private|protected|final|lazy|implicit)\\s+)*val\\s+(\\w+)", "captureGroup": 1, "kind": 12, "detail": "val"},
9
+ {"name": "Var Declaration", "pattern": "^\\s*(?:(?:override|private|protected)\\s+)*var\\s+(\\w+)", "captureGroup": 1, "kind": 12, "detail": "var"},
10
+ {"name": "Type Alias", "pattern": "^\\s*(?:(?:override|private|protected|opaque)\\s+)*type\\s+(\\w+)", "captureGroup": 1, "kind": 25, "detail": "type"},
11
+ {"name": "Enum Declaration", "pattern": "^\\s*enum\\s+(\\w+)", "captureGroup": 1, "kind": 9, "detail": "enum"},
12
+ {"name": "Package Declaration", "pattern": "^\\s*package\\s+([\\w.]+)", "captureGroup": 1, "kind": 3, "detail": "package"},
13
+ {"name": "Case Class", "pattern": "^\\s*case\\s+class\\s+(\\w+)", "captureGroup": 1, "kind": 4, "detail": "case class"},
14
+ {"name": "Case Object", "pattern": "^\\s*case\\s+object\\s+(\\w+)", "captureGroup": 1, "kind": 18, "detail": "case object"},
15
+ {"name": "Given Instance", "pattern": "^\\s*given\\s+(\\w+)\\s*:", "captureGroup": 1, "kind": 12, "detail": "given"},
16
+ {"name": "Anonymous Given", "pattern": "^\\s*given\\s+(\\w+(?:\\[.*?\\])?)\\s+with", "captureGroup": 1, "kind": 12, "detail": "given"},
17
+ {"name": "Extension Block", "pattern": "^\\s*extension\\s*\\(.*?:\\s*(\\w+)", "captureGroup": 1, "kind": 5, "detail": "extension"},
18
+ {"name": "Implicit Class", "pattern": "^\\s*implicit\\s+class\\s+(\\w+)", "captureGroup": 1, "kind": 4, "detail": "implicit class"},
19
+ {"name": "Abstract Class", "pattern": "^\\s*abstract\\s+class\\s+(\\w+)", "captureGroup": 1, "kind": 4, "detail": "abstract class"}
20
+ ]
21
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "language": "swift",
3
+ "symbolPatterns": [
4
+ {"name": "Function Declaration", "pattern": "^\\s*(?:(?:private|fileprivate|internal|public|open|override|final|static|class|mutating|nonmutating|nonisolated)\\s+)*func\\s+(\\w+)", "captureGroup": 1, "kind": 11, "detail": "function"},
5
+ {"name": "Class Declaration", "pattern": "^\\s*(?:(?:private|fileprivate|internal|public|open|final)\\s+)*class\\s+(\\w+)", "captureGroup": 1, "kind": 4, "detail": "class"},
6
+ {"name": "Struct Declaration", "pattern": "^\\s*(?:(?:private|fileprivate|internal|public)\\s+)*struct\\s+(\\w+)", "captureGroup": 1, "kind": 22, "detail": "struct"},
7
+ {"name": "Enum Declaration", "pattern": "^\\s*(?:(?:private|fileprivate|internal|public)\\s+)*enum\\s+(\\w+)", "captureGroup": 1, "kind": 9, "detail": "enum"},
8
+ {"name": "Protocol Declaration", "pattern": "^\\s*(?:(?:private|fileprivate|internal|public)\\s+)*protocol\\s+(\\w+)", "captureGroup": 1, "kind": 10, "detail": "protocol"},
9
+ {"name": "Extension Declaration", "pattern": "^\\s*(?:(?:private|fileprivate|internal|public)\\s+)*extension\\s+(\\w+)", "captureGroup": 1, "kind": 1, "detail": "extension"},
10
+ {"name": "Actor Declaration", "pattern": "^\\s*(?:(?:private|fileprivate|internal|public)\\s+)*actor\\s+(\\w+)", "captureGroup": 1, "kind": 4, "detail": "actor"},
11
+ {"name": "Type Alias", "pattern": "^\\s*(?:(?:private|fileprivate|internal|public)\\s+)*typealias\\s+(\\w+)", "captureGroup": 1, "kind": 25, "detail": "type alias"},
12
+ {"name": "Property Declaration", "pattern": "^\\s*(?:(?:private|fileprivate|internal|public|open|override|static|class|lazy|weak|unowned|@\\w+\\s*)\\s+)*(?:let|var)\\s+(\\w+)", "captureGroup": 1, "kind": 9, "detail": "property"},
13
+ {"name": "Initializer Declaration", "pattern": "^\\s*(?:(?:private|fileprivate|internal|public|required|convenience|override)\\s+)*init[?!]?\\s*\\(", "captureGroup": 0, "kind": 8, "detail": "initializer"},
14
+ {"name": "Enum Case", "pattern": "^\\s*case\\s+(\\w+)", "captureGroup": 1, "kind": 21, "detail": "enum case"},
15
+ {"name": "@objc Declaration", "pattern": "^\\s*@objc\\s+(?:(?:private|fileprivate|internal|public|open)\\s+)*(?:func|var|class)\\s+(\\w+)", "captureGroup": 1, "kind": 11, "detail": "@objc member"}
16
+ ]
17
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "language": "dart",
3
+ "formatting": {
4
+ "defaultTabSize": 2,
5
+ "defaultInsertSpaces": true,
6
+ "rules": [
7
+ {"description": "Remove trailing whitespace", "pattern": "\\s+$", "replacement": ""},
8
+ {"description": "Space after control flow keywords", "pattern": "\\b(if|for|while|switch|catch)\\(", "replacement": "$1 ("},
9
+ {"description": "Normalize line endings", "pattern": "\\r\\n", "replacement": "\\n"},
10
+ {"description": "Space before opening brace", "pattern": "(\\S)\\{", "replacement": "$1 {"},
11
+ {"description": "Add trailing comma in multi-line parameter lists", "pattern": "([^,])\\n\\s*\\)", "replacement": "$1,\\n)"},
12
+ {"description": "No space before colon in named params", "pattern": "(\\w)\\s+:", "replacement": "$1:"},
13
+ {"description": "Space after colon in named params", "pattern": ":\\s*(?=\\w)", "replacement": ": "}
14
+ ]
15
+ }
16
+ }