Code IndicatorCode Indicator is a VS Code extension built for CLI coding agents such as Codex, Claude Code, and OpenCode. It copies or sends the current editor location in an WhyCLI coding agents work best when they receive precise code locations. Instead of manually typing paths and line numbers, Code Indicator lets you select code, right-click, and send the location directly to your terminal. When no text is selected, Code Indicator uses the cursor position. Commands
Each command is available from the Command Palette, editor context menu, and VS Code Keyboard Shortcuts. Embedded TerminalCode Indicator includes an activity bar view with an embedded terminal. Sending a location starts the embedded terminal when it is available, focuses it, and writes the location using the configured trailing character. The view toolbar can spawn, kill, restart, or open settings for the Code Indicator terminal. Killing the terminal keeps the view open and clears the stopped session output. On macOS, the embedded terminal sends distinct Image PastePaste an image into the embedded terminal. Code Indicator saves the image in After saving the image, Code Indicator inserts a Markdown image link. Code Indicator does not add a leading space.
The Code Indicator supports PNG, JPEG, GIF, WebP, BMP, AVIF, TIFF, and SVG images. The image size limit is 20 MB. SettingsSettings are grouped into Terminal, Image Paste, and Context Menu. The terminal startup command is optional and runs when the Code Indicator terminal is spawned, reloaded, or auto-started by opening the view. Terminal focus after sending is enabled by default. The trailing character after a location or pasted image link defaults to a space. The editor context menu items can be shown or hidden individually. To use another image directory, enable Image links use relative paths for files inside the first workspace folder. Image links use absolute paths for files outside the first workspace folder.
Output Format
Positions are 1-based. The end position uses VS Code's exclusive selection end. Examples:
Paths are relative to the containing workspace folder. Files outside the workspace use absolute paths. LicenseMIT |
