To quickly prototype some code, you can create a temporary file (without giving it a name or storing it in your project). Press &shortcut:NewScratchFile; (File | New | Scratch File) and confirm the file type.