eclipse-pdt

Eclipse PDT isn't highlighting PHP syntax in .html files?

瘦欲@ 提交于 2019-12-01 07:15:39
问题 So, I'm doing code maintenance and our php codes are embedded in html files. Eclipse isn't highlighting any of the php codes in the html file. Does anyone have any ideas how to do this? I've tried looking for it in the preferences and my google ninja skills fail me. Thank you in advance. 回答1: window > preferences > general > content types Under "text" find "PHP Content type" add "*.html" Close the file and reopen it again. Restart eclipse won't work, since whatever .html file that have

Automate Eclipse “Yui Compressor…”

橙三吉。 提交于 2019-12-01 04:30:37
问题 Eclipse PDT has this handy built-in Yui Compressor in the context menu for files. But when building a webapp that uses multiple such files, it becomes tedious to compress the files manually after each update. It doesn't even remember what files compress to which filenames, so you have to enter that again. Is it possible to automate this process easily within Eclipse, so you can click on "build" or something and all specified files will be compressed to their targets? There is really a vacuum

still need smarty syntax highlighting in Eclipse PDT

雨燕双飞 提交于 2019-11-30 23:57:29
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 there is out of date now. EDIT: removed "(no accepted answer)" from title. it was misleading. I've used both SmartyPDT and SSE*. SmartyPDT is finicky and it took some time for me to get it working. Unfortunately, after an OS reinstall my custom jars don't work

Xdebug configuration with PHP fastcgi and eclipse?

喜欢而已 提交于 2019-11-30 19:31:07
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 fast-cgi) and I can't find a way to configure eclipse to work nicely with xdebug. I am neither sure if the problem is with xdebug or with eclipse (or both) to be sure. In the eclipse configuration I already changed the reference to the PHP configuration file to

still need smarty syntax highlighting in Eclipse PDT

限于喜欢 提交于 2019-11-30 18:04:31
问题 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 there is out of date now. EDIT: removed "(no accepted answer)" from title. it was misleading. 回答1: I've used both SmartyPDT and SSE*. SmartyPDT is finicky and it

Eclipse Unhandled event loop exception

会有一股神秘感。 提交于 2019-11-30 11:26:30
Im getting an exception in my eclipse indigo - im using the PDT plugin as well.. any ideas? When i code the lines start acting funny, disappearing, then reappearing. Unhandled event loop exception java.lang.Error: Error: could not match input at org.eclipse.wst.xml.core.internal.parser.XML10Names.zzScanError(XML10Names.java:473) at org.eclipse.wst.xml.core.internal.parser.XML10Names.isValidXML10Name(XML10Names.java:588) at org.eclipse.wst.xml.core.internal.parser.XML10Names.isValidXML10Name(XML10Names.java:271) at org.eclipse.wst.xml.core.internal.provisional.NameValidator.isValid

Undo closed tab in Eclipse?

寵の児 提交于 2019-11-30 10:32:14
问题 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 . 回答1: Yes it's possible. Close a tab and hit the left yellow arrow in the Eclipse menu bar above. You can adjust the keyboard shortcut for that in the eclipse preferences under General > Keys . On Mac it's ⌘ + [ 回答2: Try Alt + left arrow that will go backward in history - if tab is closed it will reopen it. 回答3: Navigating back through the edit history does

Can I link the Zend PDT (eclipse) to a browser action?

狂风中的少年 提交于 2019-11-30 07:46:21
Is it possible to configure the Zend PDT debugger in eclipse to hit a breakpoint from a browser action in a similar way to that of the Java debugger for eclipse? I.e. Set a breakpoint, start the debugger, browse a site then drop into a breakpoint when it is hit. I can debug individual scripts and Web pages however I am trying to debug a script that is called from a webpage. I am using Joomla and want to be able to traverse the dependency stack while click on page content. Thanks in advance for any advice..! travega I found out how to do this but it is quite long winded. It enables you to debug

Xdebug configuration with PHP fastcgi and eclipse?

て烟熏妆下的殇ゞ 提交于 2019-11-30 04:06:14
问题 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 fast-cgi) and I can't find a way to configure eclipse to work nicely with xdebug. I am neither sure if the problem is with xdebug or with eclipse (or both) to be

Disable or speed up DLTK indexing in Eclipse PDT?

时间秒杀一切 提交于 2019-11-29 22:51:46
I am using Eclipse PDT Helios with Aptana Studio on Windows XP SP3. Very often, my workflow is interrupted because Eclipse starts a DLTK indexing process that lasts 30 seconds, sometimes up to 2 minutes - which is annoying. I wonder if there is any way to: Either turn that off or Run the DLTK indexing process less frequently. I didn't find any possibility to change regarding parameters in Window > Preferences. PDT 2.2 (the one in Helios) is using a local database engine, H2, to store information. I wrote a post highlighting how to improve the performance of the new indexer . There might be