Visual Studio Code
Editor actions
Use Cortex with selected code, notebook cells, and browser artifacts.
Select code in a file, open the editor context menu, and choose a Cortex action.
| Command | Command ID |
|---|---|
| Explain Selection | pervazivai-cortex.explainEditorSelection |
| Fix Selection | pervazivai-cortex.fixEditorSelection |
| Generate Tests for Selection | pervazivai-cortex.generateTestsForEditorSelection |
| Review Selection | pervazivai-cortex.reviewEditorSelection |
| Document Selection | pervazivai-cortex.documentEditorSelection |
| Ask Cortex About Selected Notebook Cells | pervazivai-cortex.askNotebookCells |
| Preview Browser Artifact | pervazivai-cortex.previewBrowserArtifact |
Review generated edits before committing them. Notebook and artifact actions appear only when the relevant editor context is available.

