You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/SETTINGS.md
+26-18
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Settings
2
2
3
+
## Data Structures
4
+
5
+
We use (JSON) objects to group some config options. Where applicable and necessary, we refer to nested fields using the `.` as a separator. i.e. A hypothetical `bar` option under `{"foo": { "bar": "..." } }` would be referred to as `foo.bar`.
6
+
7
+
Clients which expose these config options to the end-user are advised to match the option names and, if possible data structures. Some clients (VS Code extension) may however use flat structure, such as `{"foo.bar": "..."}` if using objects is not possible or practical.
8
+
3
9
## Supported Options
4
10
5
11
The language server supports the following configuration options:
@@ -35,9 +41,11 @@ you can just add that folder to the workspace and it will be indexed as usual.
Deprecated in favour of `indexing.ignoreDirectoryNames`
78
-
79
-
## `indexing.ignoreDirectoryNames` (`[]string`)
80
-
81
-
This allows excluding directories from being indexed upon initialization by passing a list of directory names.
82
-
83
-
The following list of directories will always be ignored:
84
-
85
-
-`.git`
86
-
-`.idea`
87
-
-`.vscode`
88
-
-`terraform.tfstate.d`
89
-
-`.terragrunt-cache`
90
-
91
99
## `ignoreSingleFileWarning` (`bool`)
92
100
93
101
This setting controls whether terraform-ls sends a warning about opening up a single Terraform file instead of a Terraform folder. Setting this to `true` will prevent the message being sent. The default value is `false`.
0 commit comments