LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

problems with auto indentation

i cant seem to get the Auto-Indentation feature to work correctly in my LabWindows/CVI version 8.0

it *was* working correctly at one point, but somehow  its become changed and i dont know how to adjust it.

I want my code to look like this:

while (test)
{
    for (something)
    {
        if (something else)
        {
            blah
            blah
            blah
        }
    }
}


but what it wants to auto-indent to, looks like this


while (test)
    {
    for (something)
        {
        if (something else)
            {
            blah
            blah
            blah
            }
        }
    }

this is really annoying since it takes me longer to hand-correct the auto-indenter than it would to just do my own indentions.

please advise, thanks

rwj




0 Kudos
Message 1 of 3
(3,125 Views)
Options | Editor Preferences... | Bracket Styles... should sort you out.
--
Martin
Certified CVI Developer
Message 2 of 3
(3,118 Views)
well, that was easy.

thanks for the quick reply

0 Kudos
Message 3 of 3
(3,115 Views)