posit-dev / positron

Positron, a next-generation data science IDE
Other
2.31k stars 68 forks source link

Console: Support `CMD + F` while in the Console to search the Console output #2136

Open DavisVaughan opened 7 months ago

DavisVaughan commented 7 months ago

I'd really love to be able to hit CMD + F while in the Console to pull up a search bar that I can type text in. I'd expect that that text will search the entire Console output history and navigate the Console pane to those search hits. Basically like we can in the Output pane

https://github.com/posit-dev/positron/assets/19150088/0bbf4528-da0f-4fa7-8e4d-0e6abe03709a

jmcphers commented 7 months ago

This came up during the Positron Alpha feedback session, too.

jmcphers commented 5 months ago

Also came up in beta feedback: https://github.com/posit-dev/positron-beta/discussions/77

JosiahParry commented 1 month ago

Bring this back up as it would be so helpful.

Is there a way to send code to a terminal instead of the console? The terminal search behavior is great. That would at least give me a work around.

image
juliasilge commented 1 month ago

Unfortunately, we don't currently have a user-facing way to send R code to the terminal other than generic VS Code tasks. We do have these extension tasks which you could use as an example or in theory could be extended to be more flexible. However, I think we are likely to prioritize console history search sooner than a user-facing task for arbitrary R code.