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

Conflict with search panel and save_on_focus_lost #15

Open
GreenLightning opened this issue Jan 5, 2020 · 0 comments
Open

Conflict with search panel and save_on_focus_lost #15

GreenLightning opened this issue Jan 5, 2020 · 0 comments

Comments

@GreenLightning
Copy link

There is a conflict with the search panel if the setting save_on_focus_lost is enabled, where the search panel will not show up the first time CTRL+F is pressed.

Steps to reproduce:

  1. Set "save_on_focus_lost": true, in Sublime preferences.
  2. Open a go file and make some unsaved changes.
  3. Press CTRL+F.

I think Sublime Text opens the search panel, which means the editor loses focus, which triggers a save, which triggers the gofmt plugin, which closes the search panel somehow.

Pressing CTRL+F a second time will then work, because there are no unsaved changes.

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

1 participant