@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
@@ -0,0 +1,161 @@
1
+ {
2
+ "language": "dart",
3
+ "hovers": {
4
+ "print": {
5
+ "contents": [{"value": "```dart\nvoid print(Object? object)\n```\nPrints an object to the console output."}]
6
+ },
7
+ "debugPrint": {
8
+ "contents": [{"value": "```dart\nvoid debugPrint(String? message, {int? wrapWidth})\n```\nPrints a message to the console with throttling to avoid dropped log lines."}]
9
+ },
10
+ "main": {
11
+ "contents": [{"value": "```dart\nvoid main([List<String> args])\n```\nThe top-level entry point for a Dart application."}]
12
+ },
13
+ "Future.delayed": {
14
+ "contents": [{"value": "```dart\nfactory Future.delayed(Duration duration, [FutureOr<T> computation()?])\n```\nCreates a future that completes after a delay with an optional computed value."}]
15
+ },
16
+ "Future.wait": {
17
+ "contents": [{"value": "```dart\nstatic Future<List<T>> Future.wait<T>(Iterable<Future<T>> futures, {bool eagerError = false, void cleanUp(T successValue)?})\n```\nWaits for multiple futures to complete and returns their results as a list."}]
18
+ },
19
+ "Future.value": {
20
+ "contents": [{"value": "```dart\nfactory Future.value([FutureOr<T>? value])\n```\nCreates a future completed with the given value."}]
21
+ },
22
+ "compute": {
23
+ "contents": [{"value": "```dart\nFuture<R> compute<Q, R>(ComputeCallback<Q, R> callback, Q message)\n```\nSpawns an isolate to run a callback function with a message."}]
24
+ },
25
+ "runApp": {
26
+ "contents": [{"value": "```dart\nvoid runApp(Widget app)\n```\nInflates the given widget and attaches it to the screen."}]
27
+ },
28
+ "setState": {
29
+ "contents": [{"value": "```dart\nvoid setState(VoidCallback fn)\n```\nNotifies the framework that the internal state of this object has changed."}]
30
+ },
31
+ "expect": {
32
+ "contents": [{"value": "```dart\nvoid expect(dynamic actual, dynamic matcher, {String? reason})\n```\nAsserts that actual matches the given matcher in a test."}]
33
+ },
34
+ "Isolate.spawn": {
35
+ "contents": [{"value": "```dart\nstatic Future<Isolate> Isolate.spawn<T>(void entryPoint(T message), T message)\n```\nCreates and spawns an isolate that runs the given function."}]
36
+ },
37
+ "Navigator.push": {
38
+ "contents": [{"value": "```dart\nstatic Future<T?> Navigator.push<T>(BuildContext context, Route<T> route)\n```\nPushes a new route onto the navigator stack."}]
39
+ },
40
+ "int": {
41
+ "contents": [{"value": "```dart\nabstract class int extends num\n```\nAn integer number. On native platforms values range from -2^63 to 2^63-1."}]
42
+ },
43
+ "double": {
44
+ "contents": [{"value": "```dart\nabstract class double extends num\n```\nA double-precision floating-point number (IEEE 754)."}]
45
+ },
46
+ "num": {
47
+ "contents": [{"value": "```dart\nabstract class num implements Comparable<num>\n```\nAn integer or floating-point number; supertype of int and double."}]
48
+ },
49
+ "String": {
50
+ "contents": [{"value": "```dart\nabstract class String implements Comparable<String>, Pattern\n```\nA sequence of UTF-16 code units."}]
51
+ },
52
+ "bool": {
53
+ "contents": [{"value": "```dart\nclass bool\n```\nRepresents true and false values."}]
54
+ },
55
+ "List": {
56
+ "contents": [{"value": "```dart\nabstract class List<E> implements EfficientLengthIterable<E>\n```\nAn indexable collection of objects with a length."}]
57
+ },
58
+ "Map": {
59
+ "contents": [{"value": "```dart\nabstract class Map<K, V>\n```\nA collection of key-value pairs from which values are retrieved using their associated keys."}]
60
+ },
61
+ "Set": {
62
+ "contents": [{"value": "```dart\nabstract class Set<E> extends EfficientLengthIterable<E>\n```\nA collection of objects in which each object can occur only once."}]
63
+ },
64
+ "dynamic": {
65
+ "contents": [{"value": "```dart\ndynamic\n```\nA special type that disables static type checking. Any member access is allowed."}]
66
+ },
67
+ "void": {
68
+ "contents": [{"value": "```dart\nvoid\n```\nIndicates a function returns no value."}]
69
+ },
70
+ "Object": {
71
+ "contents": [{"value": "```dart\nclass Object\n```\nThe base class for all Dart objects. Every class except Null inherits from Object."}]
72
+ },
73
+ "Null": {
74
+ "contents": [{"value": "```dart\nclass Null\n```\nThe class of the null value. The only instance is null."}]
75
+ },
76
+ "Never": {
77
+ "contents": [{"value": "```dart\nNever\n```\nA type that has no values; used for functions that never return (always throw)."}]
78
+ },
79
+ "Future": {
80
+ "contents": [{"value": "```dart\nabstract class Future<T>\n```\nAn object representing a delayed computation; the result will be available at some later time."}]
81
+ },
82
+ "Stream": {
83
+ "contents": [{"value": "```dart\nabstract class Stream<T>\n```\nA source of asynchronous data events; delivers a sequence of events over time."}]
84
+ },
85
+ "Iterable": {
86
+ "contents": [{"value": "```dart\nabstract class Iterable<E>\n```\nA collection of values (elements) that can be accessed sequentially."}]
87
+ },
88
+ "Duration": {
89
+ "contents": [{"value": "```dart\nclass Duration implements Comparable<Duration>\n```\nA span of time, such as 27 days, 4 hours, 12 minutes, and 3 seconds."}]
90
+ },
91
+ "DateTime": {
92
+ "contents": [{"value": "```dart\nclass DateTime implements Comparable<DateTime>\n```\nAn instant in time, such as July 20, 1969, 8:18pm GMT."}]
93
+ },
94
+ "Uri": {
95
+ "contents": [{"value": "```dart\nabstract class Uri\n```\nA parsed URI, such as a URL."}]
96
+ },
97
+ "RegExp": {
98
+ "contents": [{"value": "```dart\nabstract class RegExp implements Pattern\n```\nA compiled regular expression pattern."}]
99
+ },
100
+ "Symbol": {
101
+ "contents": [{"value": "```dart\nabstract class Symbol\n```\nOpaque name used by mirrors, invocations, and Map literals with # prefix."}]
102
+ },
103
+ "Type": {
104
+ "contents": [{"value": "```dart\nabstract class Type\n```\nRuntime representation of a type."}]
105
+ },
106
+ "BigInt": {
107
+ "contents": [{"value": "```dart\nabstract class BigInt implements Comparable<BigInt>\n```\nAn arbitrarily large integer."}]
108
+ },
109
+ "Completer": {
110
+ "contents": [{"value": "```dart\nabstract class Completer<T>\n```\nA way to produce Future objects and complete them later with a value or error."}]
111
+ },
112
+ "Timer": {
113
+ "contents": [{"value": "```dart\nabstract class Timer\n```\nA count-down timer that fires a callback when it reaches zero."}]
114
+ },
115
+ "Function": {
116
+ "contents": [{"value": "```dart\nabstract class Function\n```\nThe base class for all function types."}]
117
+ },
118
+ "Record": {
119
+ "contents": [{"value": "```dart\nabstract class Record\n```\nThe base class for all record types (Dart 3). Records are anonymous, immutable aggregate types."}]
120
+ },
121
+ "Pattern": {
122
+ "contents": [{"value": "```dart\nabstract class Pattern\n```\nAn interface for basic searches within strings; implemented by String and RegExp."}]
123
+ },
124
+ "Comparable": {
125
+ "contents": [{"value": "```dart\nabstract class Comparable<T>\n```\nInterface for classes with a natural ordering among instances."}]
126
+ },
127
+ "Iterator": {
128
+ "contents": [{"value": "```dart\nabstract class Iterator<E>\n```\nAn interface for getting items one at a time from an object."}]
129
+ },
130
+ "Sink": {
131
+ "contents": [{"value": "```dart\nabstract class Sink<T>\n```\nA generic sink that accepts data via add and closes via close."}]
132
+ },
133
+ "StreamController": {
134
+ "contents": [{"value": "```dart\nabstract class StreamController<T> implements StreamSink<T>\n```\nA controller with the stream it controls, allowing sending of events on the stream."}]
135
+ },
136
+ "StreamSubscription": {
137
+ "contents": [{"value": "```dart\nabstract class StreamSubscription<T>\n```\nA subscription on events from a Stream; allows pausing, resuming, and cancelling."}]
138
+ },
139
+ "FutureOr": {
140
+ "contents": [{"value": "```dart\nFutureOr<T>\n```\nA type representing values that are either Future<T> or T."}]
141
+ },
142
+ "StatelessWidget": {
143
+ "contents": [{"value": "```dart\nabstract class StatelessWidget extends Widget\n```\nA widget that does not require mutable state."}]
144
+ },
145
+ "StatefulWidget": {
146
+ "contents": [{"value": "```dart\nabstract class StatefulWidget extends Widget\n```\nA widget that has mutable state."}]
147
+ },
148
+ "Scaffold": {
149
+ "contents": [{"value": "```dart\nclass Scaffold extends StatefulWidget\n```\nImplements the basic Material Design visual layout structure."}]
150
+ },
151
+ "Container": {
152
+ "contents": [{"value": "```dart\nclass Container extends StatelessWidget\n```\nA convenience widget combining common painting, positioning, and sizing widgets."}]
153
+ },
154
+ "BuildContext": {
155
+ "contents": [{"value": "```dart\nabstract class BuildContext\n```\nA handle to the location of a widget in the widget tree."}]
156
+ },
157
+ "Widget": {
158
+ "contents": [{"value": "```dart\nabstract class Widget extends DiagnosticableTree\n```\nDescribes the configuration for an Element."}]
159
+ }
160
+ }
161
+ }
@@ -0,0 +1,404 @@
1
+ {
2
+ "language": "docker-compose",
3
+ "hovers": {
4
+ "services": {
5
+ "contents": [
6
+ {
7
+ "value": "```yaml\nservices:\n web:\n image: nginx:alpine\n ports:\n - \"80:80\"\n api:\n build: .\n ports:\n - \"3000:3000\"\n depends_on:\n - db\n db:\n image: postgres:16\n```\n**services** is the top-level element defining all containers to run. Each child key names a service. Services can reference images, build from Dockerfiles, configure ports, volumes, environment, networks, and more."
8
+ }
9
+ ]
10
+ },
11
+ "image": {
12
+ "contents": [
13
+ {
14
+ "value": "```yaml\nimage: nginx:alpine\nimage: postgres:16\nimage: myregistry.com/app:v1.2.3\nimage: ubuntu@sha256:abc123...\n```\n**image** specifies the Docker image to start the container from. Supports tags (`:tag`) and digests (`@sha256:...`). If both `image` and `build` are specified, the built image is tagged with the given name."
15
+ }
16
+ ]
17
+ },
18
+ "build": {
19
+ "contents": [
20
+ {
21
+ "value": "```yaml\n# Simple form\nbuild: .\n\n# Full form\nbuild:\n context: .\n dockerfile: Dockerfile.prod\n args:\n NODE_VERSION: 20\n target: production\n cache_from:\n - myapp:latest\n```\n**build** defines the build configuration. `context` is the path to the build context. `dockerfile` overrides the default Dockerfile name. `args` pass build arguments. `target` selects a multi-stage build target."
22
+ }
23
+ ]
24
+ },
25
+ "container_name": {
26
+ "contents": [
27
+ {
28
+ "value": "```yaml\ncontainer_name: my-web-container\n```\n**container_name** specifies a custom container name instead of the auto-generated `<project>-<service>-<number>` format. Because Docker container names must be unique, setting this prevents scaling the service beyond one instance."
29
+ }
30
+ ]
31
+ },
32
+ "command": {
33
+ "contents": [
34
+ {
35
+ "value": "```yaml\n# Shell form\ncommand: npm start\n\n# Exec form\ncommand: [\"npm\", \"run\", \"start\"]\n```\n**command** overrides the default `CMD` from the container image. Shell form runs through `/bin/sh -c`. Exec form passes arguments directly to the executable."
36
+ }
37
+ ]
38
+ },
39
+ "entrypoint": {
40
+ "contents": [
41
+ {
42
+ "value": "```yaml\n# Shell form\nentrypoint: /docker-entrypoint.sh\n\n# Exec form\nentrypoint: [\"/bin/sh\", \"-c\"]\n```\n**entrypoint** overrides the image's default `ENTRYPOINT`. Setting `entrypoint` clears any `CMD` set by the image. You can use `command` alongside to provide default arguments."
43
+ }
44
+ ]
45
+ },
46
+ "ports": {
47
+ "contents": [
48
+ {
49
+ "value": "```yaml\n# Short syntax\nports:\n - \"8080:80\"\n - \"443:443\"\n - \"3000\"\n - \"127.0.0.1:8080:80\"\n\n# Long syntax\nports:\n - target: 80\n published: 8080\n protocol: tcp\n mode: host\n```\n**ports** maps host ports to container ports. Short syntax: `[HOST:]CONTAINER[/PROTOCOL]`. Long syntax provides fine-grained control over target, published, protocol, host_ip, and mode."
50
+ }
51
+ ]
52
+ },
53
+ "expose": {
54
+ "contents": [
55
+ {
56
+ "value": "```yaml\nexpose:\n - \"3000\"\n - \"8000\"\n```\n**expose** defines ports that are exposed to linked services but NOT published to the host. These ports are only accessible from other containers on the same network."
57
+ }
58
+ ]
59
+ },
60
+ "environment": {
61
+ "contents": [
62
+ {
63
+ "value": "```yaml\n# Map syntax\nenvironment:\n NODE_ENV: production\n DB_HOST: db\n DEBUG: \"true\"\n\n# List syntax\nenvironment:\n - NODE_ENV=production\n - DB_HOST=db\n```\n**environment** adds environment variables to the container. Boolean values (`true`, `false`, `yes`, `no`) should be quoted to prevent YAML coercion. Variables without values resolve from the host environment."
64
+ }
65
+ ]
66
+ },
67
+ "env_file": {
68
+ "contents": [
69
+ {
70
+ "value": "```yaml\nenv_file:\n - .env\n - ./config/.env.production\n\n# With path and required flag\nenv_file:\n - path: .env\n required: true\n - path: .env.local\n required: false\n```\n**env_file** adds environment variables from external files. Files use `VAR=VALUE` format. Lines beginning with `#` are comments. The `required` flag (default true) controls whether Compose fails when the file is missing."
71
+ }
72
+ ]
73
+ },
74
+ "volumes": {
75
+ "contents": [
76
+ {
77
+ "value": "```yaml\n# Short syntax\nvolumes:\n - ./data:/app/data\n - db_data:/var/lib/postgresql/data\n - /tmp:/tmp:ro\n\n# Long syntax\nvolumes:\n - type: bind\n source: ./data\n target: /app/data\n - type: volume\n source: db_data\n target: /var/lib/postgresql/data\n```\n**volumes** mount host paths or named volumes into the container. Short syntax: `SOURCE:TARGET[:MODE]`. Modes: `ro` (read-only), `rw` (read-write, default). Named volumes must be declared in the top-level `volumes` section."
78
+ }
79
+ ]
80
+ },
81
+ "networks": {
82
+ "contents": [
83
+ {
84
+ "value": "```yaml\n# Service-level\nservices:\n web:\n networks:\n - frontend\n - backend\n\n# With options\nservices:\n web:\n networks:\n frontend:\n aliases:\n - web-app\n ipv4_address: 172.28.0.10\n\n# Top-level\nnetworks:\n frontend:\n driver: bridge\n backend:\n internal: true\n```\n**networks** defines which networks a service connects to. At the service level, it lists networks or provides per-network config (aliases, static IPs). At the top level, it defines custom networks with driver, IPAM, and other options."
85
+ }
86
+ ]
87
+ },
88
+ "depends_on": {
89
+ "contents": [
90
+ {
91
+ "value": "```yaml\n# Short form\ndepends_on:\n - db\n - redis\n\n# Long form with conditions\ndepends_on:\n db:\n condition: service_healthy\n redis:\n condition: service_started\n migrations:\n condition: service_completed_successfully\n```\n**depends_on** controls startup and shutdown order. Short form ensures dependencies start first. Long form adds conditions: `service_started` (default), `service_healthy` (requires healthcheck), `service_completed_successfully` (for one-shot services)."
92
+ }
93
+ ]
94
+ },
95
+ "restart": {
96
+ "contents": [
97
+ {
98
+ "value": "```yaml\nrestart: \"no\" # Never restart\nrestart: always # Always restart\nrestart: on-failure # Restart on non-zero exit\nrestart: unless-stopped # Restart unless explicitly stopped\n```\n**restart** defines the container restart policy. `unless-stopped` is recommended for production services. Note: `\"no\"` should be quoted as it's a YAML boolean."
99
+ }
100
+ ]
101
+ },
102
+ "healthcheck": {
103
+ "contents": [
104
+ {
105
+ "value": "```yaml\nhealthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s\n start_interval: 5s\n\n# Disable inherited healthcheck\nhealthcheck:\n disable: true\n```\n**healthcheck** configures a container health check. `test` can be a string (run via shell) or CMD/CMD-SHELL list. `interval` is time between checks. `start_period` allows startup grace time. Used with `depends_on: condition: service_healthy`."
106
+ }
107
+ ]
108
+ },
109
+ "deploy": {
110
+ "contents": [
111
+ {
112
+ "value": "```yaml\ndeploy:\n replicas: 3\n resources:\n limits:\n cpus: '0.5'\n memory: 512M\n reservations:\n cpus: '0.25'\n memory: 256M\n restart_policy:\n condition: on-failure\n max_attempts: 3\n update_config:\n parallelism: 2\n delay: 10s\n```\n**deploy** specifies deployment and runtime configuration. `resources` sets CPU/memory limits and reservations. `replicas` sets the number of container instances. Also supports `restart_policy`, `update_config`, `rollback_config`, and `placement`."
113
+ }
114
+ ]
115
+ },
116
+ "logging": {
117
+ "contents": [
118
+ {
119
+ "value": "```yaml\nlogging:\n driver: json-file\n options:\n max-size: \"10m\"\n max-file: \"3\"\n tag: \"{{.Name}}\"\n\n# Other drivers\nlogging:\n driver: syslog\n options:\n syslog-address: \"udp://logs.example.com:514\"\n```\n**logging** configures the logging driver and options. Common drivers: `json-file` (default), `syslog`, `journald`, `gelf`, `fluentd`, `awslogs`, `none`. Use `max-size` and `max-file` options for log rotation."
120
+ }
121
+ ]
122
+ },
123
+ "labels": {
124
+ "contents": [
125
+ {
126
+ "value": "```yaml\n# Map form\nlabels:\n com.example.description: \"My App\"\n com.example.department: \"IT\"\n\n# List form\nlabels:\n - \"com.example.description=My App\"\n```\n**labels** add metadata to containers. Often used with reverse proxies like Traefik for routing configuration. Use reverse-DNS notation for label keys to avoid conflicts."
127
+ }
128
+ ]
129
+ },
130
+ "working_dir": {
131
+ "contents": [
132
+ {
133
+ "value": "```yaml\nworking_dir: /app\n```\n**working_dir** overrides the container's working directory (set by the image's `WORKDIR` instruction). All relative paths in `command` and `entrypoint` are relative to this directory."
134
+ }
135
+ ]
136
+ },
137
+ "user": {
138
+ "contents": [
139
+ {
140
+ "value": "```yaml\nuser: \"1000:1000\"\nuser: \"node\"\nuser: \"www-data\"\n```\n**user** overrides the default user inside the container. Accepts `user`, `user:group`, `uid`, or `uid:gid`. Running as non-root is recommended for security."
141
+ }
142
+ ]
143
+ },
144
+ "secrets": {
145
+ "contents": [
146
+ {
147
+ "value": "```yaml\n# Service-level\nservices:\n db:\n secrets:\n - db_password\n - source: api_key\n target: /run/secrets/api_key\n mode: 0400\n\n# Top-level\nsecrets:\n db_password:\n file: ./secrets/db_password.txt\n api_key:\n environment: API_KEY\n```\n**secrets** provide sensitive data to services. At the top level, define secrets from files or environment variables. At the service level, grant access. Secrets are mounted in the container at `/run/secrets/<name>` by default."
148
+ }
149
+ ]
150
+ },
151
+ "configs": {
152
+ "contents": [
153
+ {
154
+ "value": "```yaml\n# Service-level\nservices:\n web:\n configs:\n - my_config\n - source: nginx_conf\n target: /etc/nginx/nginx.conf\n\n# Top-level\nconfigs:\n my_config:\n file: ./config.txt\n nginx_conf:\n file: ./nginx.conf\n```\n**configs** provide non-sensitive configuration data to services. Similar to secrets but for configuration files. Mounted at `/<config_name>` by default or at the specified `target` path."
155
+ }
156
+ ]
157
+ },
158
+ "network_mode": {
159
+ "contents": [
160
+ {
161
+ "value": "```yaml\nnetwork_mode: host\nnetwork_mode: bridge\nnetwork_mode: none\nnetwork_mode: \"service:web\"\n```\n**network_mode** sets the network mode. `host` uses the host's network stack directly (no isolation). `none` disables networking. `service:<name>` shares another service's network namespace. Cannot be used with `networks`."
162
+ }
163
+ ]
164
+ },
165
+ "cap_add": {
166
+ "contents": [
167
+ {
168
+ "value": "```yaml\ncap_add:\n - SYS_PTRACE\n - NET_ADMIN\n - SYS_ADMIN\n - NET_RAW\n```\n**cap_add** adds Linux capabilities to the container. Common capabilities: `SYS_PTRACE` (debugging), `NET_ADMIN` (network config), `SYS_ADMIN` (various admin operations), `NET_RAW` (raw network access)."
169
+ }
170
+ ]
171
+ },
172
+ "cap_drop": {
173
+ "contents": [
174
+ {
175
+ "value": "```yaml\ncap_drop:\n - ALL\n\n# Drop ALL then add back specific ones\ncap_drop:\n - ALL\ncap_add:\n - NET_BIND_SERVICE\n```\n**cap_drop** removes Linux capabilities from the container. Best practice: drop `ALL` capabilities first, then add back only the ones needed with `cap_add`."
176
+ }
177
+ ]
178
+ },
179
+ "privileged": {
180
+ "contents": [
181
+ {
182
+ "value": "```yaml\nprivileged: true\n```\n**privileged** gives the container full access to the host's devices and kernel capabilities. Equivalent to `docker run --privileged`. **Security warning**: only use when absolutely necessary (e.g., Docker-in-Docker)."
183
+ }
184
+ ]
185
+ },
186
+ "read_only": {
187
+ "contents": [
188
+ {
189
+ "value": "```yaml\nread_only: true\nvolumes:\n - /tmp\ntmpfs:\n - /run\n```\n**read_only** mounts the container's root filesystem as read-only. Use `volumes` or `tmpfs` mounts for paths that need to be writable. Enhances security by preventing filesystem modifications."
190
+ }
191
+ ]
192
+ },
193
+ "security_opt": {
194
+ "contents": [
195
+ {
196
+ "value": "```yaml\nsecurity_opt:\n - no-new-privileges:true\n - seccomp:unconfined\n - apparmor:unconfined\n - label:disable\n```\n**security_opt** overrides default security settings. `no-new-privileges` prevents privilege escalation. `seccomp` and `apparmor` control security profiles. `label:disable` turns off SELinux labeling."
197
+ }
198
+ ]
199
+ },
200
+ "pid": {
201
+ "contents": [
202
+ {
203
+ "value": "```yaml\npid: host\npid: \"service:web\"\n```\n**pid** sets the PID mode. `host` shares the host's PID namespace, making host processes visible inside the container. Useful for debugging or monitoring tools."
204
+ }
205
+ ]
206
+ },
207
+ "ipc": {
208
+ "contents": [
209
+ {
210
+ "value": "```yaml\nipc: host\nipc: shareable\nipc: \"service:web\"\n```\n**ipc** configures IPC isolation mode. `host` shares the host's IPC namespace. `shareable` allows other containers to share this container's IPC namespace."
211
+ }
212
+ ]
213
+ },
214
+ "extra_hosts": {
215
+ "contents": [
216
+ {
217
+ "value": "```yaml\nextra_hosts:\n - \"host.docker.internal:host-gateway\"\n - \"api.local:192.168.1.10\"\n - \"db.local:10.0.0.5\"\n```\n**extra_hosts** adds entries to the container's `/etc/hosts`. Use `host-gateway` as a special value that resolves to the host's gateway IP, enabling containers to reach host services."
218
+ }
219
+ ]
220
+ },
221
+ "dns": {
222
+ "contents": [
223
+ {
224
+ "value": "```yaml\ndns:\n - 8.8.8.8\n - 8.8.4.4\ndns: 1.1.1.1\n```\n**dns** configures custom DNS servers for the container. Can be a single value or a list."
225
+ }
226
+ ]
227
+ },
228
+ "dns_search": {
229
+ "contents": [
230
+ {
231
+ "value": "```yaml\ndns_search:\n - example.com\n - internal.example.com\n```\n**dns_search** configures custom DNS search domains for the container."
232
+ }
233
+ ]
234
+ },
235
+ "tmpfs": {
236
+ "contents": [
237
+ {
238
+ "value": "```yaml\ntmpfs:\n - /tmp\n - /run\n\n# With size limit (long syntax via volumes)\nvolumes:\n - type: tmpfs\n target: /tmp\n tmpfs:\n size: 100m\n```\n**tmpfs** mounts a temporary in-memory filesystem. Data does not persist after container stops. Useful for temporary files, caches, or sensitive data that should not be written to disk."
239
+ }
240
+ ]
241
+ },
242
+ "ulimits": {
243
+ "contents": [
244
+ {
245
+ "value": "```yaml\nulimits:\n nofile:\n soft: 65535\n hard: 65535\n nproc: 65535\n memlock:\n soft: -1\n hard: -1\n```\n**ulimits** override default ulimits for the container. Single value sets both soft and hard limits. Object form allows separate soft and hard values. Use `-1` for unlimited."
246
+ }
247
+ ]
248
+ },
249
+ "sysctls": {
250
+ "contents": [
251
+ {
252
+ "value": "```yaml\nsysctls:\n net.core.somaxconn: 1024\n net.ipv4.tcp_syncookies: 0\n net.ipv4.ip_unprivileged_port_start: 0\n```\n**sysctls** sets namespaced kernel parameters in the container. Only kernel parameters that are namespaced are allowed. Common for tuning network performance."
253
+ }
254
+ ]
255
+ },
256
+ "stop_signal": {
257
+ "contents": [
258
+ {
259
+ "value": "```yaml\nstop_signal: SIGUSR1\nstop_signal: SIGTERM\nstop_signal: SIGQUIT\n```\n**stop_signal** sets the signal sent to the container when `docker compose stop` or `docker compose down` is executed. Default is `SIGTERM`. Some applications (e.g., Nginx) prefer `SIGQUIT` for graceful shutdown."
260
+ }
261
+ ]
262
+ },
263
+ "stop_grace_period": {
264
+ "contents": [
265
+ {
266
+ "value": "```yaml\nstop_grace_period: 30s\nstop_grace_period: 1m30s\n```\n**stop_grace_period** specifies how long to wait after sending the stop signal before forcefully killing the container with `SIGKILL`. Default is 10 seconds. Increase for services that need more time for graceful shutdown."
267
+ }
268
+ ]
269
+ },
270
+ "init": {
271
+ "contents": [
272
+ {
273
+ "value": "```yaml\ninit: true\n```\n**init** runs an init process (tini) as PID 1 inside the container. The init process forwards signals to the application and reaps zombie processes. Recommended for containers running processes that don't handle signals properly."
274
+ }
275
+ ]
276
+ },
277
+ "platform": {
278
+ "contents": [
279
+ {
280
+ "value": "```yaml\nplatform: linux/amd64\nplatform: linux/arm64\nplatform: linux/arm/v7\n```\n**platform** specifies the target platform for the service. Format: `os/arch` or `os/arch/variant`. Useful for multi-architecture builds and ensuring consistent behavior across environments."
281
+ }
282
+ ]
283
+ },
284
+ "profiles": {
285
+ "contents": [
286
+ {
287
+ "value": "```yaml\nservices:\n debug-tools:\n image: busybox\n profiles:\n - debug\n monitoring:\n image: prometheus\n profiles:\n - monitoring\n - production\n```\n**profiles** lets you selectively start services. Services with profiles only start when the profile is activated via `--profile` flag or `COMPOSE_PROFILES` env var. Services without profiles always start."
288
+ }
289
+ ]
290
+ },
291
+ "pull_policy": {
292
+ "contents": [
293
+ {
294
+ "value": "```yaml\npull_policy: always # Always pull before creating\npull_policy: never # Never pull, use local only\npull_policy: missing # Pull only if not present locally\npull_policy: build # Always rebuild\n```\n**pull_policy** controls when Compose pulls the service image. Default behavior is `missing` (pull if not available locally)."
295
+ }
296
+ ]
297
+ },
298
+ "extends": {
299
+ "contents": [
300
+ {
301
+ "value": "```yaml\n# Extend from same file\nextends:\n service: base-web\n\n# Extend from another file\nextends:\n file: common.yml\n service: webapp\n```\n**extends** lets you share common configuration between services. The extended service's configuration is merged with the current service. `depends_on`, `links`, `volumes_from`, and `networks` are not inherited."
302
+ }
303
+ ]
304
+ },
305
+ "develop": {
306
+ "contents": [
307
+ {
308
+ "value": "```yaml\ndevelop:\n watch:\n - action: sync\n path: ./src\n target: /app/src\n - action: rebuild\n path: package.json\n - action: sync+restart\n path: ./config\n target: /app/config\n```\n**develop** configures file watching for `docker compose watch`. Actions: `sync` copies changed files into the container, `rebuild` triggers a full rebuild and replace, `sync+restart` syncs files and restarts the service."
309
+ }
310
+ ]
311
+ },
312
+ "include": {
313
+ "contents": [
314
+ {
315
+ "value": "```yaml\ninclude:\n - path: ./db/compose.yaml\n - path: ./monitoring/compose.yaml\n project_directory: ./monitoring\n env_file: ./monitoring/.env\n```\n**include** incorporates other Compose files into the current project. Each included Compose file is resolved relative to its own directory. Useful for modularizing large applications."
316
+ }
317
+ ]
318
+ },
319
+ "version": {
320
+ "contents": [
321
+ {
322
+ "value": "```yaml\nversion: '3.8'\nversion: '3.9'\nversion: '2.4'\n```\n**version** is a legacy top-level property that specified the Compose file format version. It is now **deprecated** and informational only — the Compose CLI automatically uses the latest specification."
323
+ }
324
+ ]
325
+ },
326
+ "name": {
327
+ "contents": [
328
+ {
329
+ "value": "```yaml\nname: my-project\n```\n**name** sets the project name used as a prefix for resources (containers, networks, volumes). Defaults to the directory name. Can also be set via `COMPOSE_PROJECT_NAME` env var or `-p` flag."
330
+ }
331
+ ]
332
+ },
333
+ "driver": {
334
+ "contents": [
335
+ {
336
+ "value": "```yaml\n# Network driver\nnetworks:\n mynet:\n driver: bridge # Default for user-defined networks\n driver: overlay # For Swarm multi-host\n driver: macvlan # Direct host NIC access\n\n# Volume driver\nvolumes:\n mydata:\n driver: local\n```\n**driver** specifies the driver for networks or volumes. Network drivers: `bridge` (default), `overlay`, `host`, `none`, `macvlan`, `ipvlan`. Volume driver: `local` (default) or third-party plugins."
337
+ }
338
+ ]
339
+ },
340
+ "ipam": {
341
+ "contents": [
342
+ {
343
+ "value": "```yaml\nnetworks:\n mynet:\n ipam:\n driver: default\n config:\n - subnet: 172.28.0.0/16\n gateway: 172.28.0.1\n ip_range: 172.28.5.0/24\n```\n**ipam** configures custom IP Address Management for a network. Specify subnets, gateways, and IP ranges. The `driver` defaults to `default` which uses Docker's built-in IPAM."
344
+ }
345
+ ]
346
+ },
347
+ "external": {
348
+ "contents": [
349
+ {
350
+ "value": "```yaml\nnetworks:\n existing_net:\n external: true\n name: my-pre-existing-network\n\nvolumes:\n existing_vol:\n external: true\n```\n**external** indicates that a network or volume already exists and was created outside of Compose. Compose will not attempt to create it and will raise an error if it doesn't exist. Use `name` to reference resources with different names."
351
+ }
352
+ ]
353
+ },
354
+ "shm_size": {
355
+ "contents": [
356
+ {
357
+ "value": "```yaml\nshm_size: '2gb'\nshm_size: '256m'\n```\n**shm_size** sets the size of `/dev/shm` (shared memory) for the container. Default is 64MB. Increase for applications that need more shared memory (e.g., PostgreSQL, Chrome/Puppeteer)."
358
+ }
359
+ ]
360
+ },
361
+ "hostname": {
362
+ "contents": [
363
+ {
364
+ "value": "```yaml\nhostname: web-server\n```\n**hostname** sets the container hostname. By default, the container's hostname is the service name. Other containers on the same network can reach this container using the hostname."
365
+ }
366
+ ]
367
+ },
368
+ "domainname": {
369
+ "contents": [
370
+ {
371
+ "value": "```yaml\ndomainname: example.com\n```\n**domainname** sets the container's domain name. Combined with `hostname`, the FQDN becomes `hostname.domainname`."
372
+ }
373
+ ]
374
+ },
375
+ "devices": {
376
+ "contents": [
377
+ {
378
+ "value": "```yaml\ndevices:\n - \"/dev/sda:/dev/xvdc:rwm\"\n - \"/dev/bus/usb:/dev/bus/usb\"\n```\n**devices** maps host devices into the container. Format: `HOST_DEVICE:CONTAINER_DEVICE[:PERMISSIONS]`. Permissions: `r` (read), `w` (write), `m` (mknod)."
379
+ }
380
+ ]
381
+ },
382
+ "runtime": {
383
+ "contents": [
384
+ {
385
+ "value": "```yaml\nruntime: nvidia\nruntime: runc\n```\n**runtime** specifies which OCI runtime to use. Common runtimes: `runc` (default), `nvidia` (GPU workloads), `sysbox` (nested containers). The runtime must be registered with Docker."
386
+ }
387
+ ]
388
+ },
389
+ "scale": {
390
+ "contents": [
391
+ {
392
+ "value": "```yaml\nscale: 3\n```\n**scale** sets the default number of containers for the service. Deprecated in favor of `deploy.replicas`. Cannot be used with `container_name`."
393
+ }
394
+ ]
395
+ },
396
+ "annotations": {
397
+ "contents": [
398
+ {
399
+ "value": "```yaml\nannotations:\n com.example.foo: bar\n org.opencontainers.image.source: https://github.com/example/app\n```\n**annotations** add OCI-compliant annotations to the container. Similar to labels but follow the OCI annotation specification."
400
+ }
401
+ ]
402
+ }
403
+ }
404
+ }