IntelliJ IDEA
 
Get IntelliJ IDEA

Extract trait in Scala

Last modified: 09 May 2024

With the Extract Trait refactoring you can extract selected members from a Scala class, object, or a trait into a new trait. IntelliJ IDEA supports def, val, and var type members.