This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Auto indent - Colon causes line to have no indentation

IDE Version: uVision 5.11

Is there a way to keep auto indenting, but to disable certain features? For example, the colon (:) anywhere on the line causes the whole line to un-indent. So something like:

x = ( x < y ) ? x : y

will make the line un-indent. I guess it's assuming I'm putting a label in my C file. Sure, it has its uses, but 99.99999999% of the time, it's really not going to be a label.

I'm sure there may be others (just started using uVision) that I will find annoying, so options will be awesome. Otherwise, I guess it's back to muscle-memory and self-indenting.

Thanks for the insight.

0