Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » behaviour when breaking a String to new line
behaviour when breaking a String to new line [message #1611481] Wed, 11 February 2015 11:47 Go to next message
Al La is currently offline Al LaFriend
Messages: 5
Registered: February 2015
Junior Member
Hi folks!

After using PHPEclipse for ages, I switched to PDT a few months ago and it serves all my needs very well, except for one small annoyance I cannot figure out how to change:

When hitting "Enter" to break the line somewhere in a String, PHPEclipse always added quotes and full stop signs automatically, so that the String continued "smoothly". Now I find myself fixing that manually what is a real PITA...

Example:

Original String:
$foo = "I am a test string!";


Hitting "Enter" in front of the word "test" results in:
$foo = "I am a 
		test string!";


Wanted result:
$foo = "I am a " .
		"test string!";


Thanks for any advice on how to get that behaviour...
Best regards,
Al
Re: behaviour when breaking a String to new line [message #1611783 is a reply to message #1611481] Wed, 11 February 2015 16:09 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 290
Registered: March 2013
Senior Member
Unfortunately this function is not available. Here is a feature request: https://bugs.eclipse.org/bugs/show_bug.cgi?id=454869

Re: behaviour when breaking a String to new line [message #1613050 is a reply to message #1611783] Thu, 12 February 2015 11:23 Go to previous message
Al La is currently offline Al LaFriend
Messages: 5
Registered: February 2015
Junior Member
Ah, thanks for the answer. I hope that this will find it's way into the project soon - it's a small but very handy functionality!
Best regards,
Al
Previous Topic:How to disable DLTK indexing for a particular project or folder?
Next Topic:I can't see The Remote System Explorer (RSE)
Goto Forum:
  


Current Time: Sat Dec 21 16:24:50 GMT 2024

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

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

Back to the top