Composer forces you to open a random file, otherwise it cannot see the folder context

If you want to import a @folder context into your composer prompt, you first need to open a random file from that same folder, otherwise it doesn’t show it as an option.