View previous topic :: View next topic |
Author |
Message |
kcy29581 Apprentice
Joined: 04 Nov 2004 Posts: 284 Location: England
|
Posted: Fri Jun 17, 2005 4:04 pm Post subject: anjuta indentation... how? |
|
|
Hi all,
I used to code at university (i think I used Jext...) and I love a nifty, simple feature I had: When I opened brackets, like {, and when on the next line, the program automatically indented the line for me for clear code. An example:
Code: |
{
std::cout << "Hello World!\n";
}
NOT what I want
-----------------------------------------
{
std::cout << "Hello World!\n";
}
What I DO want |
Yes, I already know about the tab button, but I swear it would just add one extra space on the second line, rather than do a whole tab. I use anjuta, jext and possibly gvim if it has this feature.
I would rather use anjuta or jext though.
Thanks _________________ There is no spoon...
Oh, and it's WINDOWS not Winblowz for those who can't spell |
|
Back to top |
|
|
forgotten1 Guru
Joined: 11 Jan 2005 Posts: 477 Location: East Coast, USA
|
|
Back to top |
|
|
kcy29581 Apprentice
Joined: 04 Nov 2004 Posts: 284 Location: England
|
Posted: Fri Jun 17, 2005 4:21 pm Post subject: |
|
|
Cheers. I also realised that I didn't save the bloody file as something.cpp, but as something.ccp and indentation only works for the cpp and other valid filenames!!! This at least works in anjuta, should work in jext as well.
Do I feel like such an idiot... _________________ There is no spoon...
Oh, and it's WINDOWS not Winblowz for those who can't spell |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|