NextJS Instruct AI
Privacy
The following will be sent through OpenAI's API on each request:
- The pathname of the open file, relative to the repo
- The contents of the open file
- Your instruction
Other than that, nothing is collected or persisted.
Installing
- From VS Code,
Shift + CMD + X to open extensions marketplace
- Find and install NextJS Instruct AI
Using
- Navigate to a file you're working on, save any unsaved changes
Shift + CMD + P , search for NextJS Instruct AI, then Enter
- Write a descriptive instruction for a change you want to make to the file
- Watch the suggested diff get generated
CMD + S if you're happy with the changes
File > Revert File or spam CMD + Z to undo changes if not
Prompting
- Write in the imperative mood (Add a function to...)
- Be descriptive
- Try different wordings of the same instruction
Whitespace changes
Sometimes the edits interfere with line indentation - this is an intentional
speed optimisation...
Use prettier to format your code on save.
| |