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

Interactive Codeblock: Show inspect information when variable got hovered #107

Open
CNSeniorious000 opened this issue Oct 25, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@CNSeniorious000
Copy link
Member

Way 1

  • Take a snapshot of globals() after every execution
  • Inspect a value on hover

Warning

This may lead to memory leaking

Way 2

  • Take a snapshot of inspections for interesting values after every execution
  • Show one on hover

Caution

It is hard to link a shiki token to an AST node

@CNSeniorious000 CNSeniorious000 added the enhancement New feature or request label Oct 25, 2024
@CNSeniorious000 CNSeniorious000 self-assigned this Oct 25, 2024
Copy link

linear bot commented Oct 25, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant