Wish Document Constants

stevel05

Expert
Licensed User
Longtime User
The new facility to define a Const variable is great, would it be possible to allow a comment to be displayed in the IDE intellisense, it would be extremely useful for compiled libraries.
 

NJDude

Expert
Licensed User
Longtime User
I'm assuming that by comments in compiled libraries you mean tooltips, if that's the case, it's already implemented, like this:
B4X:
'These lines will show on the intellisense
'you can add as many lines as you want
Sub MyLibMethod(Something As String)

 ...

End Sub
 

stevel05

Expert
Licensed User
Longtime User
Thanks NJDude, but I'm talking about the new Const Variables:

B4X:
'Midi End Of Track (0x2F)
Dim Const EOT as Int = 0x2F
 
Last edited:

stevel05

Expert
Licensed User
Longtime User
Yes, that's how I used to define constants, but it would be nice to be able to add comments without going back a stage.
 
Top