Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 improper tabbing in else {} block

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
swinefeaster Posted - Apr 23 2015 : 9:04:04 PM

installed the new build 10.9.2062.0 and if I type an else and then hit enter to expand the braces, I get the following


    else
    {
\\t\\t        
    }


the \\t denotes tabs, but I have selected spaces. This is a bad regression for me since our coding convention requires spaces and this will litter files.
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 23 2015 : 9:41:59 PM
If you turn on visible white space:

IDE Edit menu -> Advanced -> View White Space

what do you see when the closing curly brace is inserted? Are there actual tab characters before the caret, or just empty space? Normally you just get empty space until you type something, at which point the indent is filled in with either tabs or spaces.

This should not have changed, but regressions do happen.
swinefeaster Posted - Apr 23 2015 : 9:05:22 PM
oh wait, my bad... when I save the file it becomes spaces... really strange... sorry about the noise

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000