aquasecurity / vscode-tfsec

vscode extension for tfsec
https://tfsec.dev
MIT License
30 stars 7 forks source link

TFSEC extension seems to fight hashicorp official for comment toggle #24

Open drewmullen opened 2 years ago

drewmullen commented 2 years ago

Describe the bug

Upon VSCode restart I cannot toggle comments (cmd + /) unless i disable tfsec then reenable it.

Desktop (please complete the following information):

Additional context

https://github.com/hashicorp/vscode-terraform/issues/692 https://github.com/hashicorp/vscode-terraform/issues/635

owenrumney commented 2 years ago

I understand what you're saying, but I can replicate and I use the official Terraform plugin

any chance you could do a gif showing the issue and post here?

drewmullen commented 2 years ago

Trying to find a way to replicate consistently. One clarification, the comment toggle seems to be specifically terraform.tfvars files. which uses this language mode: image

owenrumney commented 2 years ago

that's weird because the tfsec extension should only interact with the .tf files. I'll have a fiddle too