Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose settings in code settings #425

Closed
FernandoMiguel opened this issue Jun 27, 2020 · 5 comments
Closed

expose settings in code settings #425

FernandoMiguel opened this issue Jun 27, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@FernandoMiguel
Copy link

can you expose the settings in vscode settings, instead of having to do it all in the json?

also, what are the default and available options?

"files.associations": {
	"terragrunt.hcl": "terraform",
	"*.tfvars": "terraform",
	"*.tf": "terraform",
	"*.tf.override": "terraform",
},
"files.watcherExclude": {
	"**/.terraform/**": true,
	"**/.terragrunt-cache/**": true
},
"[terraform]": {
	"editor.formatOnSave": true
},
"terraform.languageServer": {
	"enabled": true,
	// "external": true,
	// "args": [
	//     "serve"
	// ]
},
@FernandoMiguel
Copy link
Author

bump ?

@paultyng
Copy link
Contributor

paultyng commented Jul 7, 2020

We are reworking some of this now (see #423 for one).

Unfortunately VS Code requires these exposed in a certain way to be UI visible, so the names and things need to change to expose it in the UI (it can't be nested) which would be a breaking config change. Not that I don't think we should expose things where possible in the UI, but its not just a simple (ie. editInUI: bool) type change to expose it.

@paultyng paultyng added the enhancement New feature or request label Jul 7, 2020
@FernandoMiguel
Copy link
Author

breaking change, so v3.0?

@radeksimko
Copy link
Member

We plan to do a small overhaul of the extension settings as part of #791 - one of the main motivations is exactly to make all settings easily available through the UI as you mentioned - with that in mind I'm going to close this issue in favour of #791

Existing settings are currently documented under the Readme: https://github.com/hashicorp/vscode-terraform#configuration

@radeksimko radeksimko closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2022
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants