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

Support folding #4

Open
AlecGhost opened this issue Jul 21, 2024 · 0 comments
Open

Support folding #4

AlecGhost opened this issue Jul 21, 2024 · 0 comments
Labels
feature A new feature should be added

Comments

@AlecGhost
Copy link
Owner

Current behavior

Currently the Tree-sitter grammars are only used to provide syntax highlighting. But more use cases are possible.

Desired behavior

This extension should support folding. See the spec.

Multiple approaches are conceivable:

  • dedicated range queries
  • reuse queries with capture names that are reasonable to fold (e.g. @function)
@AlecGhost AlecGhost added the feature A new feature should be added label Jul 21, 2024
@AlecGhost AlecGhost mentioned this issue Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature should be added
Projects
None yet
Development

No branches or pull requests

1 participant