Other [new feature] Blocks Completion

Is this something a developer can add to? For example, say that I want to set up something like ....

Typing: "todo"

and B4x would complete it as ...

' ################
' TODO: 08/01/2015 01:32:68
' My Name is Joe, Company XYZ
' [cursor blinking here ready for typing]
'################


or even something like ...


Typing: "dowhileif"

completes as ...

Do While [cursor here]
If

End If
Loop

While it isn't really "blocks completion", it's more of a "code completion" or "command completion". VFP developers know what I'm talking about and just how useful / powerful that implementation is.
 
Upvote 0
Talking about some simple typing ideas:

I like that when I type
Code: Copy
$"
, B4J autocompletes to
Code: Copy
$""$
and puts the caret correctly inbetween the 2 double quotes :
Code: Copy
$"|"$

Therefore I think it should be the same when I type ${}:
Code: Copy
$"Example:${}"$
The caret should go inbetween the 2 curly brackets, instead of staying behind the last curly bracket:
Code: Copy
$"Example:${}|"$
'like this>
$"Example:${|}"$
$"Example:${someVariable|}"$
That way we could type faster :)

Tell me if it's not clear :)
 
Upvote 0
Tell me if it's not clear
Use the auto complete feature. Choose No format and it will complete it like you suggested.

SS-2015-08-18_09.08.36.png
 
Upvote 0
Back
Top