@enjoys/context-engine 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/completion/awk.json +203 -0
- package/data/completion/crontab.json +203 -0
- package/data/completion/dotenv.json +170 -0
- package/data/completion/graphql.json +181 -0
- package/data/completion/hcl.json +192 -0
- package/data/completion/ini.json +137 -0
- package/data/completion/json.json +170 -0
- package/data/completion/makefile.json +203 -0
- package/data/completion/markdown.json +225 -0
- package/data/completion/nginx.json +280 -0
- package/data/completion/perl.json +203 -0
- package/data/completion/powershell.json +225 -0
- package/data/completion/protobuf.json +181 -0
- package/data/completion/ssh_config.json +159 -0
- package/data/completion/systemd.json +170 -0
- package/data/completion/xml.json +159 -0
- package/data/completion/zsh.json +214 -0
- package/data/defination/awk.json +125 -0
- package/data/defination/crontab.json +107 -0
- package/data/defination/dotenv.json +71 -0
- package/data/defination/graphql.json +119 -0
- package/data/defination/hcl.json +125 -0
- package/data/defination/ini.json +77 -0
- package/data/defination/json.json +83 -0
- package/data/defination/makefile.json +113 -0
- package/data/defination/markdown.json +107 -0
- package/data/defination/nginx.json +131 -0
- package/data/defination/perl.json +101 -0
- package/data/defination/powershell.json +119 -0
- package/data/defination/protobuf.json +119 -0
- package/data/defination/ssh_config.json +89 -0
- package/data/defination/systemd.json +107 -0
- package/data/defination/xml.json +83 -0
- package/data/defination/zsh.json +113 -0
- package/data/hover/awk.json +47 -0
- package/data/hover/crontab.json +47 -0
- package/data/hover/dotenv.json +47 -0
- package/data/hover/graphql.json +47 -0
- package/data/hover/hcl.json +75 -0
- package/data/hover/ini.json +68 -0
- package/data/hover/json.json +89 -0
- package/data/hover/makefile.json +68 -0
- package/data/hover/markdown.json +68 -0
- package/data/hover/nginx.json +89 -0
- package/data/hover/perl.json +47 -0
- package/data/hover/powershell.json +54 -0
- package/data/hover/protobuf.json +47 -0
- package/data/hover/ssh_config.json +47 -0
- package/data/hover/systemd.json +54 -0
- package/data/hover/xml.json +61 -0
- package/data/hover/zsh.json +61 -0
- package/data/manifest.json +210 -6
- package/package.json +1 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "crontab",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"minute": {
|
|
5
|
+
"signature": "0-59 | * | */n | n,m | n-m",
|
|
6
|
+
"description": "Minute field (first). Values 0-59. * means every minute. */5 means every 5 minutes.",
|
|
7
|
+
"type": "field",
|
|
8
|
+
"module": "cron(5)"
|
|
9
|
+
},
|
|
10
|
+
"hour": {
|
|
11
|
+
"signature": "0-23 | * | */n | n,m | n-m",
|
|
12
|
+
"description": "Hour field (second). Values 0-23. 0 is midnight, 23 is 11 PM.",
|
|
13
|
+
"type": "field",
|
|
14
|
+
"module": "cron(5)"
|
|
15
|
+
},
|
|
16
|
+
"day_of_month": {
|
|
17
|
+
"signature": "1-31 | * | */n | n,m | n-m",
|
|
18
|
+
"description": "Day of month field (third). Values 1-31.",
|
|
19
|
+
"type": "field",
|
|
20
|
+
"module": "cron(5)"
|
|
21
|
+
},
|
|
22
|
+
"month": {
|
|
23
|
+
"signature": "1-12 | jan-dec | * | */n",
|
|
24
|
+
"description": "Month field (fourth). Values 1-12 or jan-dec abbreviations.",
|
|
25
|
+
"type": "field",
|
|
26
|
+
"module": "cron(5)"
|
|
27
|
+
},
|
|
28
|
+
"day_of_week": {
|
|
29
|
+
"signature": "0-7 | sun-sat | * | n,m",
|
|
30
|
+
"description": "Day of week field (fifth). 0 and 7 are Sunday. Or use three-letter abbreviations.",
|
|
31
|
+
"type": "field",
|
|
32
|
+
"module": "cron(5)"
|
|
33
|
+
},
|
|
34
|
+
"asterisk": {
|
|
35
|
+
"signature": "*",
|
|
36
|
+
"description": "Wildcard matching every possible value for the field.",
|
|
37
|
+
"type": "operator",
|
|
38
|
+
"module": "cron(5)"
|
|
39
|
+
},
|
|
40
|
+
"step": {
|
|
41
|
+
"signature": "*/n",
|
|
42
|
+
"description": "Step value. */5 in the minute field means every 5 minutes.",
|
|
43
|
+
"type": "operator",
|
|
44
|
+
"module": "cron(5)"
|
|
45
|
+
},
|
|
46
|
+
"range": {
|
|
47
|
+
"signature": "n-m",
|
|
48
|
+
"description": "Range of values. 1-5 in day-of-week means Monday through Friday.",
|
|
49
|
+
"type": "operator",
|
|
50
|
+
"module": "cron(5)"
|
|
51
|
+
},
|
|
52
|
+
"list": {
|
|
53
|
+
"signature": "n,m,o",
|
|
54
|
+
"description": "Comma-separated list of values. 1,15 in day-of-month means 1st and 15th.",
|
|
55
|
+
"type": "operator",
|
|
56
|
+
"module": "cron(5)"
|
|
57
|
+
},
|
|
58
|
+
"reboot": {
|
|
59
|
+
"signature": "@reboot",
|
|
60
|
+
"description": "Special schedule that runs once when the cron daemon starts (system boot).",
|
|
61
|
+
"type": "shortcut",
|
|
62
|
+
"module": "cron(5)"
|
|
63
|
+
},
|
|
64
|
+
"daily": {
|
|
65
|
+
"signature": "@daily (0 0 * * *)",
|
|
66
|
+
"description": "Special schedule equivalent to midnight every day.",
|
|
67
|
+
"type": "shortcut",
|
|
68
|
+
"module": "cron(5)"
|
|
69
|
+
},
|
|
70
|
+
"hourly": {
|
|
71
|
+
"signature": "@hourly (0 * * * *)",
|
|
72
|
+
"description": "Special schedule equivalent to the start of every hour.",
|
|
73
|
+
"type": "shortcut",
|
|
74
|
+
"module": "cron(5)"
|
|
75
|
+
},
|
|
76
|
+
"weekly": {
|
|
77
|
+
"signature": "@weekly (0 0 * * 0)",
|
|
78
|
+
"description": "Special schedule equivalent to midnight every Sunday.",
|
|
79
|
+
"type": "shortcut",
|
|
80
|
+
"module": "cron(5)"
|
|
81
|
+
},
|
|
82
|
+
"monthly": {
|
|
83
|
+
"signature": "@monthly (0 0 1 * *)",
|
|
84
|
+
"description": "Special schedule equivalent to midnight on the first of every month.",
|
|
85
|
+
"type": "shortcut",
|
|
86
|
+
"module": "cron(5)"
|
|
87
|
+
},
|
|
88
|
+
"MAILTO": {
|
|
89
|
+
"signature": "MAILTO=email",
|
|
90
|
+
"description": "Environment variable that controls where cron output is emailed. Set to \"\" to disable.",
|
|
91
|
+
"type": "variable",
|
|
92
|
+
"module": "cron(5)"
|
|
93
|
+
},
|
|
94
|
+
"PATH": {
|
|
95
|
+
"signature": "PATH=/usr/bin:/bin",
|
|
96
|
+
"description": "The search path for commands. Cron has a minimal default PATH - always set it explicitly.",
|
|
97
|
+
"type": "variable",
|
|
98
|
+
"module": "cron(5)"
|
|
99
|
+
},
|
|
100
|
+
"SHELL": {
|
|
101
|
+
"signature": "SHELL=/bin/bash",
|
|
102
|
+
"description": "The shell used to run commands. Default is /bin/sh.",
|
|
103
|
+
"type": "variable",
|
|
104
|
+
"module": "cron(5)"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "dotenv",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"variable": {
|
|
5
|
+
"signature": "KEY=value",
|
|
6
|
+
"description": "Environment variable assignment. No spaces around =. Loaded into process environment.",
|
|
7
|
+
"type": "syntax",
|
|
8
|
+
"module": ".env"
|
|
9
|
+
},
|
|
10
|
+
"comment": {
|
|
11
|
+
"signature": "# comment",
|
|
12
|
+
"description": "Lines starting with # are comments and are ignored.",
|
|
13
|
+
"type": "syntax",
|
|
14
|
+
"module": ".env"
|
|
15
|
+
},
|
|
16
|
+
"quoted_value": {
|
|
17
|
+
"signature": "KEY=\"value with spaces\"",
|
|
18
|
+
"description": "Double-quoted values can contain spaces and some escape sequences. Single quotes are treated literally.",
|
|
19
|
+
"type": "syntax",
|
|
20
|
+
"module": ".env"
|
|
21
|
+
},
|
|
22
|
+
"multiline": {
|
|
23
|
+
"signature": "KEY=\"line1\\nline2\"",
|
|
24
|
+
"description": "Multi-line values use double quotes with \\n for newlines, or actual newlines within quotes.",
|
|
25
|
+
"type": "syntax",
|
|
26
|
+
"module": ".env"
|
|
27
|
+
},
|
|
28
|
+
"interpolation": {
|
|
29
|
+
"signature": "KEY=${OTHER_KEY}",
|
|
30
|
+
"description": "Variable expansion references other variables. Supported by dotenv-expand and some loaders.",
|
|
31
|
+
"type": "syntax",
|
|
32
|
+
"module": "dotenv-expand"
|
|
33
|
+
},
|
|
34
|
+
"export": {
|
|
35
|
+
"signature": "export KEY=value",
|
|
36
|
+
"description": "The export prefix makes the variable available to child processes. Optional in .env files.",
|
|
37
|
+
"type": "syntax",
|
|
38
|
+
"module": ".env"
|
|
39
|
+
},
|
|
40
|
+
"DATABASE_URL": {
|
|
41
|
+
"signature": "protocol://user:pass@host:port/db",
|
|
42
|
+
"description": "Standard database connection URL format. Supports postgres://, mysql://, mongodb://.",
|
|
43
|
+
"type": "convention",
|
|
44
|
+
"module": "12-Factor App"
|
|
45
|
+
},
|
|
46
|
+
"NODE_ENV": {
|
|
47
|
+
"signature": "development | production | test",
|
|
48
|
+
"description": "Node.js environment variable. Controls debug output, optimizations, and dependency behavior.",
|
|
49
|
+
"type": "convention",
|
|
50
|
+
"module": "Node.js"
|
|
51
|
+
},
|
|
52
|
+
"PORT": {
|
|
53
|
+
"signature": "PORT=3000",
|
|
54
|
+
"description": "The port number the application listens on. Common convention across frameworks.",
|
|
55
|
+
"type": "convention",
|
|
56
|
+
"module": "12-Factor App"
|
|
57
|
+
},
|
|
58
|
+
"env_file": {
|
|
59
|
+
"signature": ".env, .env.local, .env.production",
|
|
60
|
+
"description": "Files are loaded in order: .env (shared), .env.local (local overrides), .env.{NODE_ENV} (environment-specific).",
|
|
61
|
+
"type": "convention",
|
|
62
|
+
"module": "dotenv"
|
|
63
|
+
},
|
|
64
|
+
"gitignore": {
|
|
65
|
+
"signature": ".env in .gitignore",
|
|
66
|
+
"description": ".env files with secrets should NEVER be committed to git. Add to .gitignore and use .env.example as a template.",
|
|
67
|
+
"type": "best_practice",
|
|
68
|
+
"module": "Security"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "graphql",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"type": {
|
|
5
|
+
"signature": "type Name { field: Type }",
|
|
6
|
+
"description": "Object type defining a set of fields. Each field has a type and optional arguments.",
|
|
7
|
+
"type": "keyword",
|
|
8
|
+
"module": "GraphQL"
|
|
9
|
+
},
|
|
10
|
+
"input": {
|
|
11
|
+
"signature": "input Name { field: Type }",
|
|
12
|
+
"description": "Input types for mutations and queries. Like types but used as arguments.",
|
|
13
|
+
"type": "keyword",
|
|
14
|
+
"module": "GraphQL"
|
|
15
|
+
},
|
|
16
|
+
"enum": {
|
|
17
|
+
"signature": "enum Name { VALUE1 VALUE2 }",
|
|
18
|
+
"description": "Enumeration type restricting values to a defined set.",
|
|
19
|
+
"type": "keyword",
|
|
20
|
+
"module": "GraphQL"
|
|
21
|
+
},
|
|
22
|
+
"interface": {
|
|
23
|
+
"signature": "interface Name { field: Type }",
|
|
24
|
+
"description": "Abstract type defining fields that implementing types must include.",
|
|
25
|
+
"type": "keyword",
|
|
26
|
+
"module": "GraphQL"
|
|
27
|
+
},
|
|
28
|
+
"union": {
|
|
29
|
+
"signature": "union Name = Type1 | Type2",
|
|
30
|
+
"description": "Union of multiple object types. Use inline fragments to query specific types.",
|
|
31
|
+
"type": "keyword",
|
|
32
|
+
"module": "GraphQL"
|
|
33
|
+
},
|
|
34
|
+
"scalar": {
|
|
35
|
+
"signature": "scalar Name",
|
|
36
|
+
"description": "Custom scalar type beyond built-in ID, String, Int, Float, Boolean.",
|
|
37
|
+
"type": "keyword",
|
|
38
|
+
"module": "GraphQL"
|
|
39
|
+
},
|
|
40
|
+
"schema": {
|
|
41
|
+
"signature": "schema { query: Q mutation: M }",
|
|
42
|
+
"description": "Root schema definition mapping operation types to root types.",
|
|
43
|
+
"type": "keyword",
|
|
44
|
+
"module": "GraphQL"
|
|
45
|
+
},
|
|
46
|
+
"directive": {
|
|
47
|
+
"signature": "directive @name on LOCATION",
|
|
48
|
+
"description": "Metadata attached to types or fields. Built-in: @deprecated, @skip, @include.",
|
|
49
|
+
"type": "keyword",
|
|
50
|
+
"module": "GraphQL"
|
|
51
|
+
},
|
|
52
|
+
"query": {
|
|
53
|
+
"signature": "query Name($var: Type) { ... }",
|
|
54
|
+
"description": "Read operation. Fetches data without side effects.",
|
|
55
|
+
"type": "operation",
|
|
56
|
+
"module": "GraphQL"
|
|
57
|
+
},
|
|
58
|
+
"mutation": {
|
|
59
|
+
"signature": "mutation Name($var: Type) { ... }",
|
|
60
|
+
"description": "Write operation. Modifies data on the server.",
|
|
61
|
+
"type": "operation",
|
|
62
|
+
"module": "GraphQL"
|
|
63
|
+
},
|
|
64
|
+
"subscription": {
|
|
65
|
+
"signature": "subscription Name { ... }",
|
|
66
|
+
"description": "Real-time operation. Maintains a persistent connection for live updates.",
|
|
67
|
+
"type": "operation",
|
|
68
|
+
"module": "GraphQL"
|
|
69
|
+
},
|
|
70
|
+
"fragment": {
|
|
71
|
+
"signature": "fragment Name on Type { ... }",
|
|
72
|
+
"description": "Reusable set of fields. Spread with ...FragmentName.",
|
|
73
|
+
"type": "keyword",
|
|
74
|
+
"module": "GraphQL"
|
|
75
|
+
},
|
|
76
|
+
"ID": {
|
|
77
|
+
"signature": "ID",
|
|
78
|
+
"description": "Built-in scalar representing a unique identifier. Serialized as String.",
|
|
79
|
+
"type": "scalar",
|
|
80
|
+
"module": "GraphQL"
|
|
81
|
+
},
|
|
82
|
+
"String": {
|
|
83
|
+
"signature": "String",
|
|
84
|
+
"description": "Built-in scalar for UTF-8 text strings.",
|
|
85
|
+
"type": "scalar",
|
|
86
|
+
"module": "GraphQL"
|
|
87
|
+
},
|
|
88
|
+
"Int": {
|
|
89
|
+
"signature": "Int",
|
|
90
|
+
"description": "Built-in scalar for 32-bit signed integers.",
|
|
91
|
+
"type": "scalar",
|
|
92
|
+
"module": "GraphQL"
|
|
93
|
+
},
|
|
94
|
+
"Float": {
|
|
95
|
+
"signature": "Float",
|
|
96
|
+
"description": "Built-in scalar for double-precision floating-point numbers.",
|
|
97
|
+
"type": "scalar",
|
|
98
|
+
"module": "GraphQL"
|
|
99
|
+
},
|
|
100
|
+
"Boolean": {
|
|
101
|
+
"signature": "Boolean",
|
|
102
|
+
"description": "Built-in scalar for true/false values.",
|
|
103
|
+
"type": "scalar",
|
|
104
|
+
"module": "GraphQL"
|
|
105
|
+
},
|
|
106
|
+
"non_null": {
|
|
107
|
+
"signature": "Type!",
|
|
108
|
+
"description": "Non-null modifier. The field will never return null.",
|
|
109
|
+
"type": "modifier",
|
|
110
|
+
"module": "GraphQL"
|
|
111
|
+
},
|
|
112
|
+
"list": {
|
|
113
|
+
"signature": "[Type]",
|
|
114
|
+
"description": "List modifier. The field returns an array of the specified type.",
|
|
115
|
+
"type": "modifier",
|
|
116
|
+
"module": "GraphQL"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "hcl",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"resource": {
|
|
5
|
+
"signature": "resource \"type\" \"name\" { ... }",
|
|
6
|
+
"description": "Resources are the most important element. Each resource block describes one or more infrastructure objects.",
|
|
7
|
+
"type": "block",
|
|
8
|
+
"module": "Terraform Core"
|
|
9
|
+
},
|
|
10
|
+
"data": {
|
|
11
|
+
"signature": "data \"type\" \"name\" { ... }",
|
|
12
|
+
"description": "Data sources allow Terraform to use information defined outside of Terraform or by another configuration.",
|
|
13
|
+
"type": "block",
|
|
14
|
+
"module": "Terraform Core"
|
|
15
|
+
},
|
|
16
|
+
"variable": {
|
|
17
|
+
"signature": "variable \"name\" { ... }",
|
|
18
|
+
"description": "Input variables serve as parameters for a Terraform module. Can have type, default, description, validation.",
|
|
19
|
+
"type": "block",
|
|
20
|
+
"module": "Terraform Core"
|
|
21
|
+
},
|
|
22
|
+
"output": {
|
|
23
|
+
"signature": "output \"name\" { value = ... }",
|
|
24
|
+
"description": "Output values are the return values of a Terraform module.",
|
|
25
|
+
"type": "block",
|
|
26
|
+
"module": "Terraform Core"
|
|
27
|
+
},
|
|
28
|
+
"provider": {
|
|
29
|
+
"signature": "provider \"name\" { ... }",
|
|
30
|
+
"description": "Provider configurations specify which provider plugin to use and supply its connection details.",
|
|
31
|
+
"type": "block",
|
|
32
|
+
"module": "Terraform Core"
|
|
33
|
+
},
|
|
34
|
+
"module": {
|
|
35
|
+
"signature": "module \"name\" { source = \"...\" }",
|
|
36
|
+
"description": "A module call references a reusable set of Terraform configurations.",
|
|
37
|
+
"type": "block",
|
|
38
|
+
"module": "Terraform Core"
|
|
39
|
+
},
|
|
40
|
+
"locals": {
|
|
41
|
+
"signature": "locals { name = value }",
|
|
42
|
+
"description": "Local values assign a name to an expression for reuse within a module.",
|
|
43
|
+
"type": "block",
|
|
44
|
+
"module": "Terraform Core"
|
|
45
|
+
},
|
|
46
|
+
"terraform": {
|
|
47
|
+
"signature": "terraform { ... }",
|
|
48
|
+
"description": "Terraform settings block configures required_version, required_providers, and backend.",
|
|
49
|
+
"type": "block",
|
|
50
|
+
"module": "Terraform Core"
|
|
51
|
+
},
|
|
52
|
+
"for_each": {
|
|
53
|
+
"signature": "for_each = var.map",
|
|
54
|
+
"description": "Meta-argument that creates an instance for each item in a map or set of strings.",
|
|
55
|
+
"type": "meta-argument",
|
|
56
|
+
"module": "Terraform Core"
|
|
57
|
+
},
|
|
58
|
+
"count": {
|
|
59
|
+
"signature": "count = number",
|
|
60
|
+
"description": "Meta-argument that creates a specific number of instances of a resource.",
|
|
61
|
+
"type": "meta-argument",
|
|
62
|
+
"module": "Terraform Core"
|
|
63
|
+
},
|
|
64
|
+
"depends_on": {
|
|
65
|
+
"signature": "depends_on = [resource.name]",
|
|
66
|
+
"description": "Explicitly specify dependencies between resources that Terraform cannot automatically detect.",
|
|
67
|
+
"type": "meta-argument",
|
|
68
|
+
"module": "Terraform Core"
|
|
69
|
+
},
|
|
70
|
+
"lifecycle": {
|
|
71
|
+
"signature": "lifecycle { create_before_destroy = true }",
|
|
72
|
+
"description": "Lifecycle block customizes how resources are created, updated, and destroyed.",
|
|
73
|
+
"type": "block",
|
|
74
|
+
"module": "Terraform Core"
|
|
75
|
+
},
|
|
76
|
+
"provisioner": {
|
|
77
|
+
"signature": "provisioner \"type\" { ... }",
|
|
78
|
+
"description": "Provisioners execute scripts on local or remote machines as part of resource creation or destruction.",
|
|
79
|
+
"type": "block",
|
|
80
|
+
"module": "Terraform Core"
|
|
81
|
+
},
|
|
82
|
+
"dynamic": {
|
|
83
|
+
"signature": "dynamic \"name\" { for_each = ... content { ... } }",
|
|
84
|
+
"description": "Dynamic blocks generate repeated nested blocks from a collection.",
|
|
85
|
+
"type": "block",
|
|
86
|
+
"module": "Terraform Core"
|
|
87
|
+
},
|
|
88
|
+
"backend": {
|
|
89
|
+
"signature": "backend \"type\" { ... }",
|
|
90
|
+
"description": "Backends determine where Terraform stores its state. Options: s3, gcs, azurerm, consul, local.",
|
|
91
|
+
"type": "block",
|
|
92
|
+
"module": "Terraform Core"
|
|
93
|
+
},
|
|
94
|
+
"string": {
|
|
95
|
+
"signature": "\"string value\"",
|
|
96
|
+
"description": "Strings are sequences of Unicode characters. Support interpolation with ${...} and directive syntax.",
|
|
97
|
+
"type": "type",
|
|
98
|
+
"module": "HCL"
|
|
99
|
+
},
|
|
100
|
+
"number": {
|
|
101
|
+
"signature": "42 | 3.14",
|
|
102
|
+
"description": "Numbers can be integers or floating-point values.",
|
|
103
|
+
"type": "type",
|
|
104
|
+
"module": "HCL"
|
|
105
|
+
},
|
|
106
|
+
"bool": {
|
|
107
|
+
"signature": "true | false",
|
|
108
|
+
"description": "Boolean values representing true or false.",
|
|
109
|
+
"type": "type",
|
|
110
|
+
"module": "HCL"
|
|
111
|
+
},
|
|
112
|
+
"list": {
|
|
113
|
+
"signature": "[val1, val2, ...]",
|
|
114
|
+
"description": "List/tuple type - an ordered sequence of values.",
|
|
115
|
+
"type": "type",
|
|
116
|
+
"module": "HCL"
|
|
117
|
+
},
|
|
118
|
+
"map": {
|
|
119
|
+
"signature": "{ key = value, ... }",
|
|
120
|
+
"description": "Map/object type - a collection of key-value pairs.",
|
|
121
|
+
"type": "type",
|
|
122
|
+
"module": "HCL"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "ini",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"section": {
|
|
5
|
+
"signature": "[section_name]",
|
|
6
|
+
"description": "A section header groups related key-value pairs. Section names are enclosed in square brackets.",
|
|
7
|
+
"type": "structure",
|
|
8
|
+
"module": "INI format"
|
|
9
|
+
},
|
|
10
|
+
"key_value": {
|
|
11
|
+
"signature": "key = value",
|
|
12
|
+
"description": "A key-value pair assigns a value to a named key. The delimiter can be = or : depending on the parser.",
|
|
13
|
+
"type": "syntax",
|
|
14
|
+
"module": "INI format"
|
|
15
|
+
},
|
|
16
|
+
"comment_semicolon": {
|
|
17
|
+
"signature": "; comment text",
|
|
18
|
+
"description": "A comment preceded by a semicolon. The entire line is ignored by the parser.",
|
|
19
|
+
"type": "syntax",
|
|
20
|
+
"module": "INI format"
|
|
21
|
+
},
|
|
22
|
+
"comment_hash": {
|
|
23
|
+
"signature": "# comment text",
|
|
24
|
+
"description": "A comment preceded by a hash sign. Supported by most INI parsers.",
|
|
25
|
+
"type": "syntax",
|
|
26
|
+
"module": "INI format"
|
|
27
|
+
},
|
|
28
|
+
"DEFAULT": {
|
|
29
|
+
"signature": "[DEFAULT]",
|
|
30
|
+
"description": "Special section that provides default values inherited by all other sections (Python ConfigParser).",
|
|
31
|
+
"type": "keyword",
|
|
32
|
+
"module": "ConfigParser"
|
|
33
|
+
},
|
|
34
|
+
"interpolation": {
|
|
35
|
+
"signature": "%(name)s",
|
|
36
|
+
"description": "Variable interpolation that substitutes the value of another key. Python ConfigParser uses %(name)s syntax.",
|
|
37
|
+
"type": "syntax",
|
|
38
|
+
"module": "ConfigParser"
|
|
39
|
+
},
|
|
40
|
+
"multiline": {
|
|
41
|
+
"signature": "key = line1\\n line2",
|
|
42
|
+
"description": "Values can span multiple lines if continuation lines are indented with whitespace.",
|
|
43
|
+
"type": "syntax",
|
|
44
|
+
"module": "INI format"
|
|
45
|
+
},
|
|
46
|
+
"my.cnf": {
|
|
47
|
+
"signature": "MySQL configuration file",
|
|
48
|
+
"description": "MySQL/MariaDB server configuration file using INI format. Common sections: [mysqld], [client], [mysql].",
|
|
49
|
+
"type": "file",
|
|
50
|
+
"module": "MySQL"
|
|
51
|
+
},
|
|
52
|
+
"php.ini": {
|
|
53
|
+
"signature": "PHP configuration file",
|
|
54
|
+
"description": "PHP runtime configuration file. Controls memory limits, upload sizes, error reporting, extensions.",
|
|
55
|
+
"type": "file",
|
|
56
|
+
"module": "PHP"
|
|
57
|
+
},
|
|
58
|
+
"supervisord.conf": {
|
|
59
|
+
"signature": "Supervisor config",
|
|
60
|
+
"description": "Process manager configuration file. Defines programs to monitor, restart policies, and logging.",
|
|
61
|
+
"type": "file",
|
|
62
|
+
"module": "Supervisor"
|
|
63
|
+
},
|
|
64
|
+
"uwsgi.ini": {
|
|
65
|
+
"signature": "uWSGI config",
|
|
66
|
+
"description": "uWSGI application server configuration. Defines WSGI module, workers, sockets, and process management.",
|
|
67
|
+
"type": "file",
|
|
68
|
+
"module": "uWSGI"
|
|
69
|
+
},
|
|
70
|
+
"gitconfig": {
|
|
71
|
+
"signature": "~/.gitconfig",
|
|
72
|
+
"description": "Git user configuration file using INI format. Sections include [user], [core], [alias], [remote].",
|
|
73
|
+
"type": "file",
|
|
74
|
+
"module": "Git"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "json",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"object": {
|
|
5
|
+
"signature": "{ }",
|
|
6
|
+
"description": "An unordered collection of key-value pairs enclosed in curly braces. Keys must be double-quoted strings.",
|
|
7
|
+
"type": "structure",
|
|
8
|
+
"module": "JSON RFC 8259"
|
|
9
|
+
},
|
|
10
|
+
"array": {
|
|
11
|
+
"signature": "[ ]",
|
|
12
|
+
"description": "An ordered sequence of values enclosed in square brackets, separated by commas.",
|
|
13
|
+
"type": "structure",
|
|
14
|
+
"module": "JSON RFC 8259"
|
|
15
|
+
},
|
|
16
|
+
"string": {
|
|
17
|
+
"signature": "\"...\"",
|
|
18
|
+
"description": "A sequence of Unicode characters enclosed in double quotes. Supports escape sequences like \\n, \\t, \\u0000.",
|
|
19
|
+
"type": "data_type",
|
|
20
|
+
"module": "JSON RFC 8259"
|
|
21
|
+
},
|
|
22
|
+
"number": {
|
|
23
|
+
"signature": "42 | 3.14 | 1e10",
|
|
24
|
+
"description": "A numeric value - integer or floating point. No leading zeros, no hex/octal. Supports scientific notation.",
|
|
25
|
+
"type": "data_type",
|
|
26
|
+
"module": "JSON RFC 8259"
|
|
27
|
+
},
|
|
28
|
+
"boolean": {
|
|
29
|
+
"signature": "true | false",
|
|
30
|
+
"description": "A boolean literal, either true or false (lowercase only).",
|
|
31
|
+
"type": "data_type",
|
|
32
|
+
"module": "JSON RFC 8259"
|
|
33
|
+
},
|
|
34
|
+
"null": {
|
|
35
|
+
"signature": "null",
|
|
36
|
+
"description": "Represents the absence of a value. Must be lowercase.",
|
|
37
|
+
"type": "data_type",
|
|
38
|
+
"module": "JSON RFC 8259"
|
|
39
|
+
},
|
|
40
|
+
"key": {
|
|
41
|
+
"signature": "\"key\": value",
|
|
42
|
+
"description": "Object keys must be double-quoted strings. Each key in an object should be unique.",
|
|
43
|
+
"type": "syntax",
|
|
44
|
+
"module": "JSON RFC 8259"
|
|
45
|
+
},
|
|
46
|
+
"escape_sequences": {
|
|
47
|
+
"signature": "\\\" \\\\ \\/ \\b \\f \\n \\r \\t \\uXXXX",
|
|
48
|
+
"description": "Special characters in strings are represented with backslash escape sequences.",
|
|
49
|
+
"type": "syntax",
|
|
50
|
+
"module": "JSON RFC 8259"
|
|
51
|
+
},
|
|
52
|
+
"json_schema": {
|
|
53
|
+
"signature": "$schema",
|
|
54
|
+
"description": "JSON Schema is a vocabulary for annotating and validating JSON documents. The $schema keyword declares which version of the JSON Schema spec the document uses.",
|
|
55
|
+
"type": "standard",
|
|
56
|
+
"module": "JSON Schema"
|
|
57
|
+
},
|
|
58
|
+
"json_pointer": {
|
|
59
|
+
"signature": "/path/to/value",
|
|
60
|
+
"description": "JSON Pointer (RFC 6901) is a syntax for identifying a specific value within a JSON document using a path of property names and array indices.",
|
|
61
|
+
"type": "standard",
|
|
62
|
+
"module": "RFC 6901"
|
|
63
|
+
},
|
|
64
|
+
"mime_type": {
|
|
65
|
+
"signature": "application/json",
|
|
66
|
+
"description": "The official MIME type for JSON is application/json. The file extension is .json.",
|
|
67
|
+
"type": "metadata",
|
|
68
|
+
"module": "RFC 8259"
|
|
69
|
+
},
|
|
70
|
+
"trailing_comma": {
|
|
71
|
+
"signature": "{ \"a\": 1, } // INVALID",
|
|
72
|
+
"description": "Trailing commas are NOT allowed in standard JSON. This is a common error when editing JSON files.",
|
|
73
|
+
"type": "syntax",
|
|
74
|
+
"module": "JSON RFC 8259"
|
|
75
|
+
},
|
|
76
|
+
"comments": {
|
|
77
|
+
"signature": "// or /* */ - NOT SUPPORTED",
|
|
78
|
+
"description": "Standard JSON does not support comments. Some tools (JSONC, JSON5) extend JSON to allow them. Use _comment keys as a workaround.",
|
|
79
|
+
"type": "syntax",
|
|
80
|
+
"module": "JSON RFC 8259"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|