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

Enable CodeLens for type declarations #169

Closed
ricohomewood opened this issue Jun 18, 2020 · 5 comments
Closed

Enable CodeLens for type declarations #169

ricohomewood opened this issue Jun 18, 2020 · 5 comments
Labels

Comments

@ricohomewood
Copy link

The previous versions of the extension had the ability to use CodeLens which showed where adn how many your declarations for Variables / Locals / Data etc where being consumed in you .tf files.

This gave you the insight where you have a decalred variable for example but is not being used, useful for large TF projects.

Please can we look to re-enable / integrate this very useful feature into the new extension?

@paultyng
Copy link
Contributor

Code Lens implementations live in the Language Server, going to transfer this issue there for implementation.

@paultyng paultyng transferred this issue from hashicorp/vscode-terraform Jun 18, 2020
@radeksimko radeksimko added the lsp label Jul 29, 2020
@ricohomewood

This comment has been minimized.

@olegTarassov
Copy link

I believe this should be a must have vs enhancement. Coding in VSCode with hashicorp.terraform is brutal comparing to mauve.terraform. Most IDEs have referencing of resources, so not sure why this is not addressed given this was created last year 2020.

otherwise, thanks

@radeksimko radeksimko removed the lsp label Apr 19, 2021
@radeksimko
Copy link
Member

This was implemented in #584 which was shipped as part of 0.20.0. Extension-side support was implemented in hashicorp/vscode-terraform#686 which was also shipped as part of 2.14.0.

Feel free to raise a new issue if you have any suggestions related to that feature (or any other feature) or if it doesn't work as you expect.

Thanks!

@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 Sep 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants