Opened 4 years ago

Last modified 4 years ago

#753 new Bugs

new line starts on left edge of source

Reported by: _HI_ Owned by:
Priority: 1 Milestone: 1.3.0
Component: PHP Editor Version: 1.2.x
Keywords: Cc:

Description

phpeclipse very good editor but I don't use template engines and I am tying html code in php source
like this

echo "<div>sadasdasd</div>";

but if my code has multiply lines next line starts with left edge of source instead of position end string above. for example:

    echo "<div>asdasdasdasd<div>
<div>asdfsdf sdf sd sdf sd
asdsadasdasd</div>
asdasd asd asd ";

is this so dificult problem that cannotbe fixed soon?

Change History (5)

comment:1 Changed 4 years ago by _HI_

phpeclipse is very good editor but I don't use template engines like smarty, instead I am writing html code in php source
like this


echo "<divsadasdasd</div";

but if my code has multiply lines, next line starts with left edge of source instead end of position string above. for example:


    echo "<divasdasdasdasd<div
<divasdfsdf sdf sd sdf sd
asdsadasdasd</div
asdasd asd asd ";

is this so dificult problem that can't be fixed soon?

comment:2 Changed 4 years ago by incastrix

  • Milestone changed from 1.2.1 to 1.3.0

comment:3 Changed 4 years ago by _HI_

there is 1.2.1 version in http://phpeclipse.sourceforge.net/update/nightly
and how I can install 1.3.0 version ?

comment:4 Changed 4 years ago by incastrix

  • os_platform changed from Linux to Any

comment:5 Changed 4 years ago by arma

The same problem.

It's very inconvenient to use 'PHP Templates'.

When using Templates autoformatting doesn't work properly:

if ( condition )
{
	while ( condition )
{
	for ( )
{
	cursor_here
}
}
}

but it should be something like this:

if (condition)
{
	while (condition)
	{
		for ()
		{
			cursor_here
		}
	}
}

Because of this problem, i had to use Eclipse-PDT.
Will get tired waiting 1.3.0 version, where this problem will be fixed...

(Windows, Eclipse (v3.4.2 or v3.5.0) with PHPEclipse 1.2.1.200907060602NGT Nigthly)

Note: See TracTickets for help on using tickets.