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

Feature Request: Universal Repl #68

Open
VisenDev opened this issue Nov 19, 2024 · 4 comments
Open

Feature Request: Universal Repl #68

VisenDev opened this issue Nov 19, 2024 · 4 comments
Labels
plugin New feature that should be a plugin
Milestone

Comments

@VisenDev
Copy link
Contributor

Extracted from #62

First steps

This would allow users to start a repl inside of flow, then send highlighted text to the repl for evaluation.

@neurocyte
Copy link
Owner

shell-command-on-region is called filter in flow. But you mean the process should be long running right?

@neurocyte neurocyte added the enhancement New feature or request label Nov 19, 2024
@VisenDev
Copy link
Contributor Author

shell-command-on-region is called filter in flow. But you mean the process should be long running right?

Yes, it would have to be persistent

@neurocyte
Copy link
Owner

I'm gonna say this is out of scope for flow at the moment then. Managing a long running background task is not something I really want to build directly into flow's core. It's a perfect task for a plugin though.

Actually, flow already has really good support for long running child processes (used for example to drive LSPs and ripgrep), but I'm not sure what generic interface you would like to see.

@VisenDev
Copy link
Contributor Author

I'm gonna say this is out of scope for flow at the moment then.

Thats fine, I just wanted to create a proposal for it since I've been really enjoying the repl integration emacs has. (ie, Slime)

Actually, flow already has really good support for long running child processes (used for example to drive LSPs and ripgrep), but I'm not sure what generic interface you would like to see.

I wonder if there is a way to "jack in" to a process running in a different terminal pane and send it input thru stdio. I think kakoune has a plugin that does something like that
https://asciinema.org/a/379916

@neurocyte neurocyte added plugin New feature that should be a plugin and removed enhancement New feature or request labels Dec 21, 2024
@neurocyte neurocyte added this to the v1.0.0 milestone Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin New feature that should be a plugin
Projects
None yet
Development

No branches or pull requests

2 participants