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

Provide navigation for nested symbols (blocks/attributes) #290

Closed
radeksimko opened this issue Nov 11, 2020 · 1 comment · Fixed by #420
Closed

Provide navigation for nested symbols (blocks/attributes) #290

radeksimko opened this issue Nov 11, 2020 · 1 comment · Fixed by #420
Assignees
Labels

Comments

@radeksimko
Copy link
Member

Current Version

0.9.0

Use-cases

Navigation could be easier through more complex and nested configs if the user could also see and navigate through all the nested structures - blocks and attributes.

Proposal

Leverage NestedSymbols() of the existing struct as implemented in hcl-lang:
https://pkg.go.dev/github.com/hashicorp/hcl-lang@v0.0.0-20201110071249-4e412924f52b/decoder#Symbol

Related LSP methods

https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentSymbol

@ghost
Copy link

ghost commented Mar 27, 2021

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 context necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Mar 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant