Eclipse 3.7.2 (Indigo)
Problem / Error:
An internal error occurred during: "Open Type Hierarchy action".
Solution (reblog la solution) :
PDT 3.1.1 requires DLTK 4.0, and there is no such version of DLTK in Indigo repository.
When you installed PDT 3.1.1 on Indigo, DLTK 3.0 in Indigo repository is applied because of mal-dependencies in PDT. It doesn’t work.
You can choose several ways to fix the problem.
1) Upgrade to the latest stable Juno 3.8.1.
2) Downgrade to the latest bug-ful Juno 4.2.1 having too much problems.
3) Install DLTK 4.0 into your Indigo installation.
4) Drop PDT.
If you are going to install DLTK 4.0 into your Indigo,
Go to Help>Install New Software
Check “Dynamic Languages Toolkit – Core Frameworks” (under General Purpose Tools category)
Note that this updates “EMF – Eclipse Modeling Framework Core Runtime”(from 2.7 to 2.8 ) also. I don’t know whether this will cause other problems or not against other than PDT.
For the configuration of PHP in eclipse, for others languages do the same things :
Windows -> Preferences -> PHP-> Editor -> Save Actions
Check remove trailing whitespace
1. Configration proxy in Ubuntu :
System setting -> Network proxy as diagram below :
Apply your own configration of proxy.
2. Configration proxy for SVN :
Go to ~/.subversion folder, modify the file servers :
Uncomment these lines and add your own configration proxy :
Make sure there is no gap on either side of “=” symbol
It will works your proxy.
IDE : eclipse
Warning: require(PHPUnit/Autoload.php): failed to open stream:
No such file or directory
Locate first your PHPUnit, that is to say, verify whether
PHPUnit folder is already in /usr/share/php, if yes, take a look at
the diagram below, in your eclipse, go to Window, then Preference,
then PHP Include Path, then Libraries, click Add External Source Folder.
Add /usr/share/php in your Libraries and PHPUnit will work well.
To display the icon of svn in eclipse :
Window => Preferences => General => Appearance => Label Decorations
Check option SVN.
And if it doesn’t work, you can also verify here :
Window => Preferences => Team => SVN => Label Decorations
Window => Preferences => PHP/Java => Editor => Mark Occurrences
Check the option : Mark occurrences of the selected element in the current file.