JetBrains Paste From History (Ctrl+Shift+V) Explained
In IntelliJ IDEA, PyCharm, WebStorm, Rider and other JetBrains IDEs, press Ctrl+Shift+V (Cmd+Shift+V on macOS) to open Paste from History, a list of your recent copies that you can search and paste from. According to JetBrains, the IDE keeps everything you copy inside it plus the last thing you copied outside it, and stores 100 entries by default. For a full history of copies from other apps, such as your browser, terminal or chat, use Windows clipboard history (Win+V) or a clipboard manager alongside it.
How to use Paste from History
- Put the cursor where you want to paste.
- Press Ctrl+Shift+V, or right-click in the editor and choose Copy / Paste Special > Paste from History.
- Start typing to filter the list, or use the arrow keys.
- Press Enter or click Paste.
You can also select several entries and paste them together. If Ctrl+Shift+V does nothing, another action or plugin may have taken the shortcut: open Settings > Keymap, search for "Paste from History" and check or reassign its shortcut.
The same feature works across the IntelliJ-based IDEs, including PyCharm, WebStorm, PhpStorm, GoLand, CLion, RubyMine, Rider and Android Studio, though a custom or non-default keymap can change the shortcut.
What it keeps, and what it doesn't
| JetBrains Paste from History | Windows clipboard history (Win+V) | |
|---|---|---|
| Copies made in the IDE | Yes | Yes |
| Copies made in other apps | Only the most recent one | Yes, all of them |
| Default size | 100 entries | 25 items |
| Paste into other apps | No, IDE only | Yes, any app |
| Formats kept | Text | Text, HTML and bitmaps |
The "last thing you copied outside" detail matters. If you copy three things in a browser and then switch to the IDE, only the third shows up in Paste from History. Win+V has all three.
To change how many entries the IDE keeps, search the IDE's Settings for "clipboard"; older versions had the limit on the Editor > General page.
Related paste and copy shortcuts in JetBrains IDEs
| Shortcut (Windows default keymap) | Action |
|---|---|
| Ctrl+Shift+V | Paste from History |
| Ctrl+Alt+Shift+V | Paste as Plain Text |
| Ctrl+Alt+Shift+C | Copy Reference (a reference to the symbol, or the file and line) |
By default, a normal paste in a JetBrains editor is "smart": for example, pasting several lines into a comment adds the comment markers. Use Paste as Plain Text when you want exactly what was copied. JetBrains IDEs can also compare a selection with the clipboard; how to diff two copied code snippets covers that and the VS Code equivalent.
Copies from the editor can also carry formatting. The Copy (Ctrl+C) as rich text option under Settings > Editor > General > Rich-Text Copy decides whether code pasted into Word or Outlook keeps its colours; pasting code into Word, email and chat covers the receiving side.
When to use Win+V or a clipboard manager instead
Use the IDE's history for code you copied in the IDE. Reach for Windows clipboard history or a dedicated manager when:
- The source is another app. A stack trace from a terminal, a URL from a browser or a snippet from chat.
- The destination is another app. Paste from History only pastes into the IDE; Win+V pastes into anything.
- You need images or files. Win+V keeps screenshots; some clipboard managers also keep copied files.
- You need history after a restart. Win+V keeps only pinned items after a restart; many third-party managers keep their whole history.
To use Win+V in the IDE, turn on clipboard history in Settings > System > Clipboard, then press Win+V in the editor and click an item. Using Windows clipboard history day to day covers pinning and clearing, and best clipboard manager for developers compares Ditto, CopyQ and others.
A note on secrets
Because the IDE keeps the last thing you copied elsewhere, a password or token copied from another app can appear in Paste from History, and Win+V may keep it too if the app didn't mark it as private. Copy secrets as rarely as you can, and clear Win+V history after you do. Clipboard tips for developers has more on keeping credentials out of history.
How it compares with VS Code and Visual Studio
Visual Studio has its own clipboard ring (Ctrl+Shift+V cycles through recent copies). VS Code has no built-in clipboard history at all; Ctrl+Shift+V there opens Markdown preview. Does VS Code have clipboard history? covers the VS Code options.
FAQ
Does Paste from History survive an IDE restart?
JetBrains' documentation doesn't say it does, so don't rely on it. Pin anything you need later in Win+V or keep it in a file.
Why is the shortcut different on my machine?
You may be using a different keymap, such as a VS Code or Eclipse keymap, or a plugin may have reassigned it. Check Settings > Keymap.
Related reading
- Does VS Code Have Clipboard History? Extensions vs Win+V
- Clipboard Tips for Developers on Windows
- Best Clipboard Manager for Developers in 2026
- How to Use Clipboard History in Windows 11 (Win+V Tips)
Sources
- Cutting, copying and pasting (IntelliJ IDEA docs) — Paste from History, 100-entry default, Paste as Plain Text, Copy Reference, smart paste.
- Clipboard History (JetBrains Guide) — copies inside the IDE plus the last one outside, searching and pasting several entries.
- Editor general settings (IntelliJ IDEA docs) — Rich-Text Copy.
- Using the clipboard (Microsoft Support) — Win+V limits, formats and restart behaviour.
- Keyboard shortcuts in Visual Studio (Microsoft Learn) — the clipboard ring.
Deepender Yadav created Edge Drop and builds and tests it, from the edge-hover shelf to each release. A B.Tech Computer Science Engineering student, Deepender writes the Edge Drop guides, comparisons and developer posts, and checks product details against the app's source code.
GitHub · LinkedInCopy. Stack. Drop.
Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.
Download for Windows Get from Microsoft Store
How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge Drop vs Win+V · Support
Free · Lightweight · Privacy First