To access the Extract Interface refactor operation, you first must position your cursor on a class, a struct, or another interface definition that contains the members you want to extract into a new interface. You then can use the Quick Actions menu (Ctrl+.) to execute an Extract Interface refactor.
Tip
To invoke the Extract Interface operation from the keyboard, first position your cursor on the class, struct, or interface definition that contains the members you want to extract. Next, play the keyboard shortcut chord Ctrl+R, I.