I recently switched from Jetbrains Rubymine/Webstorm to VSCode.
One feature that I miss a lot is scratches.
Scratch files are fully functional, runnable, and debuggable files, which support syntax highlighting, code completion, and all other features for the corresponding file type. For example, while working on one project, you may come up with an idea for a method that you could later use in another project. You can create a scratch file with a draft of the method, which is not stored in your project directory but can be accessed and opened from another project. You can use scratch files to draft Java code constructs, HTTP requests, JSON documents, and so on.
Is there anything similar in VSCode? I did some research but without success.