No description
  • TypeScript 94.7%
  • JavaScript 5.3%
Find a file
2026-06-09 21:37:58 -04:00
.vscode init 2026-05-31 18:54:21 -04:00
src Remove sort notification 2026-06-03 21:30:12 -04:00
.gitignore init 2026-05-31 18:54:21 -04:00
.vscode-test.mjs init 2026-05-31 18:54:21 -04:00
.vscodeignore init 2026-05-31 18:54:21 -04:00
CHANGELOG.md init 2026-05-31 18:54:21 -04:00
eslint.config.mjs init 2026-05-31 18:54:21 -04:00
package-lock.json Use dayjs instead of manually formatting 2026-05-31 20:07:32 -04:00
package.json Update toggle sort button icon and hover text 2026-06-03 21:20:24 -04:00
README.md Update README (generated by gemini) 2026-06-09 21:37:58 -04:00
tsconfig.json Add option to use foam titles 2026-06-02 22:29:14 -04:00
vsc-extension-quickstart.md init 2026-05-31 18:54:21 -04:00

Recent Modified Files for VS Code

Keep track of your most recently modified and created files directly in the VS Code Explorer. This extension provides a convenient view to quickly jump back to files you've been working on, with support for custom sorting, date formatting, and special integration for Foam/Markdown users.

Features

  • Automatic Tracking: Automatically tracks files as you save them.
  • Dedicated Sidebar View: Adds a "Recent Modified Files" section to the Explorer view.
  • Customizable Sorting: Toggle between sorting by Modified Date or Created Date directly from the view title bar.
  • Foam/Markdown Support: Option to display Foam titles (first H1 or YAML frontmatter) instead of filenames for Markdown files.
  • Flexible Formatting: Customize how timestamps are displayed using standard date tokens.
  • Management Tools: Easily refresh the list, remove individual items, or clear the entire history.

Usage

Once installed, look for the Recent Modified Files view in your Explorer activity bar (it uses the history icon 🕰️).

Commands

  • Refresh: Update the list manually.
  • Sort: Click the sort icon in the view title to toggle between "Sorted by Modified" and "Sorted by Created".
  • Remove from List: Right-click any file in the list and select "Remove from List" (or use the inline close icon).
  • Clear All: Wipe the entire history of recent files.

Configuration

You can customize the extension via your VS Code Settings (Ctrl+, or Cmd+,):

Setting Type Default Description
recentModifiedFiles.maxFiles number 30 Maximum number of recent files to show in the panel.
recentModifiedFiles.dateFormat string YYYY-MM-DD, hh:mm:ss A The format of the modification date using dayjs tokens (e.g., YYYY, MM, DD, hh, mm, ss, A).
recentModifiedFiles.useFoamTitle boolean false When enabled, it will try to use the Foam title (first H1 or YAML frontmatter) of a Markdown file instead of its filename.
recentModifiedFiles.sortBy string modified Sort the files by modified date or created date.

Installation

  1. Open VS Code.
  2. Go to the Extensions view (Ctrl+Shift+X).
  3. Search for Recent Modified Files.
  4. Click Install.

Contributing

If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the repository.


Happy Coding! 🚀