Wish Force IDE Reload for externally edited code

HNICofCODE

Member
Licensed User
I recently posted an application that I use to externally edit and inject code I get from an AI into my source code files automatically.

I am on a slower computer doing this and it used to be that the IDE would detect an external code change and reload the code window to reflect that change almost instantly. Well, that isn't happening anymore. Sometimes not for 10-15 minutes. If I don't notice that the change didn't actually occur and I run the application, the IDE first saves the code (which overwrites the new changes made externally) and saves the code that is in the IDE window over the edited code that never populated to the IDE.
I would love for there to be a quick way (like the push of a function button like f8 or whatever), that would force the IDE to reload the code in the open windows to reflect external edits. Is there any way for me to create custom controls for the IDE that will accomplish this or do I just have to wish that the powers that be will take this under advisement, should they see it, and possibly, hopefully, implement it in future updates to the IDE?
I don't mean for that to come off as snarky. Tone is hard to read in text. It is a legit question.
 
Last edited:

Sandman

Expert
Licensed User
Longtime User
(It would be beneficial if it actually reloaded code in all modules, not just the open ones.)
 

aeric

Expert
Licensed User
Longtime User
Sorry if I am out of topic or seems hijacking.

I am more interested if new modules are added externally (maybe through macros) to the Main module (.b4a or .b4j file), the IDE will refresh the list in Modules tab using a command link/macro.

Additionally, can we also use macro to simulate:
1. right click, Refresh in Libraries Manager tab
2. Sync button in Files Manager tab ?

In other words, instead of "codesync", we also have "modulesync", "libsync" and "filesync" ;)
 

Magma

Expert
Licensed User
Longtime User
This wish... remind me that:

If "codesync" come alive will be 99.99% AI-sync :)
 

Magma

Expert
Licensed User
Longtime User
@Magma @Peter Simpson
Can you tell me what I missed that I failed to understand your reactions on post #5?
No worries at all! The "haha" reaction to your post #5 was likely for the clever wordplay with "codesync/modulesync/libsync/filesync"

at least from my side..
 

Peter Simpson

Expert
Licensed User
Longtime User
@Magma @Peter Simpson
Can you tell me what I missed that I failed to understand your reactions on post #5?
If you don't know, you don't know, but you should know as it's not that difficult to figure out. Now get back on your keyboard and, well, whatever, which only you should know.

So, I hope that explains it thoroughly enough for you. See, ridiculously extremely simple when one knows and understands exactly what 🤣 means...
 

Magma

Expert
Licensed User
Longtime User
If you don't know, you don't know, but you should know as it's not that difficult to figure out. Now get back on your keyboard and, well, whatever, which only you should know.

So, I hope that explains it thoroughly enough for you. See, ridiculously extremely simple when one knows and understands exactly what 🤣 means...
i didn't understand it... but we are getting out of topic... plz 🙏 have a polite conversation at DM/PM
 

Peter Simpson

Expert
Licensed User
Longtime User
i didn't understand it... but we are getting out of topic... plz 🙏 have a polite conversation at DM/PM
One should note, with suitable bluster, that it was Aeric who first invoked my name in this thread, not the other way round, thus I merely furnished the most straightforward, monosyllabically digestible reply imaginable, only to find myself ensnared in a kerfuffle entirely of his own making.

Now I can continue watching documentories about the lusitania.

Good day to you Magma ;)
 

aeric

Expert
Licensed User
Longtime User
@Magma I understand you have other meaning different from Peter. I get you.

I assumed @Peter Simpson didn't quite agree what I wrote in post #5 but the list of reaction doesn't have a "disagree" reaction so he reacted with a "haha".
And I just want to know what he may disagree with. I openly acknowlege any comments.
 

aeric

Expert
Licensed User
Longtime User
The original scope of the wish made by @HNICofCODE is about a single or currently focus code module or class.
Then @Sandman has added about expanding the feature request to apply on other modules.

If the above 2 features are implemented then I think it is possible to also implement what I suggested.
Maybe my suggestions would have some impacts of adding clutter and could break something in the IDE but I see my requests would be useful for example when developing web apps with my web framework.
Okay I understand this is only apply to B4J.

B4X IDEs has the Macro feature that is powerful to implement many automation workflows.
Not sure how many able to see it's usefulness.
I created some tools that can be invoked by the Macro.
But some features are impossible to be achieved without changing the features in the IDE.
 
Top