eclipse-pdt

Can you suppress a single php file that won't parse/compile from showing as an error in Eclipse?

We are currently using Aptana for PHP and Eclipse for Java. While Aptana is built on Ecplise, it treats PHP files differently when they won't parse/compile. I'd love to use Eclipse for both, but I can't figure out how to suppress errors that should be ignored. We use simpletest for all of our projects so we have it included in our "core...

Why won't eclipse run my php file?

I'm running eclipse galileo (5.5) with PDT 2.1.2. I have "PHP Executables" pointed to /usr/bin/php, which outputs: $:/usr/bin$ php -version PHP 5.2.6-3ubuntu4.2 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 21 2009 19:14:44) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies I have crea...

org.eclipse.swt dependency when updating Eclipse PDT (Ubuntu)

Hi! I'm trying to update Eclipse PDT on Ubuntu (through the Eclipse Interface), and I'm getting the following error: Cannot complete the request. See the details. Cannot find a solution satisfying the following requirements org.eclipse.swt [3.4.0.v3448f]. This message only shows if I try to update WST Server UI (3.1.0). AFAIK, SWT ...

The project description file (.project) for my project is missing

I am using Eclipse PDT 3.5 on Vista (32 bit). It works, though eclipse needs admin rights to execute. This annoys me, but I accept it. But: every now and then (I am not sure, it may even be everytime I want to open a project), I get the error message "The project description file (.project) for my project is missing.". It is NOT missi...

Fixing Vanishing LaunchShortcut in Eclipse Plugin

I'm developing an eclipse plugin for creating a plugin for another java platform. I've managed to figure out the LaunchShortcut concept, LaunchDelegate, etc. The basic codepath of the plugin: I have a launchShortcut display if it detects the project right clicked is a "plugin" project. This is detected via a propertyTester Once succes...

Ignoring Eclipse project files in SVN project

Hi, I have a PHP project set up in Eclipse with SVN support. Now, Eclipse adds its project files .buildpath and .project to the project and Subclipse wants to add it to the repository. Now I could just use svn:ignore to let SVN ignore the files, but that's not an option for various reasons. So, is there a way to make Eclipse and Subcli...

Eclipse PDT: show every call of function

Is there an option in Eclipse PDT to show every call of chosen function. I now if you select some kind of function and hit F3 key you will see a definition of selected function. ...

Eclipse PDT: How do I get it to format my PHP arrays like VIM?

I've been struggling to get Eclipse to format my php arrays like vim indentation does. What eclipse does (press CTRL+SHIFT+F) <?php $array = array( 'key1' => 'value1', 'key2' => array( 'child_key1' => 'child_value1', 'child_key2' => 'child_value2', ), ); What vim does (press keys:gg=G) <?php $array = array( 'key1' => 'value1', '...

Debug PHP web page in Eclipse

How do I run a PHP web page in Eclipse? I am using PDT. I was able to do this when I was studying JEE. I just hit run and then Eclipse's built in browser shows and you can run the website already. Right now I am able to do this by putting my PHP files in the folder that Apache serves and then I open my browser and go the php file I c...

Two Eclispse projects -> One Eclipse Plug-in

Background I'm a developer of the Vrapper project. Vrapper contains of 2 major parts Vim-emulation library (vrapper.core) Eclipse part that makes a good use of it We want vrapper.core to be Eclipse-unaware, so it's reusable outside of the Eclipse. Currently, we can "vrap" all sorts of Eclipse text editors and our little mock text e...

How to make "PHP Explorer" (project explorer?) area persistent between sessions in eclipse/PDT?

PHP Explorer is the eclipse PDT tab (the leftmost in standard configuration) where you can browse the folders of your project. I believe the same tab in standard eclipse is called "Project Explorer" but I am not sure. What happens to me is that when I close and reopen eclipse, although the files that were open at close time are still op...

Xdebug configuration with PHP fastcgi and eclipse?

I have been using eclipse-pdt in conjunction with xdebug and apache without problems, for over one year. Things worked flawlessly and I could do all the interactive debugging I wanted from within eclipse (using my own machine as a server). Now I switched from apache to nginx (and therefore PHP runs now not as an Apache service but as fa...

Eclipse PDT vs. NetBeans for PHP development

How does Eclipse PDT compare to NetBeans for PHP development? I just bought a new computer with Windows 7 and I'm starting to set up a development environment for PHP. Has anyone used both IDEs lately and could make a quick comparison? If you know what major frameworks are supported, that would be great too. ...

Eclipse PDT does not underline syntax errors and code completion

Hi, Ater installing Eclipse PDT on my Mac(snow leopard), I installed Remote System Explorer (RSE) from http://download.eclipse.org/dsdp/tm/updates/3.0/. Now the editor neither underline syntax errors, nor do the code completion. But the editor does color the code. Where I can config it? Thanks!!! ...

Setting break points in a PHP script (not a web page) using eclipse

I'm running eclipse 3.5 (Galileo) with the PHP development tools (PDT) plug in. I also installed XDebug by following these instructions. It works great when I debug a web page running on localhost. I can set break points and step through the code. However, I can't debug a PHP script. I can run it, and I see the output from print statem...

Force Content-Type on files with no Extension in EclipsePDT?

I use Eclipse-PDT to work on my PHP projects and find it inconvenient when Eclipse does not recognize my php files that have no extension. Our project contains many cli/bash-style php scripts that have no file-extension (for whatever reason). This results in no code-completion, highlighting, etc for these particular files. It treats them...

How to share eclipse configuration over different workspaces

I'm using eclipse (pdt) as primary IDE on different machines. (like at home, laptop, in office, etc.). How could I share the eclipse and project configuration pragmatically between multiple computers? Should I version control them, or is there any easier way to do this? How do you ensure to use the same good and old even so up to date c...

Anyway to get Aptana PHP back with Aptana 1.5.1?

I made a mistake uninstalling Aptana PHP as I didn't know PDT would suck as much...It's unable to accept my theme color files for PHP docs. I know it's not a relevant question for this community, but I didn't know where else to go. Please Help. Thanks. ...

Is it possible to use PDT to debug through a tunnel with XDebug?

I'm trying to debug using PDT and Xdebug over a tunnel and haven't been able to get PDT to connect properly. I do not have PHP installed on the machine I am developing on and would like to connect to the XDebug instance that is running on my development machine that is not able to talk directly with my machine. ...

Undo closed tab in Eclipse?

I was wondering if it were possible in Eclipse PDT to reopen a closed tab by mistake. For example in Firefox I can do Ctrl + Shift + t. ...