Skip to content

Visualization for scope types #259

@pokey

Description

@pokey
  • 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?

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions