Wish Comments and intellisense

Troberg

Well-Known Member
Licensed User
Longtime User
Something that would be nice is if you add comments immediately before a sub, the intellisense would show those comments as you type a call to that sub.

Example:
B4X:
'This sub does some stuff.
'It takes Seed as starting point, and returns a string result.
'Note: This takes a while to run, so cache the result instead of calling it repeatedly.
Sub DoSomeStuff(Seed as Long) as string
  ...
End Sub

This would display an intellisense tooltip with the following text:

This sub does some stuff.
It takes Seed as starting point, and returns a string result.
Note: This takes a while to run, so cache the result instead of calling it repeatedly.
 

klaus

Expert
Licensed User
Longtime User
It does it.
In your case if you type Do and Ctrl Spacebar you get a dropdown list with all objects.
When you select DoSomeStuff you get the intellisense.

upload_2015-5-6_11-22-25.png
 
Last edited:
Top