Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PDT 4.0 released with Neon.0 !
icon6.gif  PDT 4.0 released with Neon.0 ! [message #1735759] Wed, 22 June 2016 14:08 Go to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 207
Registered: March 2013
Senior Member
Hi,

PDT Team glad to announce new PDT version : 4.0

This is major release since a long time. It offer huge performance boost and many new features and improvements. We fixed over 100 bugs:

  • Improvements on PHP 7 support like better scalar declaration and return types
  • Improved indexing and code assist performance
  • Quick Assist for "assign to local variable" (CTRL/CMD + 2 + L)
  • Neon smart import support
  • And more...

Complete list of new features and improvements available on N&N wiki page: https://wiki.eclipse.org/PDT/NewIn40

Download links available on PDT website: https://www.eclipse.org/pdt/#download


Re: PDT 4.0 released with Neon.0 ! [message #1735942 is a reply to message #1735759] Thu, 23 June 2016 21:06 Go to previous messageGo to next message
Filipus Klutiero is currently offline Filipus KlutieroFriend
Messages: 13
Registered: July 2015
Junior Member
"assign to local variable" is apparently broken. It just does nothing here (in 2 projects on 2 tested).
Re: PDT 4.0 released with Neon.0 ! [message #1735954 is a reply to message #1735942] Fri, 24 June 2016 03:11 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 207
Registered: March 2013
Senior Member
Can you give me example? I,m using it every day and works for me.

Re: PDT 4.0 released with Neon.0 ! [message #1735959 is a reply to message #1735954] Fri, 24 June 2016 04:16 Go to previous messageGo to next message
Filipus Klutiero is currently offline Filipus KlutieroFriend
Messages: 13
Registered: July 2015
Junior Member
	private function levenshtein($aiguille, $botte) {
		if ($aiguille && $botte) {
			$aiguille = enleverAccents($aiguille);
			if (! is_array($botte)) {
				$botte = array($botte);
			}
			array_filter($botte);
			array_walk($botte, 'enleverAccents');
			return min(array_map('levenshtein', array($aiguille), $botte));
		} else {
			return null;
		}
	}


Tested without effect on both array_... lines. Only plugin added is Subclipse/JavaHL. I tried it on about 5 lines with 0 success.
Re: PDT 4.0 released with Neon.0 ! [message #1735960 is a reply to message #1735959] Fri, 24 June 2016 04:21 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 207
Registered: March 2013
Senior Member
strange. I made fast test now.

I put cursor on array_filter call. cltr+2+L and i have:
$array_filter = array_filter($botte);

Can you try ctrl+1 or even right click=>quick fix. Maybe you have key binding conflict.


Re: PDT 4.0 released with Neon.0 ! [message #1736039 is a reply to message #1735960] Fri, 24 June 2016 14:35 Go to previous messageGo to next message
Michal Niewrzal is currently offline Michal NiewrzalFriend
Messages: 50
Registered: July 2009
Member
You need press ctrl+2 and then L. Maybe this is a problem.
Re: PDT 4.0 released with Neon.0 ! [message #1736048 is a reply to message #1736039] Fri, 24 June 2016 15:05 Go to previous messageGo to next message
Filipus Klutiero is currently offline Filipus KlutieroFriend
Messages: 13
Registered: July 2015
Junior Member
It is not a shortcut conflict. When I press Ctrl+2, I get the suggestion, and nothing happens, whether I press L or click the suggestion.
There is no error popup.
Re: PDT 4.0 released with Neon.0 ! [message #1736208 is a reply to message #1736048] Mon, 27 June 2016 13:43 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 207
Registered: March 2013
Senior Member
So:
1. What is your interpreter version
2. Where you putting your cursor on example code?
3. Have you something in longs? (Window -> Show View -> Error Log)?

Did you try ctrl+1 and select from popup as I suggested?


Re: PDT 4.0 released with Neon.0 ! [message #1736236 is a reply to message #1736208] Mon, 27 June 2016 17:18 Go to previous message
Filipus Klutiero is currently offline Filipus KlutieroFriend
Messages: 13
Registered: July 2015
Junior Member
Thank you Dawid.
It works using Ctrl+1 or right-click (Quick Fix).
Nothing is logged when I try with Ctrl+2.

I reported the problem in the ticket about introducing the feature: https://bugs.eclipse.org/bugs/show_bug.cgi?id=479088
Previous Topic:Navigation doesn't work
Next Topic:Unable to debug AJAX application using Eclipse PDT
Goto Forum:
  


Current Time: Tue Jan 16 19:39:09 GMT 2018

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

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