pdt

How to get rid of Javascript Runtime Errors when running PDT + XDebug in Eclipse?

I am currently developing a Drupal webpage using PDT. When running without XDebug, the site works fine. When I enable XDebug, the site works fine but opens up tons of Javascript errors that I need to click through. Example: A Runtime Error has occurred. Do you wish to Debug? Line: 1 Error: Syntax error -- It seems to only be a prob...

How do I install PDT 2.0 in Eclipse Ganymede?

I've been trying to install PDT in Eclispe 3.4 for a few hours now and I'm not having any success. I'm probably just stupid, but I hate Eclipse's plug-in and update manager... Anyway... personal note... moving on. I have a previous installation of the Eclipse for JEE developers (my main deal) distro and I just want to add the PDT to my...

How to reformat multi-line comments in Eclipse PDT?

In Eclipse PDT, Ctrl-Shift-F reformats code. However, it doesn't modify comments at all. Is there some way to reformat ragged multi-line comments to 80 characters per line (or whatever)? i.e. convert // We took a breezy excursion and // gathered Jonquils from the river slopes. Sweet Marjoram grew // in luxuriant // profusion by t...

Is there a hotkey to speed up the repetitive commits in Eclipse (or a general windows GUI macro tool)?

I am making numerous, minute changes to .php files in Eclipse PDT then committing them and testing on the server. The repetitive six-step commit process is getting tedious: right-click team Commit... click "choose previously selected comment" select in list click OK Does anyone know of a hotkey or other process to expedite this? UPD...

Converting from Eclipse PDT to Vim

I truly love VIM - it's one of only a handful of applications I've every come across that make you feel warm and fuzzy inside. However, for PHP development, I still use PDT Eclipse although I would love to switch. The reason I can't quite at the moment is the CTRL+SPACE code-assist functionality that I rely on so much - it's so usefu...

Help setting up php for Eclipse

I'm trying to set up Eclipse for php web development. What I would like to do is preview a php web page from within Eclipse, but I cannot figure out how to do this. Is there an integrated web server of some sort that allows this, or do I have to set up IIS/Apache to do it? If so, do I have to have my php files in the web servers path,...

XDebug server on Eclipse PDT test server issue

I have Eclipse PDT with Subclipse installed and currently have a PHP project drawing from a repository on my production server. I have VMWare Workstation installed with Linux and was hoping to use that as a debug server using XDebug. The problem is that when I update files, they are only committed to the repository on my production ser...

Eclipse PDT HTML attribute assignment operator colour?

Hi, I would like to know how to change the colour of the equality sign and double quotes for html documents in the eclipse PDT IDE. I can change most colours in Preferences -> Web & XML -> HTML Files -> syntax coloring, but can't change the characters = or " e.g. in an anchor tag Anyone know if this is possible? ...

Eclipse + PDT performance tips?

I recently wanted to get a decend IDE for my PHP side-projecs, and by searching SO found Eclipse+PDT. Although it's not quite at the level of Visual Studio yet, it's pretty nice and better than Notepad++ for this purpose. I can even debug somewhat, although it's pretty glitchy. But there is one thing that is bugging me. It seems to have...

Eclipse PDT Ant

I downloaded the Eclipse PDT 2.0 GA release (Eclipse 3.4), however, it doesn't look like the Ant tools are included in this package. How can I install the eclipse Ant tools (editor, executable, etc...)? ...

Can Eclipse PDT automatically add PHPDoc Blocks to code where needed?

I know most of the java development tools for Eclipse will have a short-cut script for adding in JavaDoc blocks for needed elements (including the page-level). Further, I know that PDT will allow you to "Generate Element Comment" for many things through the Source menu. Is there an Eclipse plug-in out there (or perhaps it exists standa...

PHP - Eclipse PDT - Highlighting uinitialized (misspelled) variables.

Hello I use the wonderful Eclipse PDT for PHP development. I often encounter irritating bugs due to me misspelling variable names. Is there a way to highlight variables that have not been initialized? As they will almost certainly be due to a spelling mistake. Thanks for any help. ...

Anyone problems with PDT 2.0 and Eclipse 3.4.2?

I just installed Eclipse 3.4.2 with PDT 2.0 and it seems that in PHP perspective I'm unable to see any files in the project. When I switch to J2EE view I can see all the files in the project just fine. Anyone know whats going on? ...

Where / What is the Package Explorer in Eclipse PDT

I'm trying to get hidden files to show in Eclipse (namely, a .htaccess file), and the answers point to doing something in the 'Package Explorer'. I'm using Eclipse PDT 2.1 and it's not apparent to me what / where that is. How do I get to this fabled 'Package Explorer' ???? ...

Eclipse PDT

i downloaded eclipse pdt, seem it only support php project ??, can made it support php and java either? i dont want install 2 separate version thanks. ...

how to run php script in eclipse

I installed Eclipse PDT-all-in-one-win32-2.0.0GA and WampServer 2.0. I try to run as PHP Script in eclipse but I have this error: "The current debugger does not have any defined PHP executable." How do I create this .exe ?? ...

How do you add a PHP framework to code completion/assist in Eclipse PDT and can the framework be added as default for all projects?

How do you add a PHP framework to code assist/completion in Eclipse PDT? And is it possible to have that framework added as default for all projects? ...

PHP Debugger with Unit Testing

Hello All, I have gotten the Zend debugger to work with PDT 2.1. On the project I'm working on, I do unit testing with PHPUnit but running the debugger won't catch any of the breakpoints until I make some instances of the test class and then run the tests manually. This is an issue, as I'd like to have the code base remain independent...

eclipse pdt >> publish from workspace

I'm learning Eclipse PDT for PHP development. In pretty much all tutorials I've read they put the eclipse workspace inside the document root of the webserver (htdocs in my case). Is this common practice? I mean; I don't like the configuration files on my (test) webserver. Isn't there a way to publish the changes to webserver's folder fr...

PDT installed but PHP Perspective is missing

I have installed PDT 2.1 but i can't switch to the PHP Perspective, any ideas? ...