Eclipse SVN client (Subclipse) sync issue - php

I have installed eclipse php (Neon.2 Release (4.6.2)) with subversive (4.0.2) plugin.
When trying team synchronizing, I've got 2 issues :
The arrows icons (which gives a preview of what's to push and what to pull) disappear after 1 second.
This issue was solved by doing the following :
Install PDT addon v2.2.1 using "Install New Software" Select Heliosn
update site (http://download.eclipse.org/releases/helios) then use
filter "PDT" to display only PDT, and select "PHP Development Tools
(PDT) SDK Feature" then install
When double clicking on a .php to see what has changed, it's blank. Any other files work properly though.

1- I have neon 2 + PDT and the problem is gone disabling:
"window/preference/general/appearance/label decorations/PHP Project Explorer Decorator"
and close and reopen team synchronizing perspective
2- To resolve this problem "help/install new software" and use (nightly builds)
http://download.eclipse.org/tools/pdt/updates/latest-nightly/
and install all items,
bug reported here.
I hope that helps.

My PDT (Php plugin for eclipse) was broken.
I decided to install eclipse Lunar latest release, then installed latest subversion Lunar plugin and connectors, and it all worked out.

Related

xdebug breakpoints work but step over does not

I have installed Xampp on Windows (Well actually both xampp and wamp but both have the same problem), and enabled xdebug. I have installed the latest eclipse for php with pdt included. The breakpoints are working correctly however if I press f6 or f5 the current line does not get updated, the variables change as if I had stepped to the following line but the highlighted line remains the same. Any ideas?
I attach some screenshots to make it easier to understand:
Breakpoint works:
I press f6, lineno and $a changes in the 'Debug' and 'Variables' window:
I press f6 again:
I tried updating to the latest xdebug but the same thing happens.
This is problem in Eclipse SR1. You should switch back to R (SR0) release, next you can install PDT 3.3.1 from marketplace.
See also bug report on bugzilla
Edit:
Problem is fixed in nightly builds: http://download.eclipse.org/tools/pdt/updates/3.4-nightly/
Edit 2:
We released new stable (3.3.2) version with fix for this problem. You can find it on marketplace or in this update site: http://download.eclipse.org/tools/pdt/updates/3.3.2/
Goto Eclipse->Help->Install New Software
Work with: http://download.eclipse.org/tools/pdt/updates/3.3.2/ (this worked for me)
Alternative: You might want to use the latest stable update site: http://download.eclipse.org/tools/pdt/updates/latest/
[If not already existing]: click (Add) & give a name like "PDT" in order to add the upgrade site.
Type "PDT" and tick checkbox for "PHP Development Tools (PDT)"
Accept the license stuff and upgrade PDT.
Restart Eclipse

Eclipse PDT plugin installation

I'm trying to install PDT plugin in Eclipse and I get error:
Cannot complete the install because one or more required items could not be found.
Software being installed: PHP Development Tools (PDT) 3.1.2.201212211235 (org.eclipse.php.feature.group 3.1.2.201212211235)
Missing requirement: PDT Debug UI Plug-in 3.1.2.201212211235 (org.eclipse.php.debug.ui 3.1.2.201212211235) requires 'bundle org.eclipse.dltk.debug.ui [4.0.0,5.0.0)' but it could not be found
Cannot satisfy dependency:
From: PHP Development Tools (PDT) 3.1.2.201212211235 (org.eclipse.php.feature.group 3.1.2.201212211235)
To: org.eclipse.php.debug.ui [3.1.2.201212211235]
dgolovins answer worked for me.
First install Dynamic Language Toolkit:
Help-->Install New Software --> Add --> Location: http://download.eclipse.org/technology/dltk/updates-dev/4.0-stable/
Then install PDT:
Help-->Install New Software --> Add --> Location: http://download.eclipse.org/tools/pdt/updates/latest
This message is awful and means that org.eclipse.dltk.debug.ui with 4.0.0 <= version <5.0.0 is not available in your eclipse installation or form available eclipse update sites in Install dialog.
Add Eclipse Dynamic Language Toolkit update site in eclipse Install dialog and then try to install PDT again.
In Ubuntu 14.04 the solution presented by #Manfred did not solve my installation problem.
Then I followed the solution presented in PHPeclipse
Enabling PHP Support
As-standard, Eclipse does not come with support for PHP. This must be
added, and added as root.
Launch Eclipse as root from the command line:
$ sudo eclipse (gksudo causes an unusual warning).
When the "Welcome to Eclipse" screen is displayed, select Help->Install New Software...
The "Galileo" site must be added, click "Add..." and input:
Name: Galileo Location: http://download.eclipse.org/releases/galileo/
Once this is available, select "Galileo" in the Work with: drop-down list.
Enter "php" into the filter text, two entries should be displayed for "PHP Developer Tools (PDT)"; one under Programming Languages,
another under Web, XML, and Java EE Development. Select both and click
"Next >".
Verify that the items you wish to install are displayed on the "Install Details" screen and click "Finish".
Eclipse will need restarted for the update to complete.
With this complete, you should be able to launch Eclipse under a
normal user account and select New->Project...->PHP->PHP Project.

How do i fix the undo history bug in PHPEclipse?

PHPEclipse's undo history is still broken in Eclipse 3.8 with PHPEclipse 1.2.x.
You are able to undo only 25 changes back in history when editing PHP files!
There is no installation instruction for 3.8 on the PHPEclipse site, so I used PHPEclipse 1.2.x as stated on the installtation page: http://www.phpeclipse.com/wiki/Installation
On the main tracker page for this bug it sais, it was fixed by now:
http://www.phpeclipse.com/ticket/705
I asked the developer. He said, this is still not part of the 1.2.x stable build but on the nightly build.
on the PHPEclipse page on the right, there is this:
1.2.x dev nightly for Indigo (eclipse 3.8.1)
1.2.x Nightly Update Site
So how do I install that nightly build, if I already prior installed the stable build?
The main problem when installing the nightly build is, that the checkbox "Group items by category" may not be checked, otherwise you don't see any packages to select!
To install PHPEclipse nightly build under
Window->Preferences->Install/Update->Available Software Sites
select:
​http://phpeclipse.sourceforge.net/update/indigo/nightly/
(be sure, that the checkbox "Group items by category" is not checked!)
in case you've prior installed the stable release of PHPEclipse uninstall those three Entries first (PHPEclipse, Xdebug and DBG) under 'What is already installed' in the bottom right corner of that screen

Cannot create or PHP pages on Aptana

I installed Aptana, but could not find PHP, any idea on how to get the plugin or install the PHP features.
Thanks
Jean
This page at Aptana's site explains how to install the Eclipse PDT (PHP Development Tools) plugin on Aptana.
You must get version 1.5 which works with PHP, I'm using it

How to install a PHP IDE plugin for Eclipse directly from the Eclipse environment?

I have a clean Eclipse Java SDK. I would like to make it suitable for developing PHP applications. So I need a PHP IDE plugin (or something like that). How could I install it from the Eclipse environment?
Easy as pie:
Open Eclipse and go to Help-> Software Updates-> Find and Install
Select "Search for new features to install" and click "Next"
Create a New Remote Site with the following details:
Name: PDT
URL: http://download.eclipse.org/tools/pdt/updates/4.0.1
Get the latest above mentioned URLfrom -
http://www.eclipse.org/pdt/index.html#download
Check the PDT box and click "Next" to start the installation
Hope it helps
To install PDT (PHP Development Tools) for PHP development environment is better in Eclipse. The following are the steps to install PDT in Eclipse (I'm considering version 3.7 (Indigo)):
Open Eclipse (in my case Eclipse Indigo).
Go to Help --> Install New Software...
Expand the "Work with" drop down and select "Indigo - http://download.eclipse.org/releases/indigo".
Expand "Programming Languages" from the list.
Check PHP Development Tools (PDT) SDK Feature.
Click "Next >" at the bottom and follow the further instruction of Eclipse.
After successful installation of PDT: Go to Window --> Preferences and see the list as PHP at left panel.
Open up eclipse, go to "Help -> Install New Software". Enter:
http://download.eclipse.org/releases/juno
entry from the "Work with" dropdown.
Under the "Web, XML, Java EE and OSGi Enterprise Developmet" category, select "PHP Development Tools (PDT) SDK Feature 3.1.1.201209101312".
The new URL for the repository is now http://download.eclipse.org/tools/pdt/updates/release. In Eclipse: open Help -> install new sofware -> add. Then paste this URL in the location.
Mark the check boxes you want and click next.
Help --> Install New Software
In work with select box , only I have selected Kepler - http://download.eclipse.org/releases/kepler
And then under Programming language category you can find PHP Development tool.
fyi :I have ubuntu
The best solution would be to go to http://projects.eclipse.org/projects/tools.pdt/downloads where you will find the URL to the most updated PDT, as most of the URLS listed above are hitting a 404. Then pasting the URL to eclipse.
Easiest Way To install PDT
Run eclipse
Click on "Help", "Install New Software"
“Choose all available sites”, in search box type "php"(takes a while to load)
=> “programming languages” => "PHP Development Tools", => PhP Development Tools (PDT) SDK Feature.
Restart eclipse
File new => other => php .
Should be able to follow from their
The URL which worked for me is http://download.eclipse.org/tools/pdt/updates/2.0/interim/.
See also Stack Overflow question Installing PDT in Eclipse - No runtime option .. only SDK.
Eclipse for PHP Developers Package
Looking for the Eclipse for PHP Developers Package?
Due to lack of a package maintainer for the Indigo release there will be no PHP (PDT) package. If you would like to install PDT into your Eclipse installtion you can do so by using the Install New Software feature from the Help Menu and installing the PHP Development Tools (PDT) SDK Feature from the Eclipse Indigo Repo >> http://download.eclipse.org/releases/indigo
Text grabbed from page:
http://www.eclipse.org/downloads/php_package.php
Updated for 2019: As previously suggested, in the latest Eclipse, go to "Install New Software" in the Help Menu and click the "add" button with this URL http://download.eclipse.org/tools/pdt/updates/latest/ that should show the latest release of PHP Development Tools (PDT). You might need to search for "php" or "pdt". For Nightly releases you can use http://download.eclipse.org/tools/pdt/updates/latest-nightly/.

Categories