Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Recently Focused FilesNew to Visual Studio Code? Get it now.
Recently Focused Files

Recently Focused Files

Mark Samios

| (0) | Free
Tracks files you focused on
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Focus Files

An extension to keep track of important files by marking them as focused and accessing them quickly from a dedicated view. In many situations it can be used instead of the default open editors in VSCode to access marked files instad of opened files. Sekect one or multiple files in the Explorer then right-click and hit Add to Focused Files.


Support This Project

If you find this extension useful, you can support development via PayPal: PayPal Thank you for helping keep this extension maintained and improving!


✨ Features

  • 📌 Mark the current file as focused
  • 📁 Add files directly from the Explorer (right-click)
  • 🔁 Re-marking a file moves it to the top (priority)
  • ❌ Remove individual files
  • 🧹 Clear all focused files (with confirmation)
  • 💾 Persistent state (restored after reload)
  • 🧠 Automatically skips deleted files on reload
  • 🔢 Configurable maximum number of focused files
  • 🖱️ Supports multi-select in Explorer

📂 Focus Files View

  • Located in the Explorer sidebar
  • Displays a list of your focused files
  • Shows file name + relative path
  • Click a file to open it

When empty, a placeholder message is shown:

Use to add files.


🚀 Commands

Command Description
Focus Files: Mark File Add current or selected file(s) to focused list
Focus Files: Remove File Remove a file from the list
Focus Files: Clear Files Remove all focused files

🖱️ Usage

From Editor

  • Open a file
  • Run command: "Mark File"
  • (Optional) Use your keybinding

From Explorer

  • Right-click a file (or multiple files)
  • Click "Add to Focused Files"

⚙️ Configuration

Available in VS Code Settings:

{
  "focusFiles.maxItems": 10
}
Setting Description
focusFiles.maxItems Maximum number of focused files

⌨️ Keybindings

You can assign a shortcut via:

File → Preferences → Keyboard Shortcuts

Search for: Focus Files: Mark File

🧾 License

GNU General Public License (GPL) v3

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