Jmu5667 Well-Known Member Licensed User Longtime User Aug 28, 2013 #1 Any chance you can change endif to End IF automatically like in vb6 IDE.
T Tom Law Active Member Licensed User Longtime User Aug 29, 2013 #2 Jmu5667 said: Any chance you can change endif to End IF automatically like in vb6 IDE. Click to expand... +1 and end sub
Jmu5667 said: Any chance you can change endif to End IF automatically like in vb6 IDE. Click to expand... +1 and end sub
aaronk Well-Known Member Licensed User Longtime User Aug 30, 2013 #3 Or maybe even when type something like IF ..something.. Then automatically add the 'End If' like in vb.net Same with a sub, automatically add 'End Sub' when you start the sub
Or maybe even when type something like IF ..something.. Then automatically add the 'End If' like in vb.net Same with a sub, automatically add 'End Sub' when you start the sub
rbsoft Active Member Licensed User Longtime User Aug 30, 2013 #4 aaronk said: Or maybe even when type something like IF ..something.. Then automatically add the 'End If' like in vb.net Same with a sub, automatically add 'End Sub' when you start the sub Click to expand... I am not so keen about that. Often you just want to wrap a piece of existing code into if-endif structure, and then you need to drag the 'end if' or delete it or else. About the sub - here B4A has already an excellent function that does just that and even more. Write 'sub' and press the Tab key. You get more options and the 'End Sub' will be added too. Maybe Erel could add some <Tab> functionality to 'if', 'select', 'for', still. That might be a better solution. Or <Ctrl><Enter> might be a good way to complete a structure. Rolf Last edited: Sep 6, 2013
aaronk said: Or maybe even when type something like IF ..something.. Then automatically add the 'End If' like in vb.net Same with a sub, automatically add 'End Sub' when you start the sub Click to expand... I am not so keen about that. Often you just want to wrap a piece of existing code into if-endif structure, and then you need to drag the 'end if' or delete it or else. About the sub - here B4A has already an excellent function that does just that and even more. Write 'sub' and press the Tab key. You get more options and the 'End Sub' will be added too. Maybe Erel could add some <Tab> functionality to 'if', 'select', 'for', still. That might be a better solution. Or <Ctrl><Enter> might be a good way to complete a structure. Rolf
A aarondc Member Licensed User Longtime User Sep 8, 2013 #8 Autocorrect functionality would allow you to do any number of custom replacements like endif to End If, etc.
Autocorrect functionality would allow you to do any number of custom replacements like endif to End If, etc.