Vscode-terraform: Disable References

Created on 8 Sep 2018  Â·  5Comments  Â·  Source: hashicorp/vscode-terraform

Hi there,
Is it possible to disable displaying References in editor?
Sometimes it's handy, but sometimes not.
Thanks in advance!

Most helpful comment

Just in case is not working for others, you need to restart vscode in order for this change to work

All 5 comments

I think the setting is called terraform.codelense something.

Sent from my iPhone

On 8. Sep 2018, at 11:39, Dmitriy Kagarlickij notifications@github.com wrote:

Hi there,
Is it possible to disable displaying References in editor?
Sometimes it's handy, but sometimes not.
Thanks in advance!

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@mauve thanks, it did worked!

Just in case is not working for others, you need to restart vscode in order for this change to work

For anyone else looking for the exact setting:
"terraform.codelens.enabled": false

Found it here https://github.com/mauve/vscode-terraform/commit/f8566c0ec070c53a76bfe270c98149adb930da1d#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R156

I want to say first that I love vscode-terraform, but the references feature is extremely annoying. The references cause your code to bounce up and down repeatedly while typing. I'd suggest having it disabled by default or changing it to trigger based on a key combo.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sugarraysam picture sugarraysam  Â·  4Comments

chrisgallivan picture chrisgallivan  Â·  4Comments

fcatacut picture fcatacut  Â·  5Comments

bnm22 picture bnm22  Â·  6Comments

QuinnStevens picture QuinnStevens  Â·  6Comments