atom / fuzzy-finder

Find and open files quickly
MIT License
275 stars 138 forks source link

No index of symlinked folder with parts of same name #254

Open leny opened 8 years ago

leny commented 8 years ago

Hi, (sorry for my english, not my first language)

We (my brother @tibus and myself) ran into a strange bug with symlink indexing in atom's fuzzy finder.

When we have the following project structure :

- api
- core
- static
- runner
    - (symlink) api -> ../api
    - (symlink) core -> ../core
    - (symlink) static -> ../static

With this configuration, and atom launched inside runner, we can fuzzy-find any file, anywhere in api, core, static.

This is a good, well-working behavior.


My brother came to me with a project with this structure :

- server_api
- server_core
- server_http
- server
    - (symlink) api -> ../server_api
    - (symlink) core -> ../server_core
    - (symlink) http -> ../server_http

With this configuration, and atom launched inside server, we can't fuzzy-find any file in api, core, http.


After some tests, we figure out that if the symlinked original path begin with the same name than the project from where atom is launched, the fuzzy-finder didn't work.

We know it's a very contextual bug, and we fixed it by renaming the structure of my brother's project, but we feel that this behavior must be reported.

Have a nice day,

Tibus commented 8 years ago

+1 ;D

leny commented 8 years ago

Note: we forgot to put some details about env. We have encountered this bug on the last version of Atom (1.9.9) and fuzzy-finder 1.3.0.

We have tested and reproduced the bug with and without the atom's --safe mode.

The fact that the current or the symlinked folder are or not git repos doesn't matter in the reproduction of the bug.

askuratovsky commented 7 years ago

I have the same problem. Any news since 26 Aug ? Will it be fixed?

rixo commented 6 years ago

Looks very much like #96.

50Wliu commented 6 years ago

I can't reproduce this on Windows.