Problem with auto indent driving me crazy
-
Hello there!
I am a student currently practicing with C and C++ and so far the QT creator is my favourite tool to qrite my code.
I have a weird problem though. It used to auto- indent the source code like that:@int main (void) {
int a=0, b=0;
...
if (a=3){@would become
@int main (void){
int a = 0, b = 0;
...
if (a = 3)@which is way better than the first one! Also when I typed something like ('text') a green cursor would appear outside of the ) and if i hit enter while writing it'd automatically go the ).
For some reason it does not auto-indent my code like that anymore nor does it move my cursor automatically to the end. Did I set something wront without knowing it? I dont remember changing anything at all! Please help me, it' s driving me crazy!