Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Constructor initializer list on the same line
icon4.gif  Constructor initializer list on the same line [message #1450477] Wed, 22 October 2014 09:45
Eclipse UserFriend
Hi, I think this is a bug.
If I set to "Do not wrap" the select button in
Window > Preferences > C/C++ > Code Style > Formatter > [my profile] > Edit > Line Wrapping > Function Declarations > Constructor initializer list
The format is still
class Point {
public:
	Point(double x, double y) :
		x(x), y(y) {
	}

private:
	double x;
	double y;
};

Insted of
class Point {
public:
	Point(double x, double y) : x(x), y(y) {
	}

private:
	double x;
	double y;
};

[Updated on: Wed, 22 October 2014 09:55] by Moderator

Previous Topic:Using wrong make file?
Next Topic:How to set default binary parser in Eclipse CDT?
Goto Forum:
  


Current Time: Thu Jul 10 04:45:57 EDT 2025

Powered by FUDForum. Page generated in 0.06851 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top