Create getters and setters for struct fields
Generate the support code to access fields indirectly, via getters and setters
Would you like to access your struct fields through getters and setters? Use the dedicated Generate getter and setter action to automatically add all the necessary boilerplate code.
How to use: Select a struct field, then press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux) and choose Generate getter and setter from the list of available actions.
Choose which fields should have these methods generated, then press OK to generate them.



