eclipse select multiple lines code example
Example 1: eclipse select multiple lines
shift + alt + a
Example 2: eclipse add cursor
Press alt + shift + A to Toggle block selection
(Toggle block / column selection in the current text editor),
this will let you write vertically in eclipse,
then you can easily do this.