Instead of expanding or collapsing element by element in your device, navigator or test script trees, simply use your numpad. The video explains how.
CODESYS Clip: Use keyboard shortcuts in CODESYS