How to use IntelliJ IDEA for Eclipse plugin development?

It should be possible by using Eclipse Tycho. You’ll be using maven and that works perfectly with IntellIj. Tycho is focused on a Maven-centric, manifest-first approach to building Eclipse plug-ins, features, update sites, RCP applications and OSGi bundles. Tycho is a set of Maven plugins and extensions for building Eclipse plugins and OSGi bundles with … Read more

Where does Eclipse store preferences?

Source : Eclipse wiki If you want to keep preferences from one version to the other, export them using File/Export/Preferences. Preferences are stored in various places (this applies to Eclipse 3.1) for each installation (but this may vary for multi-user installations), in files stored in: <eclipse_home>/eclipse/configuration/.settings/ There is typically one file per plugin, with a … Read more

How can I add a key binding for a quickMenu similar to the “Refactor” context menu in JDT?

You can also do it like this: Add a command for the quick menu and set a default handler. <command defaultHandler=”myplugin.refactoring.QuickmenuHandler” id=”myplugin.refactoring.quickMenu” name=”Show Refactor Quick Menu”> </command> The handler should be able to create the menu. Something like this: @Override public Object execute(ExecutionEvent event) throws ExecutionException { … Menu menu = new Menu(some parent); new … Read more

What does $NON-NLS-1$ mean?

They silence a warning that Eclipse emits when it encounters string literals (and has been configured to complain). The idea is that UI messages should not be embedded as string literals, but rather sourced from a resource file (so that they can be translated, proofed, etc). Consequently, Eclipse can be configured to detect string literals, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)