Create scratch files

Turn show line numbers off and on

Use ⇧⌘N (macOS) or Ctrl+Alt+Shift+Insert (Windows/Linux) to create a new scratch file. If you have content selected, the new scratch file will contain that content.

Related Resources

Creating code
IntelliJ IDEA will help create code for you
Using regex
Using language injection to work with Regex
Related problems
Use IntelliJ IDEA's inlay hints to navigate to Related Problems