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

Find and replace does not work for whole directories #1149

Closed
1 task done
MeerKatDev opened this issue Mar 13, 2021 · 3 comments
Closed
1 task done

Find and replace does not work for whole directories #1149

MeerKatDev opened this issue Mar 13, 2021 · 3 comments

Comments

@MeerKatDev
Copy link

Prerequisites

Description

The find and replace doesn't work anymore

Steps to Reproduce

Open search tab, try to search something in a subdirectory

Expected behavior:

To find text

Finds nothing at all, and searches no path too

always

Versions

atom version 1.54.0
on macOS Big Sur v11.1

Additional Information

Not much, just that. No packages interacting with it. Does the same in safe mode

Screenshot 2021-03-13 at 11 14 54

@ThatXliner
Copy link

ThatXliner commented Mar 13, 2021

I'm pretty sure it asks for a directory, not a file glob

EDIT: there's a possibility that it juts didn't match anything. Or that your file glob isn't right. I'll try to reproduce later

@ThatXliner
Copy link

ThatXliner commented Mar 13, 2021

Yeah so I'm pretty sure Atom thinks you're searching for the directory named /some/random/thing/so/long/*.php instead of a glob... probably a bug.

You should probably report this in the atom/find-and-replace package

@darangi darangi transferred this issue from atom/atom Mar 23, 2021
@sadick254
Copy link
Contributor

@MeerKatDev Find and replace works as expected. The directory/subdirectory search works with paths relative to the project opened. A good subdirectory search in your case would be src/*.php which works as you would expect.

@ThatXliner this is definitely not a bug but expected behaviour for the find and replace package.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants