Quick-Tip: Useful XML Editor Preferences

Sunday, December 7, 2014 at 4:48 AM UTC

I just stumbled upon a useful setting for the (XPages) XML editor that I want to share with you: I always asked myself how people managed to create a structured source code in the XPages XML editor with each attribute put in a separate line (as seen lately in the latest Extlib video by Brian Gleeson). Well, it's very simple as this is a setting. I also checked the setting for automatically removing any blank line in the code which will result in more compact and readable sources.

In the XPages source just right click and choose "Preferences" and tick the values as shown in the picture:

In the editor press CTRL-SHIFT-F to reformat the source. The result will look like this:






Latest comments to this post


Leave a comment right here

Latest comments

Lars Berntrop-Bos on The end of an era
Hogne B. Pettersen on The end of an era
Christian Brandlehner on Notes/Domino 12.0.2 FP1 is here