eclipse-pdt

How can I reduce the time that Eclipse PDT needs to startup?

I'm a very patient guy but seems very annoying the long time that Eclipse takes to let me start working. Why is that? I have a clean PDT distribution download form the Zend site. No extra plugins added. Is this only happening to me? Does anyone else notice this delay? Best, Demian ...

Eclipse-PDT code assist tooltip window size / font size

It's only a minor gripe but I have to resize the window to see the whole code assist tooltip and Eclipse doesn't remember the window size. Reducing the font size would do the trick but I can't figure that out either. I don't think it's platform specific but I'm on Eclipse 3.5 for Mac OS X. This Dupe implies that it works with Java but n...

Is there any current solution for jQuery Eclipse integration other than Aptana?

jQueryWTP is very out of date (jQuery 1.2.6 and Eclipse 3.3), and I don't want to use Aptana just to get code completion (I'm very happy with PDT otherwise). Is there any current solution for this? ...

Eclipse, how to combine 2 editions

I'm using the PHP edition of Eclipse, but was told that I also need the JEE edition. I'd like to install them both in the same install (single launch) and not have to open 2 editions in parallel. Is there a way to easily get this done? I'm new to eclipse, so detailed instructions are welcome. ...

Out-of-the-box Eclipse PDT (PHP Development Tool) not capable of debugging PHP, why?

I just finished reinstalling the "All-In-One Eclipse PDT" from zend.com. It's unable to debug even the simplest "Hello World" PHP script. How can such a major open-source app be released in such a bad shape? What am I doing wrong? This is the result of doing a "Debug As... 2. PHP Script": Problem signature: Problem Event Name: APP...

How to setup Eclipse PDT on a bare Windows box?

I have installed Eclipse PDT All-In-One and nothing works (I can edit PHP source but cannot execute any PHP Scripts). Do I also need to install my own PHP interpreter? Do I need XAMPP? WAMP? Cygwin? XDebug? Zend? I'm looking for the smallest amount of stuff that I need to install to get a working PHP IDE, starting with an empty install...

Include path of php.ini ignored by Eclipse

Hi all, I have a PHP script to run. If I run it from the command line, it works fine (include path is set correctly). If I want to run it inside Eclipse (Run as script), then the PHP include path of my php.ini is replaced by Eclipse, with all the libraries I've added to the project. I've configured my PHP executable in Eclipse. I've ...

Zend framework helper intellisense

Not so much a programming problem, but more a productivity problem. We've got quite a few custom view and action helpers in our project. Working with around 7 programmers. Now when someone, creates a helper or if one would want to use a helper, it all goes through the brokers. This means we do not get intellisense for those helpers, w...

Automatic indentation on Eclipse PDT when copy-pasting

This is a simple question : Is there any automatic indentation alignment on Eclipse PDT when you do a copy-paste ? Because it doesn't work on my installation (raw copy-paste), but maybe this is because I use tabs instead of spaces, so I want to know if it will work if I switch to spaces. Thanks ...

Tags/Documentation with SVN Project in Eclipse?

I've searched around with this and haven't found any clear answers. I'm using Eclipse PDT. It seems that if I create a PHP Project, tags work (@todo, etc). However, if I create a project from SVN (still PHP based), tags don't work at all. Does anyone know how to make tags and doc generation work on a per project basis and still import ...

Getting PDT code completion to recognise runtime return types from base class?

Hi guys, I've got an abstract base class: abstract class BaseClass { /** * @return CLASSNAME */ public function fluent() { // do stuff return $this; } } Generally, i would put BaseClass where CLASSNAME is and all would be fine, PDT would pick up the phpdoc return type and happily autocomplete. Until, that is, I s...

Opening a local file in Eclipse from the web

Right now, when I notice a problem on a page on my PHP web site, I have to look at the URL, mentally deduce what file is responsible for displaying that page, then navigate the Eclipse PDT file tree to open that file. This is annoying and uses brain power that could have been applied to solving the issue instead. I would like my PHP web...

Eclipse + PDT hides files extensions

Eclipse is now hiding file extensions in PDT, in the PHP Explorer. They show up on tabs when the file is opened. This applies to files of all types. While annoying, it didn't become problematic until I started including the .htaccess files in the list. They now show up with no filename at all. I've scoured the prefs and the web look...

How to see .htaccess files in Eclipse PDT?

I can't seem to find/view .htaccess files in Eclipse PDT. I looked in the preferences, but couldn't find any relevant options when it came to hiding files. How can I enable this in Eclipse so I can edit .htaccess files? ...

MacOSX + Eclipse: Rename variable function not working

Good day. I have Eclipse PHP Galileo for Mac OSX, 32bit Cocoa version. The problem is the rename function doesn't work properly. While editing PHP file I choose Refactor-Rename menu or a rename hotkey and Eclipse doesn't offer me to rename a variable, instead a rename file dialog appears. Tried to configure hotkeys but no luck. If you do...

still need smarty syntax highlighting in Eclipse PDT

How do I get smarty syntax highlighting in Eclipse PDT? The only project I was able to find is SmartyPDT, but it's outdated and isn't working with my current Eclipse install (PDT All in one, with Eclipse 3.5). EDIT: I recently found this post asking the same question from a long time ago. But the plugin linked in the accepted answer ...

how to better use of eclipse code templates (PHP)?

One particular problem I was having was using ${word_selection} in an Eclipse PDT template. I was recently trying to use some code templates with Eclipse PDT 2.1 to speed up some common tasks. We use a lot of getters/setters, so I wrote the following template. function get${word_selection}() { return $$this->getData('${word_selection}...

how to configure xdebug.file_link_format for eclipse PDT?

I am using xdebug with eclipse (on OSX). I think I remember reading somewhere that it was possible to link the error output (or the Call Stack) to a text editor (like Textmate). I was wondering if its possible to do the same thing for Eclipse. EDIT: I found out that what I would like to use is the xdebug.file_link_format setting. For...

Autocompleting MVC View Variables in Eclipse PDT/Zend Studio

When using Zend Studio to write views for a MVC framework, is there any way of having those variables autocomplete, perhaps using PHPdoc? For example, I set a variable in a view called $cart which is an instance of my ShoppingCart class. When I type "$cart->", I'd like the IDE to pop up with all of the objects properties. ...

PHP: Type hints for fields with Eclipse PDT

Using Eclipse + PDT, I know that you can specify the return type of a method or the type of a variable within a method via type hints. How about class fields? Can I declare the type of a field in order to enable autocompletion for that variable? I tried something on the lines of: class MyClass { protected $Field; /* @var $Field MyT...