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

"Save all" opens superfluous "Reload Tab" windows #84

Open
dragokas opened this issue Dec 20, 2020 · 2 comments
Open

"Save all" opens superfluous "Reload Tab" windows #84

dragokas opened this issue Dec 20, 2020 · 2 comments

Comments

@dragokas
Copy link
Contributor

dragokas commented Dec 20, 2020

save

Reproducing:

I have main sp file with:

#include <left4dragokas>
#include <sr/vector.sp>
#include <sr/debug.sp>
#include <sr/stock.sp>
#include <sr/config.sp>
#include <sr/weapon.sp>
#include <sr/convar.sp>
#include <sr/effects.sp>
#include <sr/core.sp>

I asked BasicPawn to open all dependencies => RMB => "Open source files"
I pressed Ctrl + Shift + S.
BasicPawn asked me whether I want to reload tab "stock.sp", however, nothing is changed.

Next time when I press Ctrl + Shift + S, he is asking me again.

@Timocop
Copy link
Owner

Timocop commented Dec 20, 2020

Thats because stock.sp is opened twice. BasicPawn uses time stamps on files to check whenever a file has changed. It saves tabs from right to left. Because the left stock.sp is saved last, the right sock.sp becomes "outdated" and asks you to reload. Probably going to add a "Always reload tab" option to it.

@dragokas
Copy link
Contributor Author

Ahh, thanks. Got it. That was a tab I accidentally opened with "Peek definition" option.

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

No branches or pull requests

2 participants