You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Eclipse tips (For Version 3.5(Gelileo))

Created on Dec,7th,2009

File Accociations

Window -> Preferences -> General -> Editors -> File Associations

Annotations color

Window -> Preferences -> General -> Editors -> Text Editors -> Annotations

I like to change the "Occurences" color to orange or purple, which can be more easily noticed then the default color of grey.

JSEclipse

JSEclipse is an editor for javascript. It supports AJAX, and the Outline feature is more precise then others, as far as I have ever tried.

Project Homepage

http://www.interaktonline.com/Products/Eclipse/JSEclipse/Installation-Update/

Update site

http://download.macromedia.com/pub/labs/jseclipse/autoinstall/Remember to set it as default editor for .js files

Amateras - my favorite XML editor

Project Homepage

http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=EclipseHTMLEditor

Remember to set it as default editor for .xml .html .htm files

XML Validation errors

Amaters says the file web.xml gernerated by Java5 has errors. To ignore such warnings, you can turn off the checker by:Right click your bq. project will show you "Properties for your-project-name"

-> Amateras -> Uncheck "XML Validation", Check "Remove markers when editor is closed"(at the bottem part of the window)

Buttons click bug under Ubuntu 9.10

Env:

Ubuntu 9.10 with Eclipse 3.5(Downloaded from Eclipse website, not installed from Synaptic).
Some buttons in eclipse window do not response to mouse click (A little more precisely saying, it does not response to mouse release events)

*Solution:

  • Before staring eclipse, set the environment variable of GDK_NATIVE_WINDOWS=1

    bash$ export GDK_NATIVE_WINDOWS=1

    bash$ eclipse

Problem: When using eclipse restart function, the environment variable will not be set. So you have to avoid use restart function in eclipse.

See here for details.

SVN Support

You have to change the default JVM to Sun's java but not the openjdk which is default JVM on Ubuntu. For my test, SVN connector does not work well under openjdk.

To change default jvm: read here

With Mylyn project installed, install following plugins:

Galileo - http://download.eclipse.org/releases/galileo -> Collaboration

Subersive SVN Team Provider (Incubation)

Subersive SVN Intergration for the Mylyn Project(Optional) (Incubation)

Subversive SVN Connectors Site - http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/

Subversive SVN Connectors

After restart the eclipse, It will prompt you to select Connectors to install. I installed SVNKIT 1.1.7 1.2.2 1.3.0

Reference: Here

  • No labels