It would be very useful to have some kind of plug-in-mechanism for B4A, so we can have running some individual logic for specific IDE- or (Pre)Compiler-Events like
- After New Code Line is entered [NL]
- After Loading a File [LF]
- Before/After Saving a File [SF]
- Before/After Code Analyze [CA]
- Before/After PreCompiling to Java [CJ]
- Before/After Compiling to Bytecode [CB]
- Before/After Generating APK [GA]
- Before/After Transferring to Device [TD]
With that we could introduce some personal features like Auto Corrections (e. g. "flase" to "false" by using [NL]) or Version Control (by using [SF]), but also new language features like Overloading (by using [CA] and [CJ]).
Erel, I'm not talking about an extensive API!
IMHO it would be enough to have some Batch-Calls (e. g. AfterNL.bat or BeforeCJ.bat), where we can embed our code/programs. If one of this Event-Batch exists, the B4A-IDE calls it (in the right moment).
Input-param normaly would be the location of the specific source file (resp. the new Code Line), which can be modified by the "Plug-In".
- After New Code Line is entered [NL]
- After Loading a File [LF]
- Before/After Saving a File [SF]
- Before/After Code Analyze [CA]
- Before/After PreCompiling to Java [CJ]
- Before/After Compiling to Bytecode [CB]
- Before/After Generating APK [GA]
- Before/After Transferring to Device [TD]
With that we could introduce some personal features like Auto Corrections (e. g. "flase" to "false" by using [NL]) or Version Control (by using [SF]), but also new language features like Overloading (by using [CA] and [CJ]).
Erel, I'm not talking about an extensive API!
IMHO it would be enough to have some Batch-Calls (e. g. AfterNL.bat or BeforeCJ.bat), where we can embed our code/programs. If one of this Event-Batch exists, the B4A-IDE calls it (in the right moment).
Input-param normaly would be the location of the specific source file (resp. the new Code Line), which can be modified by the "Plug-In".