Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

excluding a path or file from directory search does not exclude unsaved files #647

Open

Description

@clayzermk1

Steps to reproduce:

  1. Create a new file in a directory (right click directory, new file, name file).
  2. Put some text to search/replace in the file. Do not save the file!
  3. Open directory search at the project root directory.
  4. Enter your search/replace parameters.
  5. Excluding either the directory of the file or the file itself will have no effect. If the file's directory is excluded it will not find any other files in that directory but it will still show the unsaved file.
  6. Click find.
  7. Observe that the unsaved file shows in the results.

screen shot 2016-01-20 at 10 06 21 am

OS X 10.9.5 (13F1507)
Atom 1.4.0
find-and-replace 0.194.0

Activity

  1. acontreras89 commented on Jul 31, 2016

    @acontreras89

    Actually, using Ctrl+S in any file may cause new results to be added to the list, even if the file is outside the paths for which the search was run.

  2. jrial commented on Jul 13, 2018

    @jrial

    Confirmed:

    image

    Saving the file and performing the search again clears things up:

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions