-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Code cleanups for Find/Replace in Files #8138
Comments
That one could also be folded into any work we do to make the search APIs headless (I believe someone was working on a PR for that). There are a couple places, including |
|
Alternative suggestion: leave it in FindUtils and eliminate the wrapper FindInFiles.doReplace() -- just call it directly. If we moved performReplacements() into FindInFiles, it brings basically all of FindUtils with it... and it's sort of nice having that code separated out as it is currently. |
@peterflynn Regarding making search headless, the existing PR from @zaggino is obsolete - for what he wants, using |
See #7705, #7809 and #8137.
showError()
/showNoResults()
(combine them and/or make showNoResults() less confusing)FindReplace.parseQuery()
replaceText
todoSearchInScope()
- have caller store it separatelySearchResultsView.addPanelListeners()
(see Tom's comment in [replace-across-files] Replace in Files #7809)FindUtils.performReplacements()
back intoFindInFiles.doReplace()
The text was updated successfully, but these errors were encountered: