eclipse-pdt

Why does Eclipse code completion not work on some projects?

筅森魡賤 提交于 2019-11-29 21:28:46
I have Eclipse 3.3.2 with PDT doing PHP development. All projects that I create, even SVN projects have code completion. Now I just opened another SVN project and it has no code completion or PHP templates (CTRL-space does nothing in that project). However, I can open the other projects and code completion all work in them. Why would code completion and templates be "off" in just one project and how can I turn it back on? Guido Maybe Eclipse doesn't understand the project has a "PHP nature". Try comparing the .project file on both projects to look for differences. It should contain something

Undo closed tab in Eclipse?

a 夏天 提交于 2019-11-29 20:54:52
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 . 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 ⌘ + [ cetnar Try Alt + left arrow that will go backward in history - if tab is closed it will reopen it. Navigating back through the edit history does work sometimes, but not if you close the tab without actually activating it. You can also try Alt + F to access

What's the difference between the Build Path and the Include Path in Eclipse PDT?

为君一笑 提交于 2019-11-29 19:13:09
问题 What's the difference between the Build Path and the Include Path in Eclipse PDT? 回答1: Short answer: keep the list of source folders on both the same (as Eclipse will helpfully do for you by default). Longer answer: The easy/straightforward part: the include path settings in Eclipse PDT is the list of paths/projects/libraries that will be used as include path when launching your project (e.g. as PHP CLI app) from Eclipse. The include path is also partially (see below) used for content assist

Writing Eclipse plugin to modify Editor Preferences

我与影子孤独终老i 提交于 2019-11-29 17:41:40
I'd like to develop a plugin (tool bar buttons) for Eclipse CDT where users can easily switch between 8 and 4 spaces tabs and turn on/off soft tabs. (Why bother you asked? Thanks to the coding guideline in my org for tabbing difference between C/C++ legacy and new codes) I managed to create toolbar buttons but I couldn't find information to modify Editor Preferences (The ones you normally find in Workspace preferences General->Editors->Text Editors). The question 4587572 seems to cover a bit but I'm still very new to Plug-in dev so I don't really understand. I guess I want to modify EDITOR_TAB

How to show whitespace and tabs but NOT line-break characters?

狂风中的少年 提交于 2019-11-29 10:39:53
问题 I'm trying to switch from Komodo to Eclipse. I can't figure out how to keep line-break characters from being shown in eclipse - looks like they are shown along with tabs and other whitespace characters. Is there a way to show tabs and other whitespace characters but not line-break characters? 回答1: If you have Eclipse 3.7 you can disable them. Preferences > General > Editors > Text Editors -- Look for 'Show whitespace characters' and click on the link 'whitespace characters'. 回答2: Or you can

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

假如想象 提交于 2019-11-29 10:28:52
问题 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

Prevent xdebug to break at first line of index file

北城以北 提交于 2019-11-29 09:16:05
I have xdebug setup with Eclipse PDT. Every time I start a debug session, Eclipse breaks at the first line of my root index.php file. Is it possible to prevent this behavior? Ok I found what the problem was. In Eclipse, I just needed to go in "Windows -> Preferences -> PHP -> Debug" and uncheck "Break at first line". To make it work, I also had to go in "Run > Debug Configurations > PHP Web Application" and unselect "Break at first line" in all the configurations. You might have to restart Eclipse for it to work. This question is orginated from eclipes. But the title took me to this page when

PDT Eclipse to auto upload on save

可紊 提交于 2019-11-29 04:54:45
I am migrating from a Dreamweaver forced working environment to a free-of-choice one. That said I must say I was rather enthusiastic about being able to use Dreamweaver PDT. However I have come to rely very heavily on the use of the "auto upload on save" function. I am developing LAMP but oriented to a Windows base majority so I really must run Windows native and test heavy for IE, all projects work smooth on FF and Safari, IE's really the bottleneck. On the other hand I like to have my project served by a clone of the server so I have a Virtual machine on windows running Linux that works as

Waiting for the XDebug Session 57% in Eclipse PDT

廉价感情. 提交于 2019-11-29 03:44:51
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 $ Directive Local Value Master Value xdebug.auto_trace Off Off xdebug.collect_includes On On xdebug.collect

Slowness in Eclipse Juno (4.2)

无人久伴 提交于 2019-11-29 02:26:29
I've had some issues with slowness switching tabs in Eclipse 4.2 Juno and was hoping someone might have some answers. The original delay was about 10 seconds which dropped to 2-4 once I specified the java vm in the eclipse.ini file, but that's still slower than I think it should be. I've uninstalled all the addons that I thought might be offending and listed the active ones below and I believe the system to be more than adequate, but listed the specs anyway. Thanks for any help you could give me. System: Windows 7x64 1.73 Ghz i7 8 GB RAM Eclipse Addons: Eclipse Color Themes PHP Development