-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsublime-package.json
161 lines (161 loc) · 10.3 KB
/
sublime-package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"contributions": {
"settings": [
{
"file_patterns": [
"/LSP-terraform.sublime-settings"
],
"schema": {
"$id": "sublime://settings/LSP-terraform",
"definitions": {
"PluginConfig": {
"properties": {
"initializationOptions": {
"additionalProperties": false,
"type": "object",
"properties": {
"terraformLogFilePath": {
"deprecationMessage": "Deprecated in favour of `terraform.logFilePath` and is now ignored.",
"default": "",
"type": "string"
},
"terraform.logFilePath": {
"markdownDescription": "Path to a file for Terraform executions to be logged into (`TF_LOG_PATH`) with support for variables (e.g. Timestamp, Pid, Ppid) via Go template syntax `{{.VarName}}`.",
"default": "",
"type": "string"
},
"terraformExecTimeout": {
"deprecationMessage": "Deprecated in favour of `terraform.timeout` and is now ignored.",
"default": "",
"type": "string"
},
"terraform.timeout": {
"markdownDescription": "Overrides Terraform execution timeout in [`time.ParseDuration`](https://pkg.go.dev/time#ParseDuration) compatible format (e.g. `30s`)",
"default": "",
"type": "string"
},
"terraformExecPath": {
"deprecationMessage": "Deprecated in favour of `terraform.path` and is now ignored.",
"default": "",
"type": "string"
},
"terraform.path": {
"markdownDescription": "Path to the Terraform binary.\n\nThis is usually looked up automatically from `$PATH` and should not need to be specified in majority of cases. Use this to override the automatic lookup.",
"default": "",
"type": "string"
},
"rootModulePaths": {
"deprecationMessage": "Deprecated and is ignored. Users should instead leverage the workspace LSP API and add the folder to a workspace, if they wish it to be indexed.",
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"ignoreDirectoryNames": {
"deprecationMessage": "Deprecated in favour of `indexing.ignoreDirectoryNames` - https://github.com/hashicorp/terraform-ls/blob/v0.29.0/docs/SETTINGS.md#ignoredirectorynames-string.",
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"excludeModulePaths": {
"deprecationMessage": "Deprecated in favour of `indexing.ignorePaths` and is now ignored.",
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"ignoreSingleFileWarning": {
"default": false,
"markdownDescription": "Controls whether a warning is raised about opening a single Terraform file instead of a Terraform folder.",
"type": "boolean"
},
"indexing.ignoreDirectoryNames": {
"markdownDescription": "Allows excluding directories from being indexed upon initialization by passing a list of directory names. [documentation](https://github.com/hashicorp/terraform-ls/blob/main/docs/SETTINGS.md#ignoredirectorynames-string)",
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"indexing.ignorePaths": {
"markdownDescription": "Paths to ignore when indexing the workspace on initialization. [documentation](https://github.com/hashicorp/terraform-ls/blob/main/docs/SETTINGS.md#ignorepaths-string)",
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"experimentalFeatures.validateOnSave": {
"markdownDescription": "Enabling this feature will run terraform validate within the folder of the file saved. This comes with some user experience caveats.\n\n- Validation is not run on file open, only once it's saved.\n\n- When editing a module file, validation is not run due to not knowing which \"rootmodule\" to run validation from (there could be multiple). This creates an awkward workflow where when saving a file in a rootmodule, a diagnostic is raised in a module file. Editing the module file will not clear the diagnostic for the reason mentioned above, it will only clear once a file is saved back in the original \"rootmodule\". We will continue to attempt improve this user experience.",
"default": false,
"type": "boolean"
},
"experimentalFeatures.prefillRequiredFields": {
"markdownDescription": "Enables advanced completion for `provider`, `resource`, and `data` blocks where any required fields for that block are pre-filled. All such attributes and blocks are sorted alphabetically to ensure consistent ordering.\n\nWhen disabled (unset or set to `false`), completion only provides the label name.\n\nFor example, when completing the `aws_appmesh_route` resource the `mesh_name`, `name`, `virtual_router_name` attributes and the `spec` block will fill and prompt you for appropriate values.",
"default": false,
"type": "boolean"
},
"validation.enableEnhancedValidation": {
"markdownDescription": "Controls whether enhanced validation of Terraform files is enabled",
"default": true,
"type": "boolean"
},
}
},
"additionalProperties": false
}
}
},
"allOf": [
{
"$ref": "sublime://settings/LSP-plugin-base"
},
{
"$ref": "sublime://settings/LSP-terraform#/definitions/PluginConfig"
}
]
}
},
{
"file_patterns": [
"/*.sublime-project"
],
"schema": {
"properties": {
"settings": {
"properties": {
"LSP": {
"properties": {
"terraform": {
"$ref": "sublime://settings/LSP-terraform#/definitions/PluginConfig"
}
}
}
}
}
}
}
},
{
"file_patterns": [
"LSP.sublime-settings"
],
"schema": {
"properties": {
"lsp_code_actions_on_save": {
"properties": {
"source.formatAll.terraform": {
"type": "boolean"
},
}
}
}
}
}
]
}
}