show_code
Open a file in VS Code and highlight specific line ranges to show code without explanations, ideal for pointing out, jumping to, or displaying code on request.
Instructions
Open a file in VS Code and highlight specific lines without any explanation bubble. Use when the user asks to show, open, jump to, or point at specific code with no commentary needed. Do NOT use when you need to explain what the code does — use the walkthrough tool with a step that includes an explanation. Do NOT use for multi-step tours — use walkthrough with multiple steps. Line numbers are 1-based; character offsets are 0-based.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the file | |
| line | Yes | Start line (1-based) | |
| endChar | No | End character (0-based) | |
| endLine | No | End line (1-based) | |
| startChar | No | Start character (0-based) |