Dynamically insert code from Cody chat into your files with Smart Apply
Alex IskenAugust 21, 2024Cody,VS Code,Chat,v1.32
Chat-oriented programming (CHOP) is a new paradigm for chatting with AI to work through problems, write code, and build solutions. CHOP is now even more powerful with the Smart Apply feature, which lets you take suggestions from Cody in the chat and near-instantly turn them into diffs in your code.
Whenever Cody provides a code block as a suggestion in chat, press Apply, and Cody will analyze your open code file, find where that relevant code should live, and introduce a diff. For chat messages where Cody presents multiple code suggestions, you can apply each in sequence to go from chat suggestions to written code in only a few seconds.