Lesson

Run an AI Refactor on Every File in a Directory with Cursor

Access
Pro
Transcript
Available

With Cursor's "Composer" feature, you can select and entire directory and make changes to every file. This video walks through the process of selecting a folder and refactoring all the files from JavaScript to TypeScript. It also demonstrates other tips around generating terminal commands and customizing your main Cursor "Rules for AI".