[jboss-svn-commits] JBL Code SVN: r35124 - labs/jbossrules/trunk.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Sep 13 08:37:19 EDT 2010


Author: ge0ffrey
Date: 2010-09-13 08:37:18 -0400 (Mon, 13 Sep 2010)
New Revision: 35124

Modified:
   labs/jbossrules/trunk/README.txt
Log:
encoding documentation

Modified: labs/jbossrules/trunk/README.txt
===================================================================
--- labs/jbossrules/trunk/README.txt	2010-09-13 12:21:13 UTC (rev 35123)
+++ labs/jbossrules/trunk/README.txt	2010-09-13 12:37:18 UTC (rev 35124)
@@ -40,21 +40,33 @@
 
 Correct number of spaces for tabs:
 - Open menu "Window", menu item "Preferences".
-
 - Open tree item "Java", tree item "Code Style", tree item "Formatter".
 -- If you imported the trunk/eclipse-formatter.xml file,
-  you don't need to set it here, but you do need to set it for XML
+   you don't need to set it here,
+   but you do need to set it for XML anyway!
 -- Click button "Edit" of the active profile
 -- Tab "Indentation"
 --- Combobox "Tab policy": spaces only
 --- Indentation size: 4
 --- Tab size: 4
--- You might need to change the name of the active profile with the top textfield
-
+-- If it is a build in profile, you need to change its name with the textfield on top
 - Open tree item "XML", tree item "XML Files", tree item "Editor".
 -- Radio button "Indent using space": on
 -- Indentation size: 2
 
+Correct file encoding (UTF-8 except for properties files) and EOL (unix):
+- Open menu "Window", menu item "Preferences".
+- Open tree item "General", tree item "Workspace".
+-- Label "Text file encoding", radiobutton "Other", combobox "UTF-8"
+-- Label "New text file delimiter", radiobutton "Other", combobox "Unix"
+- Open tree item "XML", tree item "XML Files".
+-- Combobox "Encoding": ISO 10646/Unicode(UTF-8)
+- Open tree item "CSS", tree item "CSS Files".
+-- Combobox "Encoding": ISO 10646/Unicode(UTF-8)
+- Open tree item "HTML", tree item "HTML Files".
+-- Combobox "Encoding": ISO 10646/Unicode(UTF-8)
+- Note: i18n properties files must be in ISO-8859-1 as specified by the java ResourceBundle contract.
+
 License header
 --------------
 
@@ -85,7 +97,6 @@
 Configuring IntelliJ
 ====================
 
---
 Code style
 ----------
 
@@ -103,6 +114,14 @@
 -- Textfield "Indent": 2
 -- Textfield "Continuation indent": 4
 
+Correct file encoding (UTF-8 except for properties files) and EOL (unix):
+- Open menu "File", menu item "Settings".
+- Open tree item "Code Style", tree item "General".
+-- Combobox "Line seperator (for new files)": Unix
+- Open tree item "File Encodings".
+-- Combobox "IDE Encoding": "UTF-8"
+-- Combobox "Default encoding for properties files": ISO-8859-1
+
 License header
 --------------
 



More information about the jboss-svn-commits mailing list