As a student of Classics and university and an IT professional, one of the key phrases in my life is a saying of the ancient Athenian lawgiver: “As I grow old, I always learn more.” One of the beauties of XPages is you can always learn more. Sometimes it’s through the pain of incompatibilities of different pieces of technology; sometimes it’s deliberately, whether at leisure to advance one’s personal skill-set or out of necessity for a current project; and sometimes it’s completely by accident.
This is one of those purely accidental pieces of learning. Doubtless it is standard Eclipse functionality, like so much of the goodness in Domino Designer since 8.5.0 (I’ll come back to that in another blog post). But in the Source pane of an XPage or Custom Control you can use Ctrl + Shift + Down to navigate to the next sibling XML element, and Ctrl + Shift + Up to navigate to the previous sibling XML element. Although the Outline view enables developers to easily navigate between XML elements, this bit of functionality is certainly one of those I expect to use in the future.
alt+up arrow/down arrow also moves blocks of code up/down 1 line at a time… very handy
Very useful tip, Jeremy. I have no doubt I’ll use that one too.
Nice catch Paul. I’ll be using this as well in Future. The same applies to Jeremy’s note.