Use AI in Editor
- Place the caret anywhere in the editor and right-click to open the context menu (Autodev AI AutoAction).
Alternatively, place the caret anywhere in the editor and press
⌥
+Enter
- Select AI Actions

Chat with this code
Test this
AutoDev will auto create test file, and insert code to test file