forked from citation-style-language/styles
-
Notifications
You must be signed in to change notification settings - Fork 0
jEdit
rmzelle edited this page May 5, 2012
·
2 revisions
jEdit is an open source cross-platform Java-based text editor. Many useful features for editing XML can be added by installing its "XML" plugin:
- Install jEdit
- Run jEdit, and open the Plugin Manager ("Plugins" > "Plugin Manager..."). Go to the "Install" tab, select the "XML" plugin and click the "Install" button (this will also install the "SideKick" plugin). The plugin will add an "XML" menu entry in the "Plugins" menu.
- CSL XML files should preferably be indented with 2 spaces per level. Indentation settings can be set via "Utilities" > "Global Options..." under jEdit/Editing. Set "Tab width" and "Indent width" to "2", and check the "Soft (emulated with spaces) tabs" check box. You can now automatically (re)indent your XML file via "Plugins" > "XML" > "Indent XML".
- To enable real-time validation against the CSL schema, download (and unzip) the CSL 1.0 schema. Select the schema in jEdit ("Plugins" > "XML" > "Set Schema...", click the "Browse..." button, and select the "csl.rnc" file). Check the "Parse on Keystroke" option found under "Plugins" > "SideKick" to enable real-time validation.