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

Tracking blocks of code that have been previously loaded into the interpreter #21

Open
arizvisa opened this issue Oct 17, 2024 · 0 comments
Assignees

Comments

@arizvisa
Copy link
Owner

While reviewing editor plugins that are similar to this one, I noticed that a lot of them leverage Jupyter/IPython's concept of cells in order to mark code that has already been sent to their REPL. As much as I like the notebook interface (and would love to have something similar in this plugin), the addition of cells will unfortunately force us to track edits in the current buffer and would likely interfere with free-form editing of the input buffer.

However, one of the features which seemed useful and still within scope of the plugin is the ability to distinguish lines that haven't been submitted from those that have been. This can probably be done using the sign-support feature of the editor. Ideally, it'd be neat to sign a block that has just recently been submitted and sign previously submitted lines differently. Then, lines that haven't been submitted can just remain unsigned. This would end up making the present interpreter state a lot more apparent without having to review the output window.

@arizvisa arizvisa self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant