You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copy file contents button in the Files panel (desktop/web)
#21758
Add a Copy contents button (and a matching context-menu item) to the desktop/web Files panel header that copies the whole file's loaded text to the clipboard.
Why
A common flow: the agent prepares a complete config file (for example a full Tailscale policy) and links it in chat. You then need to paste all of it somewhere else, such as an admin console. Selecting it by hand doesn't work well today:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Idea
Add a Copy contents button (and a matching context-menu item) to the desktop/web Files panel header that copies the whole file's loaded text to the clipboard.
Why
A common flow: the agent prepares a complete config file (for example a full Tailscale policy) and links it in chat. You then need to paste all of it somewhere else, such as an admin console. Selecting it by hand doesn't work well today:
Even once #15927 is fixed, a one-click copy is faster and less error-prone than select-all on a long file.
Suggested behaviour
Related: #17984 (the same "Copy raw text" action for linked files on iOS), #7481 (Copy Path in the Files panel context menu), #15927.
All reactions