Click the profile name in the status bar or run
Copy Path for Agent: Switch Copy Profile.
The command palette also provides commands to add, edit, and delete profiles.
All settings are available under Settings → Extensions → Copy Path for
Agent.
Each profile has:
A unique ID and display name.
A reference template.
A space or newline separator for multiple references.
Template variables
Variable
Value
{relativePath}
Workspace-relative file or folder path.
{absolutePath}
Absolute path from the current VS Code environment.
{relativeDirectory}
Workspace-relative parent directory.
{absoluteDirectory}
Absolute parent directory.
{fileName}
File or folder name.
{startLine}
1-based start line, or empty when unavailable.
{endLine}
1-based end line, or empty when unavailable.
{lineRange}
A line or range such as 5 or 5-10.
{fileUri}
The VS Code resource URI.
Optional sections prevent punctuation from appearing when a value is empty: