Wish: Indent code feature

joseluis

Active Member
Licensed User
Longtime User
We also have multiple-line indenting. Selecting several lines and pressing TAB or Shift + TAB indents and unindents blocks of code. It's not the same but...
 

Penko

Active Member
Licensed User
Longtime User
Thank you mate for answering. Check this code:

B4X:
Sub btnBack_Click
StartActivity(a)
End Sub
Sub btnCheck_Click
WebView1.LoadUrl("http://abv.bg")
Activity.Title = "Site"
End Sub

Select it and click "Tab". All lines to together and the effect is the same. What I want is that the code becomes as follows:

B4X:
Sub btnBack_Click
       StartActivity(a)
End Sub
Sub btnCheck_Click
      WebView1.LoadUrl("http://abv.bg")
      Activity.Title = "Site"
End Sub

Shift + Tab also couldn't solve my "issue".
 

leitor79

Active Member
Licensed User
Longtime User
Yes. But it would be useful when pasting o refactoring code. I'd rather had an on-demand code block indent function than the auto indent.

Regards!
 
Top