Skip to content

Instantly share code, notes, and snippets.

@TerminalFi
Last active June 16, 2021 17:55
Show Gist options
  • Save TerminalFi/e195d44064017c985bc4bdd8bb8b255b to your computer and use it in GitHub Desktop.
Save TerminalFi/e195d44064017c985bc4bdd8bb8b255b to your computer and use it in GitHub Desktop.
{
"contributes":{
"configuration":{
"type":"object",
"title":"Terraform",
"properties":{
"terraform.languageServer":{
"type":"object",
"description":"Language Server settings",
"properties":{
"external":{
"type":"boolean",
"default":true,
"description":"Whether an external language server binary should be launched."
},
"pathToBinary":{
"scope":"resource",
"type":"string",
"default":"",
"description":"Path to language server binary (optional)"
},
"args":{
"scope":"resource",
"type":"array",
"default":[
"serve"
],
"description":"Arguments to pass to language server binary"
},
"maxNumberOfProblems":{
"scope":"resource",
"type":"number",
"default":100,
"description":"Controls the maximum number of problems produced by the server."
},
"trace.server":{
"scope":"window",
"type":"string",
"enum":[
"off",
"messages",
"verbose"
],
"default":"off",
"description":"Traces the communication between VS Code and the language server."
}
},
"default":{
"external":true,
"pathToBinary":"",
"args":[
"serve"
],
"maxNumberOfProblems":100,
"trace.server":"off"
}
},
"terraform-ls.rootModules":{
"scope":"resource",
"type":"array",
"items":{
"type":"string"
},
"default":[
],
"description":"Per-workspace list of module directories for the language server to read"
},
"terraform-ls.excludeRootModules":{
"scope":"resource",
"type":"array",
"items":{
"type":"string"
},
"default":[
],
"description":"Per-workspace list of module directories for the language server to exclude"
},
"terraform-ls.experimentalFeatures":{
"scope":"resource",
"type":"object",
"description":"Experimental (opt-in) terraform-ls features",
"properties":{
"validateOnSave":{
"scope":"resource",
"type":"boolean",
"default":false
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment