William Lancee Well-Known Member Licensed User Longtime User Jan 9, 2019 #1 I started to notice variation in capitalization of code words see "Substring2" below. I tried cut and paste with autoformat on. No luck. Suggestions? B4X: pdir = pdir.SubString2(0, pdir.LastIndexOf("\")) Dim prefix As String = s.substring2(0,k) res = res.Substring2(0, res.length-1)
I started to notice variation in capitalization of code words see "Substring2" below. I tried cut and paste with autoformat on. No luck. Suggestions? B4X: pdir = pdir.SubString2(0, pdir.LastIndexOf("\")) Dim prefix As String = s.substring2(0,k) res = res.Substring2(0, res.length-1)
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2019 #2 The IDE doesn't change the case of methods and properties. You should let autocomplete do its job while you write the code and the case will be correct. Once it is written the case will not change (it changes for variables and keywords). Upvote 0
The IDE doesn't change the case of methods and properties. You should let autocomplete do its job while you write the code and the case will be correct. Once it is written the case will not change (it changes for variables and keywords).
William Lancee Well-Known Member Licensed User Longtime User Jan 10, 2019 #3 I'll try to change my typing habits to ensure consistency. The problem is that I look at the keyboard when I type. Thanks for the reply. Upvote 0
I'll try to change my typing habits to ensure consistency. The problem is that I look at the keyboard when I type. Thanks for the reply.