Hello everyone. I've been programming using emacs in Linux for over a year now and recently put dev-c++ on my laptop. I've been playing with settings in the editor options and have spent hours looking for an answer online but can't figure out how to change my indentation options. I imagine there is a simple answer to this but I can't seem to find it.
For example, in emacs if I have something like this (assume | is my cursor) :
bool value;
if ( value ) |
and I press return it will automatically indent my next line. Also, if I have code like this:
bool value:
if ( value )
return 0;
as long as my cursor is in the third line and I push the tab key it will set that line to the proper indentation.
Is there a way to set dev-c++ to do these two things? So far all the settings I have played don't seem to accomplish this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone. I've been programming using emacs in Linux for over a year now and recently put dev-c++ on my laptop. I've been playing with settings in the editor options and have spent hours looking for an answer online but can't figure out how to change my indentation options. I imagine there is a simple answer to this but I can't seem to find it.
For example, in emacs if I have something like this (assume | is my cursor) :
bool value;
if ( value ) |
and I press return it will automatically indent my next line. Also, if I have code like this:
bool value:
if ( value )
return 0;
as long as my cursor is in the third line and I push the tab key it will set that line to the proper indentation.
Is there a way to set dev-c++ to do these two things? So far all the settings I have played don't seem to accomplish this.
Which version are you using?