Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Temp FoldersNew to Visual Studio Code? Get it now.
Temp Folders

Temp Folders

Paolo

|
12 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

⚡ VS Code Temp Folders

Manage temporary folders directly from VS Code.
Perfect for code snippets, quick tests, disposable projects, or ephemeral sessions. Keep your workspace clean and your workflow fast.


✨ Features

🚀 Instant Creation

  • One-Click Temp Folders: Create a new temporary folder instantly.
  • Templates: Start faster with built-in templates:
    • Empty
    • Web Project (HTML/CSS/JS)
    • Python Script
    • Node.js Project
    • Notes

💬 Commenti sulle righe BETA

Puoi aggiungere commenti a qualsiasi riga di codice nei file delle cartelle temporanee.

  1. Fai clic destro su una riga -> Aggiungi commento.
  2. Scrivi il tuo commento e clicca su Invia (o icona spunta).
  3. Un simbolo 💬 apparirà a fine riga.
  4. Passa il mouse sul simbolo e clicca "Apri Commento" per rivederlo o modificarlo. I commenti sono salvati in .tempfs/comment.json.

⚡ Ephemeral Sessions

  • Auto-Destruct: Create "Ephemeral Sessions" that are automatically deleted when you close VS Code.
  • Safe Playground: Perfect for testing dangerous scripts or quick experiments you definitely don't want to keep.
  • Zero Clutter: No manual cleanup required. The extension handles it for you silently in the background.
  • Cross-Platform: Works seamlessly on Windows, macOS, and Linux.

🔗 TempFS Path Decorations (New!)

  • Smart Path Display: Use tempfs://<folder-name> in your code - it visually displays as a short path but stores the full absolute path.
  • Auto-Complete: Type tempfs:// and get IntelliSense suggestions for all your temp folders.
  • External Tool Compatible: Scripts and tools see the real absolute path, while you see clean, readable paths.
  • Perfect for Scripts: Share Python/Node scripts that reference temp folders without hardcoding absolute paths.

📋 Clipboard Magic

  • Paste as Folder: Have a code snippet in your clipboard? Just run Create from Clipboard.
  • Auto-Detection: The extension automatically detects the language (Python, JS, HTML, etc.) and creates the appropriate file extension.

🖱️ Drag & Drop

  • Seamless Integration: Drag files or folders from your OS directly into the Temp Folders view to create instant copies.
  • Import: Drag files into an existing temp folder to copy them there.

🛠️ Power Tools

  • Snapshots: Create timestamped backups of your temp folders before making experimental changes.
  • Export: Save your work? Export any temp folder to a permanent location or as a .zip file.
  • Link Existing: Manage existing folders on your disk as if they were temporary (without deleting them).

🎮 Commands

Command Description
Temp: Create temporary folder Create a new folder (with template selection).
Temp: Create Ephemeral Session Create a self-destructing session (auto-deletes on exit).
Temp: Create from Clipboard Create a folder from clipboard content.
Temp: Link existing folder Add an external folder. Smart Link: Detects open workspaces.
Temp: Rename folder Rename a folder (handles open files gracefully).
Temp: Create Snapshot/Backup Regular Folders: Duplicate with timestamp.
Ephemeral Sessions: Save/Convert to a permanent folder.
Temp: Export as ZIP Save the folder as a .zip file.
Temp: Close folder Remove the folder from the current workspace.

📦 Installation

Install via the VS Code Marketplace or download the .vsix package.

📋 Requirements

  • VS Code ^1.60.0

📝 Release Notes

1.2.12

  • 🔧 Technical Improvements: Updated TypeScript target to ES2020 for better compatibility with modern features.
  • 💬 Comment: Added support for comments on lines of code (BETA).
  • 🔧 Enable Developers: Added support for enabling developers mode to enable features (BETA).
  • 🪟 Link: Added support for linking open workspaces to the temp folders view.
  • 🐛 Bug Fixes: Fixed regex compatibility issues.

1.2.10 - 1.2.11

  • 🐛 Bug Fixes
  • 🪟 Cross-Platform Improved cross-platform reliability for ephemeral session cleanup.
  • 📝 Language Detection Improved language detection for clipboard content.
  • 🎨 New Icon: Improved icons.
  • 📝 Ephemeral Backup: Once the snapshot of the ephemeral folder is saved, it will no longer be an ephemeral folder but a regular folder.

1.2.8 - 1.2.9

  • 🔇 Silent Cleanup: Ephemeral folder cleanup is now completely invisible.
  • 🔗 TempFS Path Decorations: New tempfs://<folder-name> syntax with auto-complete and visual decorations.
  • 📦 Update Notifications: README now opens on every update, not just first install.
  • 🐛 Bug Fixes: Improved cross-platform reliability for ephemeral session cleanup.
  • 🎨 New Icon: Improved icons.

1.2.4 - 1.2.7

  • Ephemeral Sessions: Added support for self-destructing sessions.
  • Auto-Cleanup: Robust cleanup process ensures ephemeral folders are removed even if files were open.
  • Update Notifications: Automatically shows release notes on update.
  • UI Improvements: Better icons and visual cues for ephemeral sessions.

1.2.1 - 1.2.3

  • Close Folder: Added command to close folders from the context menu.
  • Templates: Added support for project templates (Web, Python, Node, etc.).
  • Drag & Drop: Full support for dragging files into the view.
  • Clipboard: Smart language detection.
  • Rename: Fixed EBUSY errors on Windows.

Enjoy a cleaner workspace! 🧹

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft