atom-project-plus icon indicating copy to clipboard operation
atom-project-plus copied to clipboard

Switching projects breaks find-and-replace:select-next

Open fredrikekelund opened this issue 8 years ago • 10 comments

I've seen #95 and I've given project-manager a spin, but what I want is just a quick way of switching workspace, and manually handling projects in project-manager is tedious, so I came back to project-plus. I hope you haven't deprecated it completely just yet.

The issue at hand is the fact that every time I switch projects, the find-and-replace:select-next command increases the number of occurences it selects by 1. Example: if I have highlighted the word Section and click Cmd-d, then I expect only the next occurence of Section to be highlighted as well. But after having switched projects once, the next two occurences of Section are highlighted. After having switched projects twice, the next three occurences are highlighted. And so on...

fredrikekelund avatar Jul 04 '17 09:07 fredrikekelund

The same for me. And the same reasons why I cannot switch.

btw: project-manager does have the same issue: https://github.com/danielbrodin/atom-project-manager/issues/339

McSodbrenner avatar Jul 04 '17 12:07 McSodbrenner

Could these lines in atom-project-util be the culprit?

fredrikekelund avatar Jul 05 '17 12:07 fredrikekelund

I've seen #95 and I've given project-manager a spin, but what I want is just a quick way of switching workspace, and manually handling projects in project-manager is tedious, so I came back to project-plus. I hope you haven't deprecated it completely just yet.

Project Manager does support Git project detection though it's not implemented correctly (it detects at start of the editor and not when you open the project finder so it causes slowdowns in atom).

See https://github.com/danielbrodin/atom-project-manager/issues/345


@fredrikekelund Those lines could be it. I don't remember why they needed to be hacked before. Probably should have added that to the comment.

mehcode avatar Jul 05 '17 17:07 mehcode

I'm not encountering this issues in Atom 1.19.0 anymore. Does it work for you as well, @McSodbrenner?

fredrikekelund avatar Aug 14 '17 12:08 fredrikekelund

Scratch my last comment, it looks like the bug is still present 😞

fredrikekelund avatar Aug 14 '17 14:08 fredrikekelund

fixed by reload find-and-replace https://atom.io/packages/project-neue

xream avatar Oct 26 '17 03:10 xream

I have started to encounter this problem. I am using Atom 1.24.0 and project-plus 1.0.0.

aamederen avatar Mar 01 '18 13:03 aamederen

I'm also experiencing this issue with Atom 1.26.0 and macOS 10.13.4

Find and Replace work on new windows, but as soon as I change projects, the dialog stops showing up. Reloading the window fixes it.

jminuscula avatar Apr 26 '18 16:04 jminuscula

I'm experiencing the same issue as you @jminuscula. I've reported it in my previous issur https://github.com/atom/find-and-replace/issues/950. We'll see if someone picks it up, otherwise I'll open a new issue

fredrikekelund avatar Apr 27 '18 05:04 fredrikekelund

@fredrikekelund looks like this project is abandoned in favor ofatom-project-manager. I've been using it for a few days without issues.

jminuscula avatar May 02 '18 11:05 jminuscula