Home Download Buy Blog Forum Support

C If statement Auto-complete Inconsistency

C If statement Auto-complete Inconsistency

Postby callendorph on Tue Jun 12, 2012 8:18 pm

I'm having an issue with the C syntax auto-completion functionality. I get inconsistent behavior when I'm typing.

If I try to type the following:
Code: Select all
if ( int_state )
{
    ...
}


Sometimes sublime shows this as above with the correct formatting.

Sometimes sublime outputs the following:

Code: Select all

if ( int_state )
    {                     <-- Notice extra tab insertion
        ...
    }


I can not consistently have it auto complete to one or the other. I will type it and the second format version will appear, then I will delete the if statement and try again from scratch, and I will get the appropriate behavior as expected (no tab insertion). I can deal if it was one way or the other, but when it is inconsistent - it drives me absolutely crazy.

Does anyone else see this behavior? Am I hitting some special key combination when I type really fast that is causing this? And if so how do I turn it off?


Edit:

Build 2181 - MAC OS X 10.6.8
callendorph
 
Posts: 1
Joined: Tue Jun 12, 2012 3:18 pm

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 26 guests