BasicPawn
BasicPawn copied to clipboard
"Save all" opens superfluous "Reload Tab" windows
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.
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.
Ahh, thanks. Got it. That was a tab I accidentally opened with "Peek definition" option.