Skip to content

Commit 1028bb0

Browse files
authored
Add docs for Execute with SmartApply (#692)
Docs for Execute command
1 parent addec60 commit 1028bb0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/cody/clients/install-vscode.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,13 @@ For customization and advanced use cases, you can create **Custom Commands** tai
273273

274274
## Smart Apply code suggestions
275275

276-
Cody lets you dynamically insert code from chat into your files with **Smart Apply**. Every time Cody provides you with a code suggestion, you can click the **Apply** button. Cody will then analyze your open code file, find where that relevant code should live, and add a diff.
276+
Cody lets you dynamically insert code from chat into your files with **Smart Apply**. Every time Cody provides you with a code suggestion, you can click the **Apply** button. Cody will then analyze your open code file, find where that relevant code should live, and add a diff. For chat messages where Cody provides multiple code suggestions, you can apply each in sequence to go from chat suggestions to written code.
277277

278-
For chat messages where Cody provides multiple code suggestions, you can apply each in sequence to go from chat suggestions to written code.
278+
Smart Apply also supports the executing of commands in the terminal. When you ask Cody a question related to terminal commands, you can now execute the suggestion in your terminal by clicking the `Execute` button in the chat window.
279+
280+
<video width="1920" height="1080" loop playsInline controls style={{ width: '100%', height: 'auto', aspectRatio: '1920 / 1080' }}>
281+
<source src="https://storage.googleapis.com/sourcegraph-assets/Docs/Media/cody-vscode-1.36-command-execute.mp4" type="video/mp4" />
282+
</video>
279283

280284
## Keyboard shortcuts
281285

0 commit comments

Comments
 (0)