A list that shows the most recently opened files in the project. It helps users quickly navigate back to files they were working on without searching manually.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
This VS Code extension tracks recently used files on a per-project basis and provides quick access to them. It maintains separate file history for each workspace and offers a favorites feature.
🚀 Features
📁 Project-Based File Tracking
Separate recent files list for each workspace/project
Files are automatically added to the list as they are opened
Most recently used files appear at the top
⭐ Favorite Files
Mark files as favorites
Favorite files always appear at the top of the list
Favorite status is preserved when VS Code is restarted
🗂️ Custom Activity Bar Panel
Dedicated "Recent Files" section in the Activity Bar (sidebar)
File names and relative paths are visible
Icons based on file type
Always visible and accessible
🎮 Interactive Controls
File Opening: Click on file name to open directly
Favorite Toggle: Use star icon to change favorite status
Remove: Use trash icon to remove from list
Clear All: Option to clear entire list
📥 Installation
From VSIX Package
Download the latest .vsix file from the Releases page
Open VS Code
Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open Command Palette
Type "Extensions: Install from VSIX..."
Select the downloaded .vsix file
Restart VS Code if prompted
From Source Code
Clone the repository: git clone https://github.com/HasancanCakicioglu/recent-files.git
Navigate to the project directory: cd recent-files
Install dependencies: npm install
Build the extension: npm run package
Install the generated .vsix file
📋 Usage
Basic Usage
Extension Activation: Automatically activates when workspace is opened
File Tracking: Files are automatically added to the list when opened
Quick Access: Click on files from the "Recent Files" section in the Activity Bar
Keyboard Shortcuts
Ctrl+Alt+F (Windows/Linux) / Cmd+Alt+F (Mac): Toggle favorite for active file
Commands (Command Palette)
Recent Files: Toggle Favorite for Active File: Mark active file as favorite
Recent Files: Clear All Recent Files: Clear all recent files