Auto-suggest creating missing style files from imports
One thing I really appreciate in Cursor is how it instantly completes import styles from ‘./Component.module.scss’ as soon as I create an index.tsx file. Feels great.
But I keep thinking — why stop there?
If I write:
import styles from './About.module.scss'
…and the file doesn’t exist, why not have Cursor say:
“This file doesn’t exist — create it?”
Even better — when I click “New File…” in a folder like about/, maybe suggest About.module.scss right away if I’m editing index.tsx. Just like autocompletion, but for files.
This would seriously speed up flow when working with lots of components and style modules.
Cursor already feels ahead of the curve — this would push it even further.