Use command completion (..) in #IntelliJIDEA to refactor and transform code. It offers all relevant actions to your context, so you can keep moving forward.
https://www.youtube.com/watch?v=HmppMIc9Lz4
Refactor and transform code with command completion

YouTube