-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
Make search tree context menu multiselect-aware #47166
Comments
What would it take to get this out of the backlog and into a planned release? |
A PR would help |
Yeah, like issue #77749. In the search results, I want to be able to select multiple rows of search results and then copy them, this feature will be very useful. Because not all search results can be used, such as some specific logs can indicate whether an application function is working properly. So if we have this feature, we can just select these specific logs and copy and paste them to the target location. If you can release this feature, I am very grateful. |
* Make search tree context menu multiselect-aware Fixes #47166 * move domFocus call out of loop * PR feedback * resolve strange post-replace bug * cleaned up a bit but needs adjustment on post-replace focus * adjusting ordering * add replace action runner for all replace actions * pr feedback * fix list sorting and multiselect open replace preview * whitespace cleanup * tests and cleanup
I love this new addition 👏 |
Multiselect in Search works well! One feedback is that I cannot batch undo the replacement in different files. Imagine I replaced multiple files with wrong text, it's painful for me to undo the changes one by one. |
Made a new issue for this here #157533 🙂 |
We need the controller at https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/files/electron-browser/views/explorerViewer.ts#L369 to be not Explorer-specific so it can drive multiselect in other trees.
TreeResourceNavigator https://github.com/Microsoft/vscode/blob/master/src/vs/platform/list/browser/listService.ts#L456 kind of conflicts with it, need to figure out how that's supposed to work.
We will need a generic version of https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/files/browser/files.ts#L27 currently the keyboard shortcuts on some of the search context menu items don't work for the same reason
The text was updated successfully, but these errors were encountered: