You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When navigating through the whole module (represented as "workspace" in LSP) we currently provide navigation through any symbols representing blocks and/or attributes in *.tf files - such as providers, resources and data sources.
Users would benefit from being able to quickly navigate to variables defined in *.tfvars and *.tfvars.json (see also #519)
Proposal
The WorkspaceSymbol (representing workspace/symbol RPC method) will need to be updated, specifically this part
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.
Use-cases
When navigating through the whole module (represented as "workspace" in LSP) we currently provide navigation through any symbols representing blocks and/or attributes in
*.tf
files - such as providers, resources and data sources.Users would benefit from being able to quickly navigate to variables defined in
*.tfvars
and*.tfvars.json
(see also #519)Proposal
The
WorkspaceSymbol
(representingworkspace/symbol
RPC method) will need to be updated, specifically this partterraform-ls/internal/langserver/handlers/workspace_symbol.go
Lines 31 to 42 in 8840e7b
We can reuse this function
terraform-ls/internal/decoder/decoder.go
Lines 43 to 55 in 8840e7b
Symbols
method on the decoder and append found symbols to the slice.The text was updated successfully, but these errors were encountered: