Wish Improving B4X Libraries with AI‑Generated Intellisense Comments

LucaMs

Expert
Licensed User
Longtime User
[Suggestion, not "Wish"]


Hi Erel,

After many years of using B4X, I'd like to share a small tip that could improve the development experience, especially for newcomers and those exploring the internals of the B4X libraries (as well as the many classes you've published that we consider official).

Reading the source code of several official B4X classes, I noticed that:

- some public subroutines lack a descriptive comment.

- some classes expose public variables that are effectively used as "properties," but since they are variables, they can't display Intellisense descriptions.

With today's AI tools, it would be extremely easy to:

- automatically generate short, clear comments for all public subroutines

- convert public variables that behave like properties into actual properties (with getters/setters), each with an appropriate description.

This would greatly improve Intellisense and make the libraries more self-explanatory, without changing their behavior.

---------

Yesterday, for example, I saw the Formation property of B4XPlusMinus.
Well, the intellisense only shows its type, String, but it doesn't show what it's used for; you have to search to find out.
(It would also be helpful if the AI added the allowed values, but that gets a bit more complicated, though doable.)

---------

To make this suggestion even safer and easier to review, the AI could mark every added or modified line with a unique tag, and include a summary at the top of the class listing all changes. This way you can instantly review everything with a simple search.

-----------

If you don't want to waste your time on this, I have another suggestion:
let me do it. I'd do it almost for free, because of my love for B4X. And for only €10,000/hour
(As you know, I just CAN'T write a post without adding a joke )
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…