eclipse-pdt

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

て烟熏妆下的殇ゞ 提交于 2020-01-11 09:55:19
问题 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 as plain-text. Is there a way I can mark these particular files as PHP to use the PDT features? 回答1: If I remember correctly, you might be able to do

Waiting for the XDebug Session 57% in Eclipse PDT

北慕城南 提交于 2020-01-10 01:17:25
问题 Browsing the hints when I write this message it seems this is a tough question with all kind of patches, but no clear answer ... Anyway, I try my chance, here it is. I'm using Eclipse Helios PDT on Ubuntu 10.04, with XDebug and the corresponding section in php.ini as following: xdebug support enabled Version 2.0.5 Supported protocols Revision DBGp - Common DeBuGger Protocol $Revision: 1.125.2.6 $ GDB - GNU Debugger protocol $Revision: 1.87 $ PHP3 - PHP 3 Debugger protocol $Revision: 1.22 $

Eclipse indigo PDT 3.0 gotcha

风格不统一 提交于 2020-01-06 13:51:36
问题 I understand PDT is not a part of Eclipse Indigo. I installed from Help > Install new software and restarted. Still, I do not see PHP as an option in Perspective. Only Java is seen. Can anyone help in getting me on PHP development with Indigo? 回答1: it should really be that simple. download "Eclipse Classic" unzip/install to a new folder location (e.g. c:\eclipse-indigo-win32\ go to help->install new software select Indigo - http://download.eclipse.org/releases/indigo from the "Work with" drop

Eclipse PDT, XDebug Variable Watch Details only shows 1000 characters

陌路散爱 提交于 2020-01-05 08:42:19
问题 I am debugging using Eclipse PDT with XAMPP This question is related to this item: Variables viewer on Eclipse debugging truncates the string values I am having the same problem as in that link. I watch a variable and in the Expresssions tab, I can only view about 1000 characters in the "details" window. If I right click and use 'copy expressions' I get the same 1000 chars. I have also right clicked the details pane... Max Length and tried setting it to 0 or 30000 (my data is about 20k) and

Eclipse PDT, XDebug Variable Watch Details only shows 1000 characters

佐手、 提交于 2020-01-05 08:41:17
问题 I am debugging using Eclipse PDT with XAMPP This question is related to this item: Variables viewer on Eclipse debugging truncates the string values I am having the same problem as in that link. I watch a variable and in the Expresssions tab, I can only view about 1000 characters in the "details" window. If I right click and use 'copy expressions' I get the same 1000 chars. I have also right clicked the details pane... Max Length and tried setting it to 0 or 30000 (my data is about 20k) and

Is it possible to create a command line JDT application?

谁说胖子不能爱 提交于 2020-01-05 05:00:37
问题 I want to create a command line application which does analysis of Java code. The Eclipse JDT seems like the right tool for the job, however every tutorial I can find on the JDT starts up the JDT as an Eclipse plugin. I would expect something like this: public static void main(String[] args) throws Exception { IWorkspace workspace = ResourcesPlugin.getWorkspace(); ... } to get started. However getWorkspace() throws an exception that the service is not started. 回答1: If you want to leverage JDT

Zend Framework Plugin for Eclipse PDT

微笑、不失礼 提交于 2020-01-01 11:44:52
问题 I have eclipse PDT IDE version 1.2.0 installed. I have used it together with Dojo to develop very interesting Ajax applications. Now i want to enable the Zend framework within my eclipse IDE. How can i do this. After some googling, i have tried the following. 1.) downloaded the Zend framework and unzipped to my C directory. 2.) added the following path in my php.ini file include_path = ".;C:\ZendFramework-1.10.5\library" 3.) changed the following line in the httpd.conf file in Apache to

Eclipse PDT + Code completion not working at all

大城市里の小女人 提交于 2020-01-01 06:25:49
问题 I wanted to start a new Zend project, and currently I'm facing some issues regarding Eclipse PDT... My problem is, that the code completion in Eclipse for PHP does not work at all. I tried a lot of different tutorials etc, for example making a new project and import the files; making a new workspace and import projects there; almost every possible combination of buildpath settings and library imports; deleting several files in .metadata (you will find lots of tutorials like this if you google

Eclipse PDT + Code completion not working at all

萝らか妹 提交于 2020-01-01 06:25:22
问题 I wanted to start a new Zend project, and currently I'm facing some issues regarding Eclipse PDT... My problem is, that the code completion in Eclipse for PHP does not work at all. I tried a lot of different tutorials etc, for example making a new project and import the files; making a new workspace and import projects there; almost every possible combination of buildpath settings and library imports; deleting several files in .metadata (you will find lots of tutorials like this if you google

Help setting up php for Eclipse

别等时光非礼了梦想. 提交于 2020-01-01 04:15:07
问题 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, or does Eclipse auto deploy the files to the local web server? Any information or links would be very much appreciated. 回答1: There is a plugin for Eclipse