S sorex Expert Licensed User Longtime User Nov 27, 2014 #1 Hello, I noticed that B4A doesn't have a file change detection. Sometimes I make a small change in a file while the project was still open. In several editors when they get focus they check the current text with the actual file for differences and promt you with File has been changed. Reload? [YES] [NO] [YES TO ALL] [NO TO ALL] Would be great if this could be added, it's needless to say that my stuff gets lost on the next compile/save.
Hello, I noticed that B4A doesn't have a file change detection. Sometimes I make a small change in a file while the project was still open. In several editors when they get focus they check the current text with the actual file for differences and promt you with File has been changed. Reload? [YES] [NO] [YES TO ALL] [NO TO ALL] Would be great if this could be added, it's needless to say that my stuff gets lost on the next compile/save.
Erel B4X founder Staff member Licensed User Longtime User Nov 27, 2014 #2 When the project is saved it does check whether the modules were modified externally.
S sorex Expert Licensed User Longtime User Nov 27, 2014 #3 I open the project in B4A (only one activity file) I open the B4A file in notepad2 and add log('test') at the end of the last sub Do compile + click on the save icon when I check the B4A file the log('test') is gone.
I open the project in B4A (only one activity file) I open the B4A file in notepad2 and add log('test') at the end of the last sub Do compile + click on the save icon when I check the B4A file the log('test') is gone.
Erel B4X founder Staff member Licensed User Longtime User Nov 27, 2014 #4 It only detects changes in modules. The detection method was added together with the support for shared modules.
It only detects changes in modules. The detection method was added together with the support for shared modules.
S sorex Expert Licensed User Longtime User Jul 30, 2015 #6 Erel, I'm in the situation that I left my project open while making changes on another machine. (dropbox sync) When I press compile I get the "file has changed externally. Overwrite? [Yes] [No]" When I press No it compiles but it doesn't reload the modded file into the editor which would've made sense. So I need to close and reopen the project to get my active source?
Erel, I'm in the situation that I left my project open while making changes on another machine. (dropbox sync) When I press compile I get the "file has changed externally. Overwrite? [Yes] [No]" When I press No it compiles but it doesn't reload the modded file into the editor which would've made sense. So I need to close and reopen the project to get my active source?
Erel B4X founder Staff member Licensed User Longtime User Jul 30, 2015 #7 Yes, reopen the project to load the latest version.
S sorex Expert Licensed User Longtime User Dec 28, 2018 #8 Thanks for implementing the auto refresh of shared modules. It's easier/safer to have multiple (Xui based) app sources open. Just switch (alt-tab) between B4A & B4i to compile and test the specific OS version without the need to close/reload to be sure you don't overwrite anything.
Thanks for implementing the auto refresh of shared modules. It's easier/safer to have multiple (Xui based) app sources open. Just switch (alt-tab) between B4A & B4i to compile and test the specific OS version without the need to close/reload to be sure you don't overwrite anything.