This feature lets the AI edit and write code inline right inside your files. The changes will be presented to you in an inline diff-view.
To edit existing code, select some code, click
Edit or use the edit shortcut, and describe how the code should be changed.
Edits also see the lint errors in your selection, so you can say something as simple as
To generate new code, place your cursor where you want your code to be generated, use the generate shortcut, and type what you want the AI to write.
The AI output from both methods can be further modified using the Follow-up instructions input, which always appears after the AI has finished writing the code.
Both methods can see the file they are currently being used in.