Opened 7 years ago

Closed 5 years ago

#426 closed Feature Requests (worksforme)

Disable strings wraping with "."

Reported by: nobody Owned by: nobody
Priority: 5 Milestone: 1.2.0
Component: editor Version: 1.2.0-nightly
Keywords: Cc:

Description (last modified by ed_mann)

Disable string wraping with "." after hit Enter in 
string body or make shortcut to normal break line.
example: 
$string = "long <cursor here>string";
after hiting enter:
$string = "long " .
          "string";

I want normal break new line ex:
$string = "long 
string";

Me and many of my colleague this feature irritate.
So if you make us switch to disabling this feature in 
menu or normal breaking with ex ctrl+enter will be 
fantastic :)

Change History (4)

comment:1 Changed 7 years ago by nobody

Logged In: NO 

I be all for this.

I like normal line break. This is not normall. :)
This is good idea (enter + other hot key?):
<tab>$variable = "my <cursor> string"
<tab>$variable = "my 
<tab>            string";

comment:2 Changed 7 years ago by eromax

Logged In: YES 
user_id=1442141

It's a great idea.

comment:3 Changed 6 years ago by emann

Logged In: YES 
user_id=430467
Originator: NO

You can turn off . break by changing the setting in Windows->Preferences->PHPeclipse->PHP select the Typing tab and then uncheck Wrap double quoted PHP Strings, and also Wrap single quoted PHP strings.

Is that what you want. Also it does not preserve alignment. This is something that can be added if desired.

Thanks type filter text

comment:4 Changed 5 years ago by ed_mann

  • billable set to 0
  • Description modified (diff)
  • Milestone set to 1.2.x
  • os_platform set to Linux
  • Resolution changed from None to worksforme
  • Status changed from assigned to closed
  • Version changed from None to 1.2.0-nightly
Note: See TracTickets for help on using tickets.