sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

Dedicated Search per View

Open ryuukk opened this issue 1 year ago • 1 comments

Problem description

I was comparing files, and wanted to check occurrence of specific keywords, since the search input is global, i had to constantly replace the keyword, wich is very painful to do, i had to use a different tool..

Preferred solution

I would like a new way to do search on the view, something that sticks per view

image

This could and perhaps should be done using a plugin, but for that to work, we need to be able to have sticky Phantoms

So this needs to be implemented: https://github.com/sublimehq/sublime_text/issues/6301

But will that be enough? perhaps also add a new way to render stuff before/after text view

Alternatives

I can't think of an alternative

Additional Information

No response

ryuukk avatar Jun 18 '24 16:06 ryuukk

Well, you're free to upvote #6301 as it is the best thing since ... 😏 but sticky phantoms are read only, and the graphical mockup looks like "search here" would be maybe just an input panel per view and at the top instead of the bottom; also full-width to that view.

Not sure if you need two input panels, e.g. want to search different terms per view, or if you want to search as-you-type on the two views shown side-by-side. I think both can be done in a performant way already. Probably good looking too.

kaste avatar Jun 21 '24 16:06 kaste