eclipse-pdt

Is there a color picker plugin for Eclipse?

这一生的挚爱 提交于 2019-11-28 21:29:50
I'm using Eclipse Galileo PDT for my work. I also use it to edit my CSS files. Is there a plugin that lets me pick a color (from a palette or even anywhere from the screen) and wich returns the HEX value of that color into my CSS file? Aptana Studio has really great support for CSS. CSS color picking is easy, you can grab a color from anywhere on the screen. You can install Aptana as a plug into an existing Eclipse installation. http://docs.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration Jspresso Colors 'n Fonts Just select any java string literal and right

Why does Eclipse code completion not work on some projects?

风流意气都作罢 提交于 2019-11-28 19:01:19
问题 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? 回答1: Maybe Eclipse doesn't understand the project has a "PHP nature".

Ignoring Eclipse project files in SVN project

两盒软妹~` 提交于 2019-11-28 17:44:26
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 Subclipse ignore the files (which it should anyway)? JW. Preferences > Team > Ignored Resources Can you use global-ignores ? If yes, customize it in your config file: On Windows: C:\Documents and Settings\%USERID%\Application Data\Subversion\config On Linux: ~/.subversion

How can I get word wrap to work in Eclipse PDT for PHP files?

坚强是说给别人听的谎言 提交于 2019-11-28 16:48:43
Programming PHP in Eclipse PDT is predominately a joy: code completion, templates, method jumping, etc. However, one thing that drives me crazy is that I can't get my lines in PHP files to word wrap so on long lines I'm typing out indefinitely to the right. I click on Windows|Preferences and type in "wrap" and get: - Java | Code Style | Formatter - Java | Editor | Typing - Web and XML | CSS Files | Source I've tried changing the "wrap automatically" that I found there and the "Line width" to 72 but they had no effect. How can I get word wrap to work in Eclipse PDT for PHP files? Swati This has

Writing Eclipse plugin to modify Editor Preferences

蓝咒 提交于 2019-11-28 11:51:46
问题 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

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

爷,独闯天下 提交于 2019-11-28 08:54:54
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? 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'. Or you can directly click on the shortcut: In the Luna version, this configurability is now called "configure visibility"

Starting Eclipse w/ Specific Workspace

折月煮酒 提交于 2019-11-28 03:21:30
Is there a way to start an instance of eclipse, passing it some sort of parameter telling it to use a specific workspace? The problem I'm trying to solve is that I have a workspace for work projects and one for personal projects. I'd like to be able to tie these to workspaces to separate shortcuts that I could launch independently. Matt H From http://help.eclipse.org/help21/topic/org.eclipse.platform.doc.user/tasks/running_eclipse.htm : Use the following command-line argument: -data your_workspace_location For example, -data c:\users\robert\myworkspace you can also use UNIX-style relative path

How to exclude a Javascript file from Javascript Validation in Eclipse

寵の児 提交于 2019-11-28 02:58:40
I have the javascript validation working good for my own code. I want to keep the validation. But when it comes to open source library, like jquery for example, the validation creates warnings. I don't want warnings over a downloaded library. But I want to keep warnings for my code. I know you can exclude files from validation in the " Preferences > Validation " window, but the javascript validation is not there ! I've looked each validator, the javascript validator is not there. So how can I exclude specific files from the validation ? Here is the list of validators I have : Screenshot Thanks

xdebug breakpoints work but step over does not

假装没事ソ 提交于 2019-11-28 01:08:55
I have installed Xampp on Windows (Well actually both xampp and wamp but both have the same problem), and enabled xdebug. I have installed the latest eclipse for php with pdt included. The breakpoints are working correctly however if I press f6 or f5 the current line does not get updated, the variables change as if I had stepped to the following line but the highlighted line remains the same. Any ideas? I attach some screenshots to make it easier to understand: Breakpoint works: I press f6, lineno and $a changes in the 'Debug' and 'Variables' window: I press f6 again: I tried updating to the

PDT Eclipse to auto upload on save

喜你入骨 提交于 2019-11-27 22:46:37
问题 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