Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » stop comments being autoformatted with newline
stop comments being autoformatted with newline [message #1643382] Sun, 01 March 2015 14:43
mike rodent is currently offline mike rodentFriend
Messages: 6
Registered: February 2014
Junior Member
Dear all,

when you have some lines like this:

	// Database handling
	var $hn;	// hostname
	var $un; 	// user name
	var $pw; 	// password


and you do autoformat on the file it always ends up like this:
	// Database handling
	var $hn;
	// hostname
	var $un;
	// user name
	var $pw;
	// password


... under Window -> Prefs -> Aptana -> Formatter -> (my created Profile) -> PHP -> Edit icon -> Comments tab there is no way to stop this annoying newline insertion happening. In the past I've found similar annoying newlines in Java, Python, etc. under Eclipse. So;
1) anyone found a workaround?
2) why won't the Eclipse dev team let us use our comments as we want to?

Tx
Previous Topic:Call to undefined function ... json_decode() with cli script
Next Topic:project via RSE and then part of it as PHP project?
Goto Forum:
  


Current Time: Wed Oct 16 02:32:13 GMT 2024

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

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

Back to the top