AI Productivity

Copy Code Blocks

A copy button on every fenced code block, wherever Markdown renders — Markdown previews, Reader mode, chat messages, sticky notes, Tasks and the skill editor. One click lifts the whole snippet without selecting it.

Copy Code Blocks

Why You Need This

How this feature boosts your daily productivity

Dragging a selection across a code block in a terminal is a small, constant annoyance: you catch the line numbers, you miss the last line, you pick up the prompt character, and then you clean it up by hand in the editor. A copy button in the block header takes exactly the code and nothing else, and it is in every surface that renders Markdown rather than only the one place it was first added — so the muscle memory works everywhere.

How It Works

Get started in 4 simple steps

1
1

Render some Markdown

Any surface that renders Markdown works — Markdown previews, Reader mode, chat messages, sticky notes, Tasks and the skill editor.

2
2

Find the button in the block header

A fenced code block shows its language on the left and a Copy button on the right of its header bar.

3
3

Click once

The whole snippet goes to the clipboard — no line numbers, no prompt characters, no half-caught last line.

4
4

Paste it clean

What lands in your editor is the code exactly as it was fenced, so there is nothing to tidy up afterwards.

Without 1DevTool

The manual way vs. the 1DevTool way

The Hard Way

# Drag a selection across the code block
# Catch the line numbers
# Miss the last line
# Pick up the prompt character
# Clean it up by hand in the editor

The 1DevTool Way

Click Copy in the block header.
The whole snippet, and nothing else.
Every surface that renders Markdown.
Paste it clean.

Key Capabilities

Everything included with Copy Code Blocks

Copy a fenced code block in one click from its header bar
Use it in Markdown previews and Reader mode
Use it in chat messages, sticky notes and Tasks
Use it in the skill editor
Take the code alone, without line numbers or prompt characters

Why It Matters

The productivity impact of having ai productivity built into your workspace

Searchable Prompt Library

Every prompt you've ever sent is captured and searchable. Find and reuse your best AI interactions.

Visual AI Communication

Annotate screenshots and embed them in prompts. Show your AI agent exactly what you see.

Session Knowledge Base

AI conversations become searchable history. Find how you solved a similar problem last week.

Power Navigation

Command palette gives you instant access to any feature. Navigate 1DevTool at the speed of thought.

Ready to boost your workflow?

Download 1DevTool for free and experience Copy Code Blocks along with 170 other features — all in one app.