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

[Feature request] External file modification monitor enhancement #237

Open
WilliamStone opened this issue Jun 8, 2021 · 0 comments
Open

Comments

@WilliamStone
Copy link

WilliamStone commented Jun 8, 2021

Hello,

AHK Studio is convenient and powerful, yet I use it in combine with AutoGUI, Because AutoGUI has convenient debug capability. Now I face a problem: when I open one source file in both AHK Studio and AutoGUI, and I modify code in AHK Studio and switch to AutoGUI, AutoGUI will automatically prompt me to refresh modified file content. However, if I modify code in AutoGUI and switch back to AHK Studio, AHK Studio will not prompt me that file changed and needs refresh. Furthermore, there is no way to reload file content manually, I have to close the file and reopen it in AHK Studio to get modified file loaded.
Thus, I wish there be external file modification monitor function in AHK Studio, which can enable AHK Studio to work with other editors well.
After research, I found an option "Check for edited file on focus" which meets my wish, but after I tried it, I still found it not suitable.

  1. There is a delay up to a few seconds between AHK Studio window is activated and file content refreshed;
  2. AHK Studio always reloads file content without prompt, regardless of user intention;
  3. 1 & 2 conbined, there is no hint whether AHK Studio does reload file or not; I have to manually check file content to be sure;
  4. Most severely, AHK Studio reloads file without prompt even if file in AHK Studio is dirty (edited and not saved yet). This may cause user modified content lost.

Please enhance external file modification to fix above problems. Thank you very much!

@WilliamStone WilliamStone changed the title [Feature request] External file modification monitor [Feature request] External file modification monitor enhancement Jun 8, 2021
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