Anyone with this link can collaborate in real-time:
Select code in the editor, then choose a refactoring option: