Skip to content

Select file uniquely based on contents #3898

Answered by LangLangBart
shivangp76 asked this question in Q&A
Discussion options

You must be logged in to vote

For example, suppose I search query A and then select a file from the results. Then, I search query B which matches the same file at a different line number. This file should already be selected at this point since I selected it with query A.

An action as you described, to select all entries in the list where the first field is the same as in the currently selected line, is not an action currently present.

Alternatively, you could try to modify your function, and on every ⇥ Tab press, the preview is altered to show your current selection. Upon triggering the focus event (a vertical cursor movement or a search result update), the preview switches back. When you hit ⏎ Enter, a unique list…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shivangp76
Comment options

Answer selected by shivangp76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants