Android Question Add Comments to explain my owns Sub routines IDE question.

Daniel-White

Active Member
Licensed User
Longtime User
Hi, folks.

I don't know if we have this feature or not in the IDE. An example when I write "ProgressDialogShow the IDE show the text about what is and how to use the ProgressDialoshow
an example. How can we do the same with our sub routines?

upload_2017-8-22_12-48-1.png



Can we do the same for my own Sub routines? and an example I define Sub Clean, where we can put a text to explain the sub routine and when another developer writes "Clean" show a box (Sub clean is to show a toast message bla bla) .

' Sub clean is to show a toast message bla bla
Sub Clean
ToastMessageShow("B4A is great!!!",True)
End Sub


I would like when I am writing "clean" inside of another Sub routine show a box explaining that Sub Clean is for bla bla bla. that will help a lot the others developers.


Thanks
 

Daniel-White

Active Member
Licensed User
Longtime User
you can´t.

Write a class. Here you can add Comments in front of your subs.
Compile the Class to a library and use the library.
You now can see the documentation.

:( Thank Don, perhaps? , Erel can add that feature in the IDE? Will be a good idea move this thread to forum "bugs-wishlist" ? That feature will help a lot to document our code. o_O
 
Upvote 0
Top