typescript: quick-fix import not the default option
Answered
Quick fix for import as a default rule went gone. This was working OK in my setup, and I'm not sure if this is something I changed by configuring something or it went away because of a bug.
The problem is annoying as now the default action for a missing symbol is to create a module instead of importing it.

If I click on “More actions…” then all the more sense actions appears:

Anyone has a clue on why is that? Or how can I restore it back?
Thanks
Please sign in to leave a comment.
As far as I understand, you faced this issue in a NestJS project. I tested a basic example(https://docs.nestjs.com/first-steps#setup) and the import is suggested as expected. Please refer to the attached screenshot. Could you please test my example? If the problem is not reproduced here, share your project with us.
Natalia Soshenko I managed to get it working. Not sure what changed though. The project is a multi module project I configured back in 2023. I've reconfigured the Project Structure by removing the parent folder that was listed as module and re-indexed the project. That made it work. Thanks for your reply and suggestion.