[Anjuta-list] indent V artistic style
- From: Peter Ottery <peterot dai ed ac uk>
- To: <anjuta-list lists sourceforge net>
- Subject: [Anjuta-list] indent V artistic style
- Date: Mon Mar 18 07:09:31 2002
Hi,
I have found a small problem with the auto format feature in
anjuta.
When I have c++ nested template class declarations of the form:-
temp1 < temp2 < temp3 < float > > > name;
Auto format tends to produce:-
temp1 < temp2 < temp3 < float > >>name;
Which won't compile.
I checked the `indent' info page and can't find any flag to stop this
happening.
To get round the problem I down loaded a new program called `Artistic
Style' which is specifically designed for indenting C, C++ and Java source
files (unlike `indent' which I think is aimed at C).
By changing the program's name to `indent' it is possible to use it in
Anjuta with the custom style flags.
Maybe anjuta should start using this program by default instead.
http://astyle.sourceforge.net/
Two quick questions:
1. How do I move header files into the headers dir in the anjuta project
manager screen.
2. Is there a key shortcut for moving to the next and previous messages in
the build window (this part of the documentation hasn't been written yet).
Cheers,
Pete
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]