Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Code cleanups for Find/Replace in Files #8138

@njx

Description

@njx

See #7705, #7809 and #8137.

  • Clean up showError()/showNoResults() (combine them and/or make showNoResults() less confusing)
  • Remove error-showing functionality from FindReplace.parseQuery()
  • Don't pass replaceText to doSearchInScope() - have caller store it separately
  • Move Replace tests to separate file
  • Break out event handlers in SearchResultsView.addPanelListeners() (see Tom's comment in [replace-across-files] Replace in Files #7809)
  • Move FindUtils.performReplacements() back into FindInFiles.doReplace()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions