Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use find and replace after switching project #105

Open
jpmvferreira opened this issue Sep 10, 2019 · 1 comment
Open

Unable to use find and replace after switching project #105

jpmvferreira opened this issue Sep 10, 2019 · 1 comment

Comments

@jpmvferreira
Copy link

This is going to be quite a weak issue, as this doesn't happen all the time and i am not able to find out why this happens, but sometimes after switching projects i am not able to use find and replace and i have to open another tab, only then will it be possible to do so.

If i find out anything else ill post it here.

@turigeza
Copy link

turigeza commented Oct 30, 2019

I have the same issue. I have to switch to a new tab after switching project then everything goes back to normal until you switch project again.

I have a plugin which also suffers from this issue because it uses observeActivePaneItem to detect the tab change. I guess observeActivePaneItem does not get called when the project changes.

IMO observeActivePaneItem should get called when a project changes.
Note: This is just a vague theory and have not been tested.
https://flight-manual.atom.io/api/v1.0.7/Workspace/#instance-observeActivePaneItem

Or one could argue that I should also observe onDidChangePaths ?
https://flight-manual.atom.io/api/v1.0.7/Project/#instance-onDidChangePaths

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

No branches or pull requests

2 participants