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. SettingsThe editor context menu items can be shown or hidden individually. Terminal focus after sending is enabled by default. The trailing character sent to the terminal defaults to a space. The terminal startup command is optional and runs when the Code Indicator terminal is spawned, reloaded, or auto-started by opening the view.
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 |
