@enjoys/context-engine 1.0.9 → 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 (570) hide show
  1. package/README.md +28 -0
  2. package/data/codeActions/awk.json +41 -0
  3. package/data/codeActions/bash.json +169 -0
  4. package/data/codeActions/c.json +35 -0
  5. package/data/codeActions/caddy.json +35 -0
  6. package/data/codeActions/cpp.json +35 -0
  7. package/data/codeActions/crontab.json +27 -0
  8. package/data/codeActions/csharp.json +35 -0
  9. package/data/codeActions/dart.json +31 -0
  10. package/data/codeActions/docker-compose.json +112 -0
  11. package/data/codeActions/dockerfile.json +35 -0
  12. package/data/codeActions/dotenv.json +27 -0
  13. package/data/codeActions/go.json +49 -0
  14. package/data/codeActions/graphql.json +41 -0
  15. package/data/codeActions/hcl.json +35 -0
  16. package/data/codeActions/html.json +27 -0
  17. package/data/codeActions/ini.json +27 -0
  18. package/data/codeActions/java.json +35 -0
  19. package/data/codeActions/javascript.json +49 -0
  20. package/data/codeActions/json.json +27 -0
  21. package/data/codeActions/kotlin.json +18 -0
  22. package/data/codeActions/lua.json +49 -0
  23. package/data/codeActions/makefile.json +35 -0
  24. package/data/codeActions/markdown.json +27 -0
  25. package/data/codeActions/nginx.json +35 -0
  26. package/data/codeActions/perl.json +49 -0
  27. package/data/codeActions/php.json +49 -0
  28. package/data/codeActions/powershell.json +49 -0
  29. package/data/codeActions/protobuf.json +49 -0
  30. package/data/codeActions/python.json +49 -0
  31. package/data/codeActions/redis-cli.json +27 -0
  32. package/data/codeActions/ruby.json +49 -0
  33. package/data/codeActions/rust.json +49 -0
  34. package/data/codeActions/scala.json +26 -0
  35. package/data/codeActions/sql.json +41 -0
  36. package/data/codeActions/ssh_config.json +35 -0
  37. package/data/codeActions/swift.json +26 -0
  38. package/data/codeActions/systemd.json +27 -0
  39. package/data/codeActions/toml.json +27 -0
  40. package/data/codeActions/typescript.json +49 -0
  41. package/data/codeActions/xml.json +27 -0
  42. package/data/codeActions/yaml.json +27 -0
  43. package/data/codeActions/zsh.json +49 -0
  44. package/data/codeLens/awk.json +12 -0
  45. package/data/codeLens/bash.json +75 -0
  46. package/data/codeLens/c.json +12 -0
  47. package/data/codeLens/caddy.json +12 -0
  48. package/data/codeLens/cpp.json +26 -0
  49. package/data/codeLens/crontab.json +12 -0
  50. package/data/codeLens/csharp.json +33 -0
  51. package/data/codeLens/dart.json +15 -0
  52. package/data/codeLens/docker-compose.json +4 -0
  53. package/data/codeLens/dockerfile.json +4 -0
  54. package/data/codeLens/dotenv.json +4 -0
  55. package/data/codeLens/go.json +26 -0
  56. package/data/codeLens/graphql.json +33 -0
  57. package/data/codeLens/hcl.json +12 -0
  58. package/data/codeLens/html.json +12 -0
  59. package/data/codeLens/ini.json +4 -0
  60. package/data/codeLens/java.json +33 -0
  61. package/data/codeLens/javascript.json +40 -0
  62. package/data/codeLens/json.json +4 -0
  63. package/data/codeLens/kotlin.json +10 -0
  64. package/data/codeLens/lua.json +12 -0
  65. package/data/codeLens/makefile.json +19 -0
  66. package/data/codeLens/markdown.json +4 -0
  67. package/data/codeLens/nginx.json +12 -0
  68. package/data/codeLens/perl.json +19 -0
  69. package/data/codeLens/php.json +40 -0
  70. package/data/codeLens/powershell.json +26 -0
  71. package/data/codeLens/protobuf.json +26 -0
  72. package/data/codeLens/python.json +26 -0
  73. package/data/codeLens/redis-cli.json +4 -0
  74. package/data/codeLens/ruby.json +26 -0
  75. package/data/codeLens/rust.json +40 -0
  76. package/data/codeLens/scala.json +18 -0
  77. package/data/codeLens/sql.json +33 -0
  78. package/data/codeLens/ssh_config.json +4 -0
  79. package/data/codeLens/swift.json +15 -0
  80. package/data/codeLens/systemd.json +4 -0
  81. package/data/codeLens/toml.json +4 -0
  82. package/data/codeLens/typescript.json +47 -0
  83. package/data/codeLens/xml.json +12 -0
  84. package/data/codeLens/yaml.json +4 -0
  85. package/data/codeLens/zsh.json +19 -0
  86. package/data/color/awk.json +6 -0
  87. package/data/color/bash.json +100 -0
  88. package/data/color/c.json +6 -0
  89. package/data/color/caddy.json +6 -0
  90. package/data/color/cpp.json +6 -0
  91. package/data/color/crontab.json +6 -0
  92. package/data/color/csharp.json +6 -0
  93. package/data/color/dart.json +37 -0
  94. package/data/color/docker-compose.json +6 -0
  95. package/data/color/dockerfile.json +6 -0
  96. package/data/color/dotenv.json +6 -0
  97. package/data/color/go.json +6 -0
  98. package/data/color/graphql.json +6 -0
  99. package/data/color/hcl.json +6 -0
  100. package/data/color/html.json +85 -0
  101. package/data/color/ini.json +6 -0
  102. package/data/color/java.json +6 -0
  103. package/data/color/javascript.json +85 -0
  104. package/data/color/json.json +6 -0
  105. package/data/color/kotlin.json +12 -0
  106. package/data/color/lua.json +6 -0
  107. package/data/color/makefile.json +6 -0
  108. package/data/color/markdown.json +6 -0
  109. package/data/color/nginx.json +6 -0
  110. package/data/color/perl.json +6 -0
  111. package/data/color/php.json +85 -0
  112. package/data/color/powershell.json +6 -0
  113. package/data/color/protobuf.json +6 -0
  114. package/data/color/python.json +6 -0
  115. package/data/color/redis-cli.json +6 -0
  116. package/data/color/ruby.json +6 -0
  117. package/data/color/rust.json +6 -0
  118. package/data/color/scala.json +13 -0
  119. package/data/color/sql.json +6 -0
  120. package/data/color/ssh_config.json +6 -0
  121. package/data/color/swift.json +37 -0
  122. package/data/color/systemd.json +6 -0
  123. package/data/color/toml.json +6 -0
  124. package/data/color/typescript.json +85 -0
  125. package/data/color/xml.json +6 -0
  126. package/data/color/yaml.json +6 -0
  127. package/data/color/zsh.json +6 -0
  128. package/data/commands/bash.json +102 -0
  129. package/data/commands/kotlin.json +45 -0
  130. package/data/commands/manifest.json +1 -0
  131. package/data/commands/scala.json +171 -0
  132. package/data/commands/swift.json +67 -0
  133. package/data/completion/dart.json +1436 -0
  134. package/data/completion/docker-compose.json +959 -0
  135. package/data/completion/kotlin.json +1580 -0
  136. package/data/completion/scala.json +1076 -0
  137. package/data/completion/swift.json +1742 -0
  138. package/data/declaration/awk.json +175 -0
  139. package/data/declaration/bash.json +301 -0
  140. package/data/declaration/c.json +205 -0
  141. package/data/declaration/caddy.json +115 -0
  142. package/data/declaration/cpp.json +217 -0
  143. package/data/declaration/crontab.json +12 -0
  144. package/data/declaration/csharp.json +205 -0
  145. package/data/declaration/dart.json +25 -0
  146. package/data/declaration/docker-compose.json +42 -0
  147. package/data/declaration/dockerfile.json +24 -0
  148. package/data/declaration/dotenv.json +12 -0
  149. package/data/declaration/go.json +139 -0
  150. package/data/declaration/graphql.json +42 -0
  151. package/data/declaration/hcl.json +211 -0
  152. package/data/declaration/html.json +18 -0
  153. package/data/declaration/ini.json +18 -0
  154. package/data/declaration/java.json +217 -0
  155. package/data/declaration/javascript.json +217 -0
  156. package/data/declaration/json.json +12 -0
  157. package/data/declaration/kotlin.json +14 -0
  158. package/data/declaration/lua.json +199 -0
  159. package/data/declaration/makefile.json +199 -0
  160. package/data/declaration/markdown.json +18 -0
  161. package/data/declaration/nginx.json +24 -0
  162. package/data/declaration/perl.json +199 -0
  163. package/data/declaration/php.json +223 -0
  164. package/data/declaration/powershell.json +211 -0
  165. package/data/declaration/protobuf.json +30 -0
  166. package/data/declaration/python.json +205 -0
  167. package/data/declaration/redis-cli.json +186 -0
  168. package/data/declaration/ruby.json +211 -0
  169. package/data/declaration/rust.json +241 -0
  170. package/data/declaration/scala.json +23 -0
  171. package/data/declaration/sql.json +217 -0
  172. package/data/declaration/ssh_config.json +18 -0
  173. package/data/declaration/swift.json +18 -0
  174. package/data/declaration/systemd.json +18 -0
  175. package/data/declaration/toml.json +24 -0
  176. package/data/declaration/typescript.json +235 -0
  177. package/data/declaration/xml.json +18 -0
  178. package/data/declaration/yaml.json +24 -0
  179. package/data/declaration/zsh.json +205 -0
  180. package/data/defination/dart.json +369 -0
  181. package/data/defination/docker-compose.json +347 -0
  182. package/data/defination/kotlin.json +789 -0
  183. package/data/defination/scala.json +285 -0
  184. package/data/defination/swift.json +551 -0
  185. package/data/documentHighlight/awk.json +135 -0
  186. package/data/documentHighlight/bash.json +393 -0
  187. package/data/documentHighlight/c.json +183 -0
  188. package/data/documentHighlight/caddy.json +135 -0
  189. package/data/documentHighlight/cpp.json +314 -0
  190. package/data/documentHighlight/crontab.json +39 -0
  191. package/data/documentHighlight/csharp.json +363 -0
  192. package/data/documentHighlight/dart.json +84 -0
  193. package/data/documentHighlight/docker-compose.json +233 -0
  194. package/data/documentHighlight/dockerfile.json +113 -0
  195. package/data/documentHighlight/dotenv.json +19 -0
  196. package/data/documentHighlight/go.json +234 -0
  197. package/data/documentHighlight/graphql.json +104 -0
  198. package/data/documentHighlight/hcl.json +145 -0
  199. package/data/documentHighlight/html.json +180 -0
  200. package/data/documentHighlight/ini.json +36 -0
  201. package/data/documentHighlight/java.json +318 -0
  202. package/data/documentHighlight/javascript.json +262 -0
  203. package/data/documentHighlight/json.json +28 -0
  204. package/data/documentHighlight/kotlin.json +37 -0
  205. package/data/documentHighlight/lua.json +141 -0
  206. package/data/documentHighlight/makefile.json +280 -0
  207. package/data/documentHighlight/markdown.json +23 -0
  208. package/data/documentHighlight/nginx.json +215 -0
  209. package/data/documentHighlight/perl.json +288 -0
  210. package/data/documentHighlight/php.json +321 -0
  211. package/data/documentHighlight/powershell.json +320 -0
  212. package/data/documentHighlight/protobuf.json +131 -0
  213. package/data/documentHighlight/python.json +222 -0
  214. package/data/documentHighlight/redis-cli.json +23 -0
  215. package/data/documentHighlight/ruby.json +342 -0
  216. package/data/documentHighlight/rust.json +238 -0
  217. package/data/documentHighlight/scala.json +79 -0
  218. package/data/documentHighlight/sql.json +547 -0
  219. package/data/documentHighlight/ssh_config.json +236 -0
  220. package/data/documentHighlight/swift.json +89 -0
  221. package/data/documentHighlight/systemd.json +363 -0
  222. package/data/documentHighlight/toml.json +32 -0
  223. package/data/documentHighlight/typescript.json +364 -0
  224. package/data/documentHighlight/xml.json +97 -0
  225. package/data/documentHighlight/yaml.json +48 -0
  226. package/data/documentHighlight/zsh.json +266 -0
  227. package/data/documentSymbol/awk.json +12 -0
  228. package/data/documentSymbol/bash.json +124 -0
  229. package/data/documentSymbol/c.json +26 -0
  230. package/data/documentSymbol/caddy.json +19 -0
  231. package/data/documentSymbol/cpp.json +40 -0
  232. package/data/documentSymbol/crontab.json +12 -0
  233. package/data/documentSymbol/csharp.json +47 -0
  234. package/data/documentSymbol/dart.json +20 -0
  235. package/data/documentSymbol/docker-compose.json +75 -0
  236. package/data/documentSymbol/dockerfile.json +26 -0
  237. package/data/documentSymbol/dotenv.json +12 -0
  238. package/data/documentSymbol/go.json +33 -0
  239. package/data/documentSymbol/graphql.json +47 -0
  240. package/data/documentSymbol/hcl.json +33 -0
  241. package/data/documentSymbol/html.json +19 -0
  242. package/data/documentSymbol/ini.json +19 -0
  243. package/data/documentSymbol/java.json +40 -0
  244. package/data/documentSymbol/javascript.json +40 -0
  245. package/data/documentSymbol/json.json +12 -0
  246. package/data/documentSymbol/kotlin.json +15 -0
  247. package/data/documentSymbol/lua.json +19 -0
  248. package/data/documentSymbol/makefile.json +19 -0
  249. package/data/documentSymbol/markdown.json +19 -0
  250. package/data/documentSymbol/nginx.json +26 -0
  251. package/data/documentSymbol/perl.json +26 -0
  252. package/data/documentSymbol/php.json +47 -0
  253. package/data/documentSymbol/powershell.json +33 -0
  254. package/data/documentSymbol/protobuf.json +33 -0
  255. package/data/documentSymbol/python.json +26 -0
  256. package/data/documentSymbol/redis-cli.json +4 -0
  257. package/data/documentSymbol/ruby.json +33 -0
  258. package/data/documentSymbol/rust.json +68 -0
  259. package/data/documentSymbol/scala.json +21 -0
  260. package/data/documentSymbol/sql.json +40 -0
  261. package/data/documentSymbol/ssh_config.json +19 -0
  262. package/data/documentSymbol/swift.json +17 -0
  263. package/data/documentSymbol/systemd.json +19 -0
  264. package/data/documentSymbol/toml.json +26 -0
  265. package/data/documentSymbol/typescript.json +61 -0
  266. package/data/documentSymbol/xml.json +19 -0
  267. package/data/documentSymbol/yaml.json +26 -0
  268. package/data/documentSymbol/zsh.json +26 -0
  269. package/data/formatting/awk.json +28 -0
  270. package/data/formatting/bash.json +88 -0
  271. package/data/formatting/c.json +28 -0
  272. package/data/formatting/caddy.json +23 -0
  273. package/data/formatting/cpp.json +28 -0
  274. package/data/formatting/crontab.json +19 -0
  275. package/data/formatting/csharp.json +28 -0
  276. package/data/formatting/dart.json +16 -0
  277. package/data/formatting/docker-compose.json +24 -0
  278. package/data/formatting/dockerfile.json +19 -0
  279. package/data/formatting/dotenv.json +19 -0
  280. package/data/formatting/go.json +28 -0
  281. package/data/formatting/graphql.json +23 -0
  282. package/data/formatting/hcl.json +23 -0
  283. package/data/formatting/html.json +23 -0
  284. package/data/formatting/ini.json +19 -0
  285. package/data/formatting/java.json +28 -0
  286. package/data/formatting/javascript.json +28 -0
  287. package/data/formatting/json.json +23 -0
  288. package/data/formatting/kotlin.json +14 -0
  289. package/data/formatting/lua.json +28 -0
  290. package/data/formatting/makefile.json +24 -0
  291. package/data/formatting/markdown.json +19 -0
  292. package/data/formatting/nginx.json +28 -0
  293. package/data/formatting/perl.json +28 -0
  294. package/data/formatting/php.json +28 -0
  295. package/data/formatting/powershell.json +28 -0
  296. package/data/formatting/protobuf.json +23 -0
  297. package/data/formatting/python.json +28 -0
  298. package/data/formatting/redis-cli.json +19 -0
  299. package/data/formatting/ruby.json +28 -0
  300. package/data/formatting/rust.json +28 -0
  301. package/data/formatting/scala.json +17 -0
  302. package/data/formatting/sql.json +28 -0
  303. package/data/formatting/ssh_config.json +22 -0
  304. package/data/formatting/swift.json +19 -0
  305. package/data/formatting/systemd.json +19 -0
  306. package/data/formatting/toml.json +19 -0
  307. package/data/formatting/typescript.json +28 -0
  308. package/data/formatting/xml.json +23 -0
  309. package/data/formatting/yaml.json +22 -0
  310. package/data/formatting/zsh.json +28 -0
  311. package/data/hover/bash.json +579 -245
  312. package/data/hover/dart.json +161 -0
  313. package/data/hover/docker-compose.json +404 -0
  314. package/data/hover/kotlin.json +341 -0
  315. package/data/hover/scala.json +209 -0
  316. package/data/hover/swift.json +239 -0
  317. package/data/implementation/awk.json +7 -0
  318. package/data/implementation/bash.json +44 -0
  319. package/data/implementation/c.json +7 -0
  320. package/data/implementation/caddy.json +7 -0
  321. package/data/implementation/cpp.json +20 -0
  322. package/data/implementation/crontab.json +7 -0
  323. package/data/implementation/csharp.json +27 -0
  324. package/data/implementation/dart.json +14 -0
  325. package/data/implementation/docker-compose.json +7 -0
  326. package/data/implementation/dockerfile.json +7 -0
  327. package/data/implementation/dotenv.json +7 -0
  328. package/data/implementation/go.json +9 -0
  329. package/data/implementation/graphql.json +20 -0
  330. package/data/implementation/hcl.json +7 -0
  331. package/data/implementation/html.json +7 -0
  332. package/data/implementation/ini.json +7 -0
  333. package/data/implementation/java.json +27 -0
  334. package/data/implementation/javascript.json +20 -0
  335. package/data/implementation/json.json +7 -0
  336. package/data/implementation/kotlin.json +13 -0
  337. package/data/implementation/lua.json +7 -0
  338. package/data/implementation/makefile.json +7 -0
  339. package/data/implementation/markdown.json +7 -0
  340. package/data/implementation/nginx.json +7 -0
  341. package/data/implementation/perl.json +7 -0
  342. package/data/implementation/php.json +34 -0
  343. package/data/implementation/powershell.json +9 -0
  344. package/data/implementation/protobuf.json +9 -0
  345. package/data/implementation/python.json +10 -0
  346. package/data/implementation/redis-cli.json +7 -0
  347. package/data/implementation/ruby.json +20 -0
  348. package/data/implementation/rust.json +20 -0
  349. package/data/implementation/scala.json +16 -0
  350. package/data/implementation/sql.json +7 -0
  351. package/data/implementation/ssh_config.json +7 -0
  352. package/data/implementation/swift.json +14 -0
  353. package/data/implementation/systemd.json +7 -0
  354. package/data/implementation/toml.json +7 -0
  355. package/data/implementation/typescript.json +27 -0
  356. package/data/implementation/xml.json +7 -0
  357. package/data/implementation/yaml.json +7 -0
  358. package/data/implementation/zsh.json +7 -0
  359. package/data/inlayHints/awk.json +35 -0
  360. package/data/inlayHints/bash.json +207 -0
  361. package/data/inlayHints/c.json +35 -0
  362. package/data/inlayHints/caddy.json +35 -0
  363. package/data/inlayHints/cpp.json +43 -0
  364. package/data/inlayHints/crontab.json +26 -0
  365. package/data/inlayHints/csharp.json +43 -0
  366. package/data/inlayHints/dart.json +29 -0
  367. package/data/inlayHints/docker-compose.json +43 -0
  368. package/data/inlayHints/dockerfile.json +35 -0
  369. package/data/inlayHints/dotenv.json +26 -0
  370. package/data/inlayHints/go.json +43 -0
  371. package/data/inlayHints/graphql.json +26 -0
  372. package/data/inlayHints/hcl.json +43 -0
  373. package/data/inlayHints/html.json +26 -0
  374. package/data/inlayHints/ini.json +26 -0
  375. package/data/inlayHints/java.json +43 -0
  376. package/data/inlayHints/javascript.json +43 -0
  377. package/data/inlayHints/json.json +26 -0
  378. package/data/inlayHints/kotlin.json +23 -0
  379. package/data/inlayHints/lua.json +43 -0
  380. package/data/inlayHints/makefile.json +35 -0
  381. package/data/inlayHints/markdown.json +26 -0
  382. package/data/inlayHints/nginx.json +35 -0
  383. package/data/inlayHints/perl.json +43 -0
  384. package/data/inlayHints/php.json +43 -0
  385. package/data/inlayHints/powershell.json +43 -0
  386. package/data/inlayHints/protobuf.json +26 -0
  387. package/data/inlayHints/python.json +35 -0
  388. package/data/inlayHints/redis-cli.json +35 -0
  389. package/data/inlayHints/ruby.json +35 -0
  390. package/data/inlayHints/rust.json +43 -0
  391. package/data/inlayHints/scala.json +42 -0
  392. package/data/inlayHints/sql.json +43 -0
  393. package/data/inlayHints/ssh_config.json +26 -0
  394. package/data/inlayHints/swift.json +37 -0
  395. package/data/inlayHints/systemd.json +26 -0
  396. package/data/inlayHints/toml.json +26 -0
  397. package/data/inlayHints/typescript.json +43 -0
  398. package/data/inlayHints/xml.json +26 -0
  399. package/data/inlayHints/yaml.json +26 -0
  400. package/data/inlayHints/zsh.json +43 -0
  401. package/data/inlineCompletions/awk.json +17 -0
  402. package/data/inlineCompletions/bash.json +155 -0
  403. package/data/inlineCompletions/c.json +17 -0
  404. package/data/inlineCompletions/caddy.json +11 -0
  405. package/data/inlineCompletions/cpp.json +17 -0
  406. package/data/inlineCompletions/crontab.json +11 -0
  407. package/data/inlineCompletions/csharp.json +23 -0
  408. package/data/inlineCompletions/dart.json +27 -0
  409. package/data/inlineCompletions/docker-compose.json +89 -0
  410. package/data/inlineCompletions/dockerfile.json +11 -0
  411. package/data/inlineCompletions/dotenv.json +4 -0
  412. package/data/inlineCompletions/go.json +23 -0
  413. package/data/inlineCompletions/graphql.json +17 -0
  414. package/data/inlineCompletions/hcl.json +17 -0
  415. package/data/inlineCompletions/html.json +11 -0
  416. package/data/inlineCompletions/ini.json +4 -0
  417. package/data/inlineCompletions/java.json +17 -0
  418. package/data/inlineCompletions/javascript.json +17 -0
  419. package/data/inlineCompletions/json.json +4 -0
  420. package/data/inlineCompletions/kotlin.json +19 -0
  421. package/data/inlineCompletions/lua.json +17 -0
  422. package/data/inlineCompletions/makefile.json +11 -0
  423. package/data/inlineCompletions/markdown.json +4 -0
  424. package/data/inlineCompletions/nginx.json +17 -0
  425. package/data/inlineCompletions/perl.json +17 -0
  426. package/data/inlineCompletions/php.json +17 -0
  427. package/data/inlineCompletions/powershell.json +17 -0
  428. package/data/inlineCompletions/protobuf.json +17 -0
  429. package/data/inlineCompletions/python.json +23 -0
  430. package/data/inlineCompletions/redis-cli.json +4 -0
  431. package/data/inlineCompletions/ruby.json +17 -0
  432. package/data/inlineCompletions/rust.json +23 -0
  433. package/data/inlineCompletions/scala.json +26 -0
  434. package/data/inlineCompletions/sql.json +17 -0
  435. package/data/inlineCompletions/ssh_config.json +11 -0
  436. package/data/inlineCompletions/swift.json +23 -0
  437. package/data/inlineCompletions/systemd.json +4 -0
  438. package/data/inlineCompletions/toml.json +4 -0
  439. package/data/inlineCompletions/typescript.json +17 -0
  440. package/data/inlineCompletions/xml.json +4 -0
  441. package/data/inlineCompletions/yaml.json +4 -0
  442. package/data/inlineCompletions/zsh.json +17 -0
  443. package/data/links/awk.json +10 -0
  444. package/data/links/bash.json +56 -0
  445. package/data/links/c.json +15 -0
  446. package/data/links/caddy.json +15 -0
  447. package/data/links/cpp.json +15 -0
  448. package/data/links/crontab.json +10 -0
  449. package/data/links/csharp.json +15 -0
  450. package/data/links/dart.json +16 -0
  451. package/data/links/docker-compose.json +47 -0
  452. package/data/links/dockerfile.json +15 -0
  453. package/data/links/dotenv.json +10 -0
  454. package/data/links/go.json +15 -0
  455. package/data/links/graphql.json +10 -0
  456. package/data/links/hcl.json +15 -0
  457. package/data/links/html.json +15 -0
  458. package/data/links/ini.json +10 -0
  459. package/data/links/java.json +15 -0
  460. package/data/links/javascript.json +15 -0
  461. package/data/links/json.json +10 -0
  462. package/data/links/kotlin.json +10 -0
  463. package/data/links/lua.json +15 -0
  464. package/data/links/makefile.json +15 -0
  465. package/data/links/markdown.json +15 -0
  466. package/data/links/nginx.json +15 -0
  467. package/data/links/perl.json +15 -0
  468. package/data/links/php.json +15 -0
  469. package/data/links/powershell.json +15 -0
  470. package/data/links/protobuf.json +15 -0
  471. package/data/links/python.json +15 -0
  472. package/data/links/redis-cli.json +10 -0
  473. package/data/links/ruby.json +15 -0
  474. package/data/links/rust.json +15 -0
  475. package/data/links/scala.json +17 -0
  476. package/data/links/sql.json +10 -0
  477. package/data/links/ssh_config.json +15 -0
  478. package/data/links/swift.json +13 -0
  479. package/data/links/systemd.json +10 -0
  480. package/data/links/toml.json +10 -0
  481. package/data/links/typescript.json +15 -0
  482. package/data/links/xml.json +15 -0
  483. package/data/links/yaml.json +10 -0
  484. package/data/links/zsh.json +15 -0
  485. package/data/manifest.json +1535 -470
  486. package/data/references/awk.json +166 -0
  487. package/data/references/bash.json +221 -0
  488. package/data/references/c.json +166 -0
  489. package/data/references/caddy.json +134 -0
  490. package/data/references/cpp.json +166 -0
  491. package/data/references/crontab.json +5 -0
  492. package/data/references/csharp.json +166 -0
  493. package/data/references/dart.json +15 -0
  494. package/data/references/docker-compose.json +42 -0
  495. package/data/references/dockerfile.json +5 -0
  496. package/data/references/dotenv.json +5 -0
  497. package/data/references/go.json +150 -0
  498. package/data/references/graphql.json +5 -0
  499. package/data/references/hcl.json +166 -0
  500. package/data/references/html.json +5 -0
  501. package/data/references/ini.json +5 -0
  502. package/data/references/java.json +166 -0
  503. package/data/references/javascript.json +166 -0
  504. package/data/references/json.json +5 -0
  505. package/data/references/kotlin.json +12 -0
  506. package/data/references/lua.json +166 -0
  507. package/data/references/makefile.json +166 -0
  508. package/data/references/markdown.json +5 -0
  509. package/data/references/nginx.json +5 -0
  510. package/data/references/perl.json +166 -0
  511. package/data/references/php.json +166 -0
  512. package/data/references/powershell.json +166 -0
  513. package/data/references/protobuf.json +5 -0
  514. package/data/references/python.json +166 -0
  515. package/data/references/redis-cli.json +166 -0
  516. package/data/references/ruby.json +166 -0
  517. package/data/references/rust.json +166 -0
  518. package/data/references/scala.json +15 -0
  519. package/data/references/sql.json +166 -0
  520. package/data/references/ssh_config.json +5 -0
  521. package/data/references/swift.json +14 -0
  522. package/data/references/systemd.json +5 -0
  523. package/data/references/toml.json +5 -0
  524. package/data/references/typescript.json +166 -0
  525. package/data/references/xml.json +5 -0
  526. package/data/references/yaml.json +5 -0
  527. package/data/references/zsh.json +166 -0
  528. package/data/typeDefinition/awk.json +29 -0
  529. package/data/typeDefinition/bash.json +95 -0
  530. package/data/typeDefinition/c.json +149 -0
  531. package/data/typeDefinition/caddy.json +4 -0
  532. package/data/typeDefinition/cpp.json +257 -0
  533. package/data/typeDefinition/crontab.json +4 -0
  534. package/data/typeDefinition/csharp.json +251 -0
  535. package/data/typeDefinition/dart.json +35 -0
  536. package/data/typeDefinition/docker-compose.json +4 -0
  537. package/data/typeDefinition/dockerfile.json +4 -0
  538. package/data/typeDefinition/dotenv.json +4 -0
  539. package/data/typeDefinition/go.json +173 -0
  540. package/data/typeDefinition/graphql.json +35 -0
  541. package/data/typeDefinition/hcl.json +59 -0
  542. package/data/typeDefinition/html.json +4 -0
  543. package/data/typeDefinition/ini.json +4 -0
  544. package/data/typeDefinition/java.json +311 -0
  545. package/data/typeDefinition/javascript.json +293 -0
  546. package/data/typeDefinition/json.json +41 -0
  547. package/data/typeDefinition/kotlin.json +33 -0
  548. package/data/typeDefinition/lua.json +53 -0
  549. package/data/typeDefinition/makefile.json +4 -0
  550. package/data/typeDefinition/markdown.json +4 -0
  551. package/data/typeDefinition/nginx.json +4 -0
  552. package/data/typeDefinition/perl.json +47 -0
  553. package/data/typeDefinition/php.json +311 -0
  554. package/data/typeDefinition/powershell.json +167 -0
  555. package/data/typeDefinition/protobuf.json +197 -0
  556. package/data/typeDefinition/python.json +293 -0
  557. package/data/typeDefinition/redis-cli.json +59 -0
  558. package/data/typeDefinition/ruby.json +317 -0
  559. package/data/typeDefinition/rust.json +521 -0
  560. package/data/typeDefinition/scala.json +52 -0
  561. package/data/typeDefinition/sql.json +281 -0
  562. package/data/typeDefinition/ssh_config.json +4 -0
  563. package/data/typeDefinition/swift.json +56 -0
  564. package/data/typeDefinition/systemd.json +4 -0
  565. package/data/typeDefinition/toml.json +65 -0
  566. package/data/typeDefinition/typescript.json +425 -0
  567. package/data/typeDefinition/xml.json +4 -0
  568. package/data/typeDefinition/yaml.json +71 -0
  569. package/data/typeDefinition/zsh.json +35 -0
  570. package/package.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  Comprehensive CLI command context engine with **190 tools** and **35 languages** — completions, definitions, hovers, subcommands, options, examples, and runtime context detectors for intelligent terminal autocomplete in Monaco Editor.
4
4
 
5
+ ## Why Context Engine?
6
+
7
+ Traditional LSP (Language Server Protocol) setups require a backend server running a separate language server process for every language you want to support. Each language server needs its own binary installed — Go, Rust, Python, TypeScript, and so on. At scale, this makes the backend **heavy**, memory-hungry, and CPU-intensive. Supporting all languages can easily consume **1 GB+** of disk space and significant runtime resources just to keep those servers alive.
8
+
9
+ Context Engine takes a fundamentally different approach. Instead of running language servers on the backend, it ships **pre-built, Monaco-compatible JSON data** loaded directly via API — completions, hover docs, definitions, and 190 CLI command definitions — all in a single package under **~100 MB**. No language binaries to install. No background processes to manage. No backend required for intelligence.
10
+
11
+ > **Note:** Context Engine does not provide path-based intelligence (file resolution, go-to-definition across files, etc.) the way a full LSP does. It focuses on **language-aware completions, hover documentation, inline definitions, and terminal command autocomplete** — the features that matter most in web-based terminal and editor experiences, without the infrastructure overhead.
12
+
5
13
  ## Install
6
14
 
7
15
  ```bash
@@ -585,6 +593,26 @@ const ctx = getContextEngine('systemctl');
585
593
 
586
594
  **Parser types:** `text` | `lines` | `json` | `csv` | `keyvalue` | `regex` | `table`
587
595
 
596
+ ## Upcoming Monaco Provider Support
597
+
598
+ The following Monaco providers are planned for future releases, bringing Context Engine closer to full LSP-level intelligence — all without a backend:
599
+
600
+ | Provider | Status |
601
+ |----------|--------|
602
+ | `registerCodeActionProvider` | 🔜 Planned |
603
+ | `registerDocumentHighlightProvider` | 🔜 Planned |
604
+ | `registerDocumentSymbolProvider` | 🔜 Planned |
605
+ | `registerLinkProvider` | 🔜 Planned |
606
+ | `registerTypeDefinitionProvider` | 🔜 Planned |
607
+ | `registerReferenceProvider` | 🔜 Planned |
608
+ | `registerImplementationProvider` | 🔜 Planned |
609
+ | `registerInlineCompletionsProvider` | 🔜 Planned |
610
+ | `registerDocumentFormattingEditProvider` | 🔜 Planned |
611
+ | `registerCodeLensProvider` | 🔜 Planned |
612
+ | `registerColorProvider` | 🔜 Planned |
613
+ | `registerDeclarationProvider` | 🔜 Planned |
614
+ | `registerInlayHintsProvider` | 🔜 Planned |
615
+
588
616
  ## License
589
617
 
590
618
  MIT © Enjoys Inc
@@ -0,0 +1,41 @@
1
+ {
2
+ "language": "awk",
3
+ "codeActions": [
4
+ {
5
+ "title": "Extract to function",
6
+ "kind": "refactor.extract",
7
+ "description": "Extract selected code into a new function",
8
+ "pattern": ".*",
9
+ "isPreferred": false
10
+ },
11
+ {
12
+ "title": "Extract to variable",
13
+ "kind": "refactor.extract",
14
+ "description": "Extract expression into a variable",
15
+ "pattern": ".*",
16
+ "isPreferred": false
17
+ },
18
+ {
19
+ "title": "Fix all auto-fixable problems",
20
+ "kind": "source.fixAll",
21
+ "description": "Apply all available quick-fixes",
22
+ "pattern": ".*",
23
+ "isPreferred": false
24
+ },
25
+ {
26
+ "title": "Inline variable",
27
+ "kind": "refactor.inline",
28
+ "description": "Inline a variable at its usage sites",
29
+ "pattern": "\\\\b\\\\w+\\\\b",
30
+ "isPreferred": false
31
+ }
32
+ ],
33
+ "providedCodeActionKinds": [
34
+ "quickfix",
35
+ "refactor",
36
+ "refactor.extract",
37
+ "refactor.inline",
38
+ "source",
39
+ "source.fixAll"
40
+ ]
41
+ }
@@ -0,0 +1,169 @@
1
+ {
2
+ "language": "bash",
3
+ "codeActions": [
4
+ {
5
+ "title": "Add 'set -euo pipefail' header",
6
+ "kind": "source",
7
+ "description": "Add strict mode header (set -euo pipefail) to the beginning of the script for safer execution",
8
+ "pattern": "^#!/",
9
+ "isPreferred": true
10
+ },
11
+ {
12
+ "title": "Add shebang line",
13
+ "kind": "source",
14
+ "description": "Add #!/usr/bin/env bash shebang as the first line of the script",
15
+ "pattern": "^[^#]",
16
+ "isPreferred": true
17
+ },
18
+ {
19
+ "title": "Organize source/import statements",
20
+ "kind": "source.organizeImports",
21
+ "description": "Sort and deduplicate source/. statements at the top of the script",
22
+ "pattern": "\\bsource\\b|^\\s*\\.\\s+",
23
+ "isPreferred": true
24
+ },
25
+ {
26
+ "title": "Extract to function",
27
+ "kind": "refactor.extract",
28
+ "description": "Extract selected code into a new bash function with appropriate local variables",
29
+ "pattern": ".*",
30
+ "isPreferred": false
31
+ },
32
+ {
33
+ "title": "Extract to variable",
34
+ "kind": "refactor.extract",
35
+ "description": "Extract command substitution or expression into a named variable",
36
+ "pattern": "\\$\\(|`",
37
+ "isPreferred": false
38
+ },
39
+ {
40
+ "title": "Inline variable",
41
+ "kind": "refactor.inline",
42
+ "description": "Replace variable with its value at all usage sites",
43
+ "pattern": "\\blocal\\b|^\\s*\\w+=",
44
+ "isPreferred": false
45
+ },
46
+ {
47
+ "title": "Convert to function keyword syntax",
48
+ "kind": "refactor.rewrite",
49
+ "description": "Convert name() { } to function name() { } syntax",
50
+ "pattern": "^\\s*\\w+\\s*\\(\\s*\\)",
51
+ "isPreferred": false
52
+ },
53
+ {
54
+ "title": "Convert to POSIX function syntax",
55
+ "kind": "refactor.rewrite",
56
+ "description": "Convert function name() { } to name() { } (POSIX-compatible) syntax",
57
+ "pattern": "^\\s*function\\s+\\w+",
58
+ "isPreferred": false
59
+ },
60
+ {
61
+ "title": "Convert backticks to $() syntax",
62
+ "kind": "quickfix",
63
+ "description": "Replace legacy backtick command substitution with modern $(command) syntax",
64
+ "pattern": "`[^`]+`",
65
+ "isPreferred": true
66
+ },
67
+ {
68
+ "title": "Convert [ ] to [[ ]]",
69
+ "kind": "quickfix",
70
+ "description": "Replace POSIX test brackets with bash extended test brackets for safer evaluation",
71
+ "pattern": "\\[\\s+.*\\s+\\]",
72
+ "isPreferred": false
73
+ },
74
+ {
75
+ "title": "Quote unquoted variable",
76
+ "kind": "quickfix",
77
+ "description": "Add double quotes around unquoted variable expansion to prevent word splitting and globbing",
78
+ "pattern": "\\$\\w+|\\$\\{\\w+\\}",
79
+ "isPreferred": true
80
+ },
81
+ {
82
+ "title": "Add missing 'local' keyword",
83
+ "kind": "quickfix",
84
+ "description": "Add 'local' keyword to variable assignments inside functions to prevent global scope pollution",
85
+ "pattern": "^\\s*\\w+=(?!.*\\bexport\\b)",
86
+ "isPreferred": false
87
+ },
88
+ {
89
+ "title": "Replace echo with printf",
90
+ "kind": "refactor.rewrite",
91
+ "description": "Replace echo with printf for more portable and predictable output formatting",
92
+ "pattern": "\\becho\\b",
93
+ "isPreferred": false
94
+ },
95
+ {
96
+ "title": "Add error handling to command",
97
+ "kind": "quickfix",
98
+ "description": "Add || { echo 'Error' >&2; exit 1; } error handling to a command",
99
+ "pattern": "^\\s*\\w+",
100
+ "isPreferred": false
101
+ },
102
+ {
103
+ "title": "Convert to here-document",
104
+ "kind": "refactor.rewrite",
105
+ "description": "Convert multiple echo/printf statements into a single here-document (<<EOF)",
106
+ "pattern": "\\becho\\b|\\bprintf\\b",
107
+ "isPreferred": false
108
+ },
109
+ {
110
+ "title": "Wrap in if-check for command existence",
111
+ "kind": "refactor.rewrite",
112
+ "description": "Wrap command in 'if command -v cmd &>/dev/null; then ... fi' to check availability",
113
+ "pattern": "^\\s*\\w+",
114
+ "isPreferred": false
115
+ },
116
+ {
117
+ "title": "Convert arithmetic to (( )) syntax",
118
+ "kind": "quickfix",
119
+ "description": "Replace expr or let with modern (( )) arithmetic syntax",
120
+ "pattern": "\\bexpr\\b|\\blet\\b",
121
+ "isPreferred": true
122
+ },
123
+ {
124
+ "title": "Fix all ShellCheck warnings",
125
+ "kind": "source.fixAll",
126
+ "description": "Apply all available ShellCheck-based quick-fixes automatically",
127
+ "pattern": ".*",
128
+ "isPreferred": false
129
+ },
130
+ {
131
+ "title": "Add trap for cleanup on exit",
132
+ "kind": "source",
133
+ "description": "Add a trap command to clean up temporary files or resources on script exit",
134
+ "pattern": "\\bmktemp\\b|\\btmp\\b",
135
+ "isPreferred": false
136
+ },
137
+ {
138
+ "title": "Convert to array iteration",
139
+ "kind": "refactor.rewrite",
140
+ "description": "Convert whitespace-separated variable to proper array with safe iteration",
141
+ "pattern": "\\bfor\\s+\\w+\\s+in\\s+\\$",
142
+ "isPreferred": false
143
+ },
144
+ {
145
+ "title": "Add input validation",
146
+ "kind": "quickfix",
147
+ "description": "Add parameter count check and usage message at the top of the script or function",
148
+ "pattern": "\\$1|\\$\\{1",
149
+ "isPreferred": false
150
+ },
151
+ {
152
+ "title": "Convert to getopts argument parsing",
153
+ "kind": "refactor.rewrite",
154
+ "description": "Replace manual argument parsing with getopts-based option handling loop",
155
+ "pattern": "\\$1|\\$\\{1|\\bshift\\b",
156
+ "isPreferred": false
157
+ }
158
+ ],
159
+ "providedCodeActionKinds": [
160
+ "quickfix",
161
+ "refactor",
162
+ "refactor.extract",
163
+ "refactor.inline",
164
+ "refactor.rewrite",
165
+ "source",
166
+ "source.fixAll",
167
+ "source.organizeImports"
168
+ ]
169
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "language": "c",
3
+ "codeActions": [
4
+ {
5
+ "title": "Organize imports",
6
+ "kind": "source.organizeImports",
7
+ "description": "Sort and clean up #include statements",
8
+ "pattern": "\\\\b#include\\\\b",
9
+ "isPreferred": true
10
+ },
11
+ {
12
+ "title": "Extract to variable",
13
+ "kind": "refactor.extract",
14
+ "description": "Extract expression into a variable",
15
+ "pattern": ".*",
16
+ "isPreferred": false
17
+ },
18
+ {
19
+ "title": "Fix all auto-fixable problems",
20
+ "kind": "source.fixAll",
21
+ "description": "Apply all available quick-fixes",
22
+ "pattern": ".*",
23
+ "isPreferred": false
24
+ }
25
+ ],
26
+ "providedCodeActionKinds": [
27
+ "quickfix",
28
+ "refactor",
29
+ "refactor.extract",
30
+ "refactor.inline",
31
+ "source",
32
+ "source.fixAll",
33
+ "source.organizeImports"
34
+ ]
35
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "language": "caddy",
3
+ "codeActions": [
4
+ {
5
+ "title": "Organize imports",
6
+ "kind": "source.organizeImports",
7
+ "description": "Sort and clean up import statements",
8
+ "pattern": "\\\\bimport\\\\b",
9
+ "isPreferred": true
10
+ },
11
+ {
12
+ "title": "Extract to variable",
13
+ "kind": "refactor.extract",
14
+ "description": "Extract expression into a variable",
15
+ "pattern": ".*",
16
+ "isPreferred": false
17
+ },
18
+ {
19
+ "title": "Fix all auto-fixable problems",
20
+ "kind": "source.fixAll",
21
+ "description": "Apply all available quick-fixes",
22
+ "pattern": ".*",
23
+ "isPreferred": false
24
+ }
25
+ ],
26
+ "providedCodeActionKinds": [
27
+ "quickfix",
28
+ "refactor",
29
+ "refactor.extract",
30
+ "refactor.inline",
31
+ "source",
32
+ "source.fixAll",
33
+ "source.organizeImports"
34
+ ]
35
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "language": "cpp",
3
+ "codeActions": [
4
+ {
5
+ "title": "Organize imports",
6
+ "kind": "source.organizeImports",
7
+ "description": "Sort and clean up #include/using statements",
8
+ "pattern": "\\\\b#include\\\\b|\\\\busing\\\\b",
9
+ "isPreferred": true
10
+ },
11
+ {
12
+ "title": "Extract to variable",
13
+ "kind": "refactor.extract",
14
+ "description": "Extract expression into a variable",
15
+ "pattern": ".*",
16
+ "isPreferred": false
17
+ },
18
+ {
19
+ "title": "Fix all auto-fixable problems",
20
+ "kind": "source.fixAll",
21
+ "description": "Apply all available quick-fixes",
22
+ "pattern": ".*",
23
+ "isPreferred": false
24
+ }
25
+ ],
26
+ "providedCodeActionKinds": [
27
+ "quickfix",
28
+ "refactor",
29
+ "refactor.extract",
30
+ "refactor.inline",
31
+ "source",
32
+ "source.fixAll",
33
+ "source.organizeImports"
34
+ ]
35
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "language": "crontab",
3
+ "codeActions": [
4
+ {
5
+ "title": "Extract to variable",
6
+ "kind": "refactor.extract",
7
+ "description": "Extract expression into a variable",
8
+ "pattern": ".*",
9
+ "isPreferred": false
10
+ },
11
+ {
12
+ "title": "Fix all auto-fixable problems",
13
+ "kind": "source.fixAll",
14
+ "description": "Apply all available quick-fixes",
15
+ "pattern": ".*",
16
+ "isPreferred": false
17
+ }
18
+ ],
19
+ "providedCodeActionKinds": [
20
+ "quickfix",
21
+ "refactor",
22
+ "refactor.extract",
23
+ "refactor.inline",
24
+ "source",
25
+ "source.fixAll"
26
+ ]
27
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "language": "csharp",
3
+ "codeActions": [
4
+ {
5
+ "title": "Organize imports",
6
+ "kind": "source.organizeImports",
7
+ "description": "Sort and clean up using statements",
8
+ "pattern": "\\\\busing\\\\b",
9
+ "isPreferred": true
10
+ },
11
+ {
12
+ "title": "Extract to variable",
13
+ "kind": "refactor.extract",
14
+ "description": "Extract expression into a variable",
15
+ "pattern": ".*",
16
+ "isPreferred": false
17
+ },
18
+ {
19
+ "title": "Fix all auto-fixable problems",
20
+ "kind": "source.fixAll",
21
+ "description": "Apply all available quick-fixes",
22
+ "pattern": ".*",
23
+ "isPreferred": false
24
+ }
25
+ ],
26
+ "providedCodeActionKinds": [
27
+ "quickfix",
28
+ "refactor",
29
+ "refactor.extract",
30
+ "refactor.inline",
31
+ "source",
32
+ "source.fixAll",
33
+ "source.organizeImports"
34
+ ]
35
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "language": "dart",
3
+ "codeActions": [
4
+ {"title": "Convert to StatefulWidget", "kind": "refactor.rewrite", "description": "Convert a StatelessWidget to a StatefulWidget with State class", "pattern": "class\\s+\\w+\\s+extends\\s+StatelessWidget", "isPreferred": false},
5
+ {"title": "Convert to StatelessWidget", "kind": "refactor.rewrite", "description": "Convert a StatefulWidget to a StatelessWidget", "pattern": "class\\s+\\w+\\s+extends\\s+StatefulWidget", "isPreferred": false},
6
+ {"title": "Extract widget", "kind": "refactor.extract", "description": "Extract the selected widget tree into a new widget class", "pattern": "\\w+\\(", "isPreferred": false},
7
+ {"title": "Wrap with widget", "kind": "refactor.rewrite", "description": "Wrap a widget with a parent widget (Container, Padding, Center, etc.)", "pattern": "\\w+\\(", "isPreferred": false},
8
+ {"title": "Wrap with Builder", "kind": "refactor.rewrite", "description": "Wrap widget with a Builder for a new BuildContext", "pattern": "\\w+\\(", "isPreferred": false},
9
+ {"title": "Add const modifier", "kind": "quickfix", "description": "Add const to constructors and literals for compile-time optimization", "pattern": "\\w+\\(", "isPreferred": true},
10
+ {"title": "Remove const modifier", "kind": "quickfix", "description": "Remove unnecessary const modifier", "pattern": "const\\s+\\w+", "isPreferred": false},
11
+ {"title": "Organize imports", "kind": "source.organizeImports", "description": "Sort and remove unused imports", "pattern": "^import\\s+", "isPreferred": true},
12
+ {"title": "Convert to expression body", "kind": "refactor.rewrite", "description": "Convert a block body with single return to => expression", "pattern": "\\{\\s*return\\s+", "isPreferred": false},
13
+ {"title": "Convert to block body", "kind": "refactor.rewrite", "description": "Convert an expression body (=>) to a block body with return", "pattern": "=>\\s+", "isPreferred": false},
14
+ {"title": "Add required keyword", "kind": "quickfix", "description": "Add required keyword to named parameter", "pattern": "\\{[^}]*\\w+\\s+\\w+", "isPreferred": true},
15
+ {"title": "Sort child properties last", "kind": "refactor.rewrite", "description": "Move child/children property to the end of the widget constructor", "pattern": "child:", "isPreferred": false},
16
+ {"title": "Add null check", "kind": "quickfix", "description": "Add null safety check (! or ?? default)", "pattern": "\\w+\\?", "isPreferred": false},
17
+ {"title": "Convert to switch expression", "kind": "refactor.rewrite", "description": "Convert switch statement to switch expression (Dart 3)", "pattern": "switch\\s*\\(", "isPreferred": false},
18
+ {"title": "Create missing override", "kind": "quickfix", "description": "Create missing override methods from superclass or interface", "pattern": "class\\s+\\w+\\s+(?:extends|implements)", "isPreferred": true},
19
+ {"title": "Add type annotation", "kind": "quickfix", "description": "Add explicit type annotation to var/final declaration", "pattern": "(?:var|final)\\s+\\w+\\s*=", "isPreferred": false},
20
+ {"title": "Convert to for-in", "kind": "refactor.rewrite", "description": "Convert indexed for loop to for-in loop", "pattern": "for\\s*\\(\\s*(?:var|int)\\s+\\w+\\s*=\\s*0", "isPreferred": false},
21
+ {"title": "Add trailing comma", "kind": "quickfix", "description": "Add trailing comma for better formatting", "pattern": "\\w+\\([^)]+\\)", "isPreferred": false},
22
+ {"title": "Convert to relative import", "kind": "refactor.rewrite", "description": "Convert package: import to relative import", "pattern": "import\\s+'package:", "isPreferred": false},
23
+ {"title": "Extract method", "kind": "refactor.extract", "description": "Extract selected code into a new method", "pattern": ".*", "isPreferred": false},
24
+ {"title": "Extract local variable", "kind": "refactor.extract", "description": "Extract selected expression into a local variable", "pattern": ".*", "isPreferred": false},
25
+ {"title": "Inline method", "kind": "refactor.inline", "description": "Inline the body of a method at its call sites", "pattern": "\\w+\\s*\\(", "isPreferred": false},
26
+ {"title": "Convert to multiline string", "kind": "refactor.rewrite", "description": "Convert a string to a multiline (triple-quoted) string", "pattern": "'[^']*'|\"[^\"]*\"", "isPreferred": false},
27
+ {"title": "Wrap with Column", "kind": "refactor.rewrite", "description": "Wrap selected widget with a Column", "pattern": "\\w+\\(", "isPreferred": false},
28
+ {"title": "Wrap with Row", "kind": "refactor.rewrite", "description": "Wrap selected widget with a Row", "pattern": "\\w+\\(", "isPreferred": false}
29
+ ],
30
+ "providedCodeActionKinds": ["quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.fixAll", "source.organizeImports", "source.sortMembers"]
31
+ }
@@ -0,0 +1,112 @@
1
+ {
2
+ "language": "docker-compose",
3
+ "codeActions": [
4
+ {
5
+ "title": "Sort services alphabetically",
6
+ "kind": "source.organizeImports",
7
+ "description": "Sort service definitions alphabetically by name",
8
+ "pattern": "\\bservices\\b",
9
+ "isPreferred": true
10
+ },
11
+ {
12
+ "title": "Add healthcheck to service",
13
+ "kind": "quickfix",
14
+ "description": "Add a healthcheck configuration to the selected service",
15
+ "pattern": "\\bimage\\b|\\bbuild\\b",
16
+ "isPreferred": false
17
+ },
18
+ {
19
+ "title": "Add restart policy",
20
+ "kind": "quickfix",
21
+ "description": "Add a restart policy (unless-stopped) to the service",
22
+ "pattern": "\\bimage\\b|\\bbuild\\b",
23
+ "isPreferred": false
24
+ },
25
+ {
26
+ "title": "Convert short volume syntax to long syntax",
27
+ "kind": "refactor.rewrite",
28
+ "description": "Convert short volume mount syntax to long-form syntax",
29
+ "pattern": "\\bvolumes\\b",
30
+ "isPreferred": false
31
+ },
32
+ {
33
+ "title": "Convert short port syntax to long syntax",
34
+ "kind": "refactor.rewrite",
35
+ "description": "Convert short port mapping syntax to long-form syntax",
36
+ "pattern": "\\bports\\b",
37
+ "isPreferred": false
38
+ },
39
+ {
40
+ "title": "Extract service to separate file",
41
+ "kind": "refactor.extract",
42
+ "description": "Extract the selected service definition to a separate Compose file and use include",
43
+ "pattern": "\\bservices\\b",
44
+ "isPreferred": false
45
+ },
46
+ {
47
+ "title": "Extract common config to x- extension",
48
+ "kind": "refactor.extract",
49
+ "description": "Extract common configuration into a YAML extension field (x-) with anchors",
50
+ "pattern": ".*",
51
+ "isPreferred": false
52
+ },
53
+ {
54
+ "title": "Add depends_on with health condition",
55
+ "kind": "quickfix",
56
+ "description": "Add depends_on with service_healthy condition for a dependency",
57
+ "pattern": "\\bimage\\b|\\bbuild\\b",
58
+ "isPreferred": false
59
+ },
60
+ {
61
+ "title": "Add resource limits",
62
+ "kind": "quickfix",
63
+ "description": "Add deploy resource limits (CPU and memory) to the service",
64
+ "pattern": "\\bimage\\b|\\bbuild\\b",
65
+ "isPreferred": false
66
+ },
67
+ {
68
+ "title": "Add logging configuration",
69
+ "kind": "quickfix",
70
+ "description": "Add JSON file logging with rotation settings",
71
+ "pattern": "\\bimage\\b|\\bbuild\\b",
72
+ "isPreferred": false
73
+ },
74
+ {
75
+ "title": "Fix all auto-fixable problems",
76
+ "kind": "source.fixAll",
77
+ "description": "Apply all available quick fixes",
78
+ "pattern": ".*",
79
+ "isPreferred": false
80
+ },
81
+ {
82
+ "title": "Add security hardening",
83
+ "kind": "quickfix",
84
+ "description": "Add security options: read_only, no-new-privileges, cap_drop ALL",
85
+ "pattern": "\\bimage\\b|\\bbuild\\b",
86
+ "isPreferred": false
87
+ },
88
+ {
89
+ "title": "Convert environment list to map",
90
+ "kind": "refactor.rewrite",
91
+ "description": "Convert environment variables from list syntax to map syntax",
92
+ "pattern": "\\benvironment\\b",
93
+ "isPreferred": false
94
+ },
95
+ {
96
+ "title": "Add develop watch configuration",
97
+ "kind": "quickfix",
98
+ "description": "Add docker compose watch configuration for development",
99
+ "pattern": "\\bbuild\\b",
100
+ "isPreferred": false
101
+ }
102
+ ],
103
+ "providedCodeActionKinds": [
104
+ "quickfix",
105
+ "refactor",
106
+ "refactor.extract",
107
+ "refactor.rewrite",
108
+ "source",
109
+ "source.fixAll",
110
+ "source.organizeImports"
111
+ ]
112
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "language": "dockerfile",
3
+ "codeActions": [
4
+ {
5
+ "title": "Organize imports",
6
+ "kind": "source.organizeImports",
7
+ "description": "Sort and clean up FROM statements",
8
+ "pattern": "\\\\bFROM\\\\b",
9
+ "isPreferred": true
10
+ },
11
+ {
12
+ "title": "Extract to variable",
13
+ "kind": "refactor.extract",
14
+ "description": "Extract expression into a variable",
15
+ "pattern": ".*",
16
+ "isPreferred": false
17
+ },
18
+ {
19
+ "title": "Fix all auto-fixable problems",
20
+ "kind": "source.fixAll",
21
+ "description": "Apply all available quick-fixes",
22
+ "pattern": ".*",
23
+ "isPreferred": false
24
+ }
25
+ ],
26
+ "providedCodeActionKinds": [
27
+ "quickfix",
28
+ "refactor",
29
+ "refactor.extract",
30
+ "refactor.inline",
31
+ "source",
32
+ "source.fixAll",
33
+ "source.organizeImports"
34
+ ]
35
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "language": "dotenv",
3
+ "codeActions": [
4
+ {
5
+ "title": "Extract to variable",
6
+ "kind": "refactor.extract",
7
+ "description": "Extract expression into a variable",
8
+ "pattern": ".*",
9
+ "isPreferred": false
10
+ },
11
+ {
12
+ "title": "Fix all auto-fixable problems",
13
+ "kind": "source.fixAll",
14
+ "description": "Apply all available quick-fixes",
15
+ "pattern": ".*",
16
+ "isPreferred": false
17
+ }
18
+ ],
19
+ "providedCodeActionKinds": [
20
+ "quickfix",
21
+ "refactor",
22
+ "refactor.extract",
23
+ "refactor.inline",
24
+ "source",
25
+ "source.fixAll"
26
+ ]
27
+ }