create a custom shortcut to generate the getter and setter
<p>I know the traditional way in Windows  to generate getter and setter of some attributes in the class: Highlighting the fields --> Right click --> source --> Generate Getters and Setters  but is there anyway to create my own shortcut to do that?</p>

<p>What should I enter as name and pattern in this case?</p>

<p><a href="https://i.stack.imgur.com/OP6Aa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OP6Aa.png" alt="enter image description here"></a></p>