This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
it:eclipse [2012/01/24 12:50] Alexander Rind created |
it:eclipse [2014/10/20 09:50] (current) Alexander Rind GUI Editor |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Text File Character Encoding ===== | ===== Text File Character Encoding ===== | ||
- | Rationale: Non-ASCII characters should be avoided in source code but sometimes they are necessary (e.g., a German resource bundle). I recommend setting the character encoding to **UTF-8** for all text files to ease future reuse and cross platform development. AFAIK the default setting on Windows is ''Cp1252''. | + | __Rationale:__ Non-ASCII characters should be avoided in source code but sometimes they are necessary (e.g., a German resource bundle in XML format). I recommend setting the character encoding to **UTF-8** for all text files to ease future reuse and cross platform development. AFAIK the default setting in Eclipse on Windows is ''Cp1252''. |
+ | {{:it:eclipse-character-encoding.png?nolink&|}} | ||
+ | |||
+ | Setting text file character encoding for a Eclipse project. | ||
+ | |||
+ | __Warning:__ Java expects simple properties files in ISO 8859-1 character encoding [[http://docs.oracle.com/javase/6/docs/api/java/util/Properties.html]] | ||
+ | |||
+ | ===== Tune Compiler Warnings for a Project ===== | ||
+ | |||
+ | __Rationale:__ Legacy projects (e.g., prefuse) might be full of sub-optimal code such as missing ''serialVersionUID'' fields. | ||
+ | |||
+ | {{:it:eclipse-compiler-warnings.png?nolink&|}} | ||
+ | |||
+ | |||
+ | ===== Eclipse Marketplace ===== | ||
+ | |||
+ | http://stackoverflow.com/questions/5285623/how-do-i-install-eclipse-marketplace-in-eclipse-classic | ||
+ | |||
+ | ===== XML Editors and Tools ===== | ||
+ | |||
+ | tested on Eclipse 3.7.1 Classic (Indigo) | ||
+ | |||
+ | - start Eclipse | ||
+ | - Help -> Install New Software... | ||
+ | - Work with -> select from combobox "Indigo repository - http://download.eclipse.org/releases/indigo" | ||
+ | - ... wait a long time ... | ||
+ | - open category "Web, XML, Java EE and OSGi Enterprise Development" | ||
+ | - select "Eclipse XML Editors and Tools" | ||
+ | - optionally also select "Eclipse XSL Developer Tools" | ||
+ | - Next | ||
+ | - optionally click away and error about Eclipse Marketplace | ||
+ | - Next | ||
+ | - Accept license and Finish | ||
+ | - ... wait a long time ... | ||
+ | - On request restart Eclipse | ||
+ | |||
+ | ===== GUI Editor ===== | ||
+ | |||
+ | recommended by Markus Wagner: | ||
+ | http://download.eclipse.org/windowbuilder/WB/integration/4.3/ | ||
alex @ ieg: home about me publications research