eclipse-pdt

How do I add the PHP libraries to my basic remote project in eclipse?

折月煮酒 提交于 2019-12-30 10:03:20
问题 I have a basic project that was created from a remote system using the eclipse tools to setup that connection. I right clicked on the folder on my remote system and chose create a new project. Now, I want to add PHP to the build path, but it is just a basic project. How do I quickly add those libraries with Eclipse PDT or Zend Studio installed? 回答1: Not sure if this what you are looking for, but try Right click the project folder in the Explorer and click Open Project . Right click the

How do I add the PHP libraries to my basic remote project in eclipse?

房东的猫 提交于 2019-12-30 10:03:14
问题 I have a basic project that was created from a remote system using the eclipse tools to setup that connection. I right clicked on the folder on my remote system and chose create a new project. Now, I want to add PHP to the build path, but it is just a basic project. How do I quickly add those libraries with Eclipse PDT or Zend Studio installed? 回答1: Not sure if this what you are looking for, but try Right click the project folder in the Explorer and click Open Project . Right click the

How can I create a singleton in PHP?

老子叫甜甜 提交于 2019-12-25 11:46:26
问题 I'm using PDT and Aptana on Eclipse Indigo with PHP 5.3 and I want to create a singleton in a class. By singleton, I mean I want to just have one instance of that object, and for other objects or classes to get that single instance via a function that returns that object (so this would mean I'm trying to create an object within the class that defines that object, ie: creating objA within the class objA) I understand you can't just go a head and do this: public $object = new Object(); with in

php manual for eclipse

故事扮演 提交于 2019-12-25 08:19:13
问题 php manual for eclipse I've downloaded eclipse for php - Eclipse PDT 3.0.x All In Ones - at "http://www.eclipse.org/pdt/downloads/" and added php manual chm file. Click [here](http://www.eclipse.org/pdt/downloads/"this text appears when you mouse over")! But still the php function manual not appeared at eclipse with shift+f2 or the context menu. Please let me know how to enable context help. 回答1: Please note that "Open PHP Manual" (Shift-F2) only works for PHP functions in the manual (e.g.

Ability of Eclipse to work with remote SVN working copy

瘦欲@ 提交于 2019-12-25 02:58:18
问题 I could not find the same question on Internet although there are similar ones. I work with a local Eclipse (Kepler) + PDT on a Windows machine. There is on a remote Linux server. The server is not a part of our office network, so we can not access it as mapped drive. What I want to do is to checkout on the remote server a new SVN working copy from the SVN repo. Then I will create a project in Eclise. I would like this project to be connected to the SVN copy and to be able to commit, update

Eclipse PDT 3.0 URL generation in debug missing?

杀马特。学长 韩版系。学妹 提交于 2019-12-25 02:43:16
问题 In Eclipse PDT 2.2 debug settings there was an URL settings input. I'm using this URL to manipulate the desired page to debug. In Eclipse PDT 3.0 debug settings this setting is missing. Currently, when debugging in 3.0, the URL is auto-generated to map targeted debug file: localhost/__project/path/to/index.php , but it should be targeting an arbitrary page localhost/__site-example/contact-page . Any ideas how can I get the URL independent of targeted debugged file? Or perhaps I should change

Problems debugging with eclipse and xdebug

瘦欲@ 提交于 2019-12-24 23:15:47
问题 After a long process of trial and error, I finally got xdebug configured correctly but I'm having a few issues with eclipse. First, there is only one option in the 'Run > Debug As' menu and it is 'XSL Transformation' and it is grayed out! Why can I select PHP Script or Web Page? Second, It just completely ignores my breakpoints! I set em and eclipse forgets em! It only breaks at the first line and that's it! I'm only able to set breakpoints in the first bit of php - so if I have a few lines

“Comparison method violates its general contract!” when trying to install Eclipse plugin

一曲冷凌霜 提交于 2019-12-24 08:48:14
问题 I have following system: $ cat /etc/redhat-release Scientific Linux release 6.1 (Carbon) $ uname -a Linux wcmisdlin02.uftmasterad.org 2.6.32-279.9.1.el6.x86_64 #1 SMP Tue Sep 25 14:55:44 CDT 2012 x86_64 x86_64 x86_64 GNU/Linux $ and I have following packages $ rpm -qa | grep ^eclipse eclipse-emf-2.6.0-1.el6.x86_64 eclipse-svnkit-1.3.0-3.el6.x86_64 eclipse-swt-3.6.1-6.13.el6.x86_64 eclipse-rcp-3.6.1-6.13.el6.x86_64 eclipse-rse-3.2-1.el6.x86_64 eclipse-jdt-3.6.1-6.13.el6.x86_64 eclipse-pde-3.6

Installing PDT in Eclipse - No runtime option .. only SDK

半城伤御伤魂 提交于 2019-12-23 17:50:54
问题 Admittedly I am new to Eclipse. I have it configured properly for Android development but I want to add the PDT plug-in for PHP development. I have followed the instructions for updating PDT for the Galileo version of Eclipse located here ... http://wiki.eclipse.org/PDT/Installation When I search through the available PHP tools the only option is the PDT SDK feature. I was looking for the runtime option instead of the SDK. I don't want to install the SDK for PDT as I just want to use it and

how can i associate/use PDT with eclipse in ubuntu?terr

偶尔善良 提交于 2019-12-23 10:13:04
问题 I want to use PDT to debug PHP with eclipse. I am using ubuntu 9.04. Can any one help me? please give details if possible. 回答1: Considering this thread and this one: You have to ensure that xdebug is definitely loaded on the version of php you are using. To do this, use the launch configuration you are using to try to run your script in debug mode and change it to run a script with phpinfo.php in it. Also a Debug log would be good. Add: xdebug.remote_autostart=On xdebug.remote_log="c:\temp