Apologies for the noob UI question, but is there a way in the code editor to automatically convert (say) ‘string’ to ‘String’ as it’s typed?
I know that when you see the ‘…’ you can type TAB but I don’t always remember to do that.
It’s doing my head in that I have to actually type proper case for my keywords, i.e. dim/Dim, etc.
http://developer.xojo.com/2017r1-release-notes
4155 IDE » Miscellaneous Made it so you can have “Standardize Format” act when you hit return (to finish a line), when you paste a block of text or when you hit “super return” to finish a block.
[quote=337366:@Neil Burkholder]
When I press Shift+Return at the end of an if statement my if statement is not formatted. According to the above I would expect it to.[/quote]
Thats this bug fixed for a future release <https://xojo.com/issue/48343>
As a bit of quirkiness, (at least on Windows, I don’t have a Mac to try it on) with standardizing on, if you enter #prag and hit TAB to complete it the ‘p’ gets uppercased. When you hit enter to complete the line, it lowercases the ‘P’. No real problem, just a little quirky.
What I feel is quirky in it is that if you use TAB for auto-completion on #prag then the P in Pragma gets title cased but reverts to lower case when you hit Enter to end the line. Why bother title casing it if you’re just going to lower case it later?
BTW, on Windows using Xojo 2017r1.1, if you follow the exact steps you described, the P in #pragma is lower cased, not Title Cased.