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

Code folding in the output window for each selection submitted to an interpreter and its output. #13

Open
arizvisa opened this issue Oct 2, 2024 · 1 comment

Comments

@arizvisa
Copy link
Owner

arizvisa commented Oct 2, 2024

It'd be pretty neat if we could create a fold for the previous output when a selection gets submitted to the interpreter. This would simplify hiding results that aren't relevant anymore. We could probably use nested folds..one for the input/output pair, with nested folders for the individual input/output components. This'd make it pretty similar to Mathematica's "cells" as per the notebook interface.

I'm not sure if this'd actually be possible for external interpreters, though, since we don't really have a signal that we can monitor for when the interpreter has done its thing with our input.

@arizvisa
Copy link
Owner Author

This can't be done against buffers that have their "buftype" set to "terminal". This means that this will only be possible when using the internal or external interpreters

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