Skip to content

Visualization for scope types #259

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

Open
6 of 10 tasks
pokey opened this issue Sep 5, 2021 · 0 comments
Open
6 of 10 tasks

Visualization for scope types #259

pokey opened this issue Sep 5, 2021 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@pokey
Copy link
Member

pokey commented Sep 5, 2021

  • add a command "show scopes " eg "show scopes funk"
  • will highlight all scopes on screen using semi-transparent background to make nesting visible
  • could also do "show scope hierarchy" which would show hierarchy of all scope types containing given scope
  • note these are cursorless scope types, not raw tree-sitter scope types
  • could use this one for keyboard version and do it as the user types
  • need to think of good api for scope types so that we can get this information easily
  • could have "hint scopes " to make it disappear after a couple seconds, or after next command
  • might be useful to map to a noise? not by default
  • think about making it nonintrusive enough to leave on for a while
  • update as you scroll?
@pokey pokey added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 5, 2021
@pokey pokey added the help wanted Extra attention is needed label Dec 12, 2021
@AndreasArvidsson AndreasArvidsson mentioned this issue Jul 3, 2023
30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant