Fabian =?utf-8?q?Keßler?= <[email protected]>,
Fabian =?utf-8?q?Keßler?= <[email protected]>,
Fabian =?utf-8?q?Keßler?= <[email protected]>,
Fabian =?utf-8?q?Keßler?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>


torshepherd wrote:

Because this first version is ast search *within a document*, in an _ideal_ 
world, vscode would expose a contribution point for floating search bars in the 
same style and feel as ctrl-f.

- tied to a tab, not a sidebar or new ui element
- update search on type
- press a hotkey to make it appear, and then enter cycles between matches

Unfortunately there is no exact matching contribution point. So our two options 
are

1. sidebar with a text entering box, and then show found results as a treeview 
with one level (being the matched textrange)
2. persistent quick pick that does nothing on enter, but while typing moves 
your cursor to the first found result

I think we basically have to go with 1. 2 would feel too hacky. But yeah 
essentially we'd just have it be a text range, and clicking on that would 
highlight/select the text

https://github.com/llvm/llvm-project/pull/156090
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to