Auto indentation in Gedit


Answer: 1

4 hours ago

I'm using Gedit to program C and CPP, and I've enabled auto indentation in Edit->Pref.

However, it still doesn't work. Is there anything I can do?

Added by: Giuseppe Rodriguez

Answer: 2

31 hours ago

The auto indentation might not actually be what you think it is. It isn't "smart indentation;" it simply maintains the indentation on the next line. For example, if you were to have a line indented with four spaces, with auto indentation the next line will also have four spaces. Without auto indentation, the next line would return to the beginning.

Added by: Dr. Isaiah Harris

Answer: 3

25 hours ago

You will need to manually indent the first line in a block of code that should be indented. Subsequent lines will automatically be indented by the same number of spaces or tabs as this first line.

Of course if you are already doing this, then you have uncovered a bug which should be reported!

Added by: Judy Cassin

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9