Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Fresh File ExplorerNew to Visual Studio Code? Get it now.
Fresh File Explorer

Fresh File Explorer

Frederik Hudák

|
38 installs
| (0) | Free
| Sponsor
A vscode file explorer which shows only recently modified files based on a combination of Git history and your pending changes
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Fresh File Explorer

Easily navigate recent changes based on your pending work and Git history.

Install

Marketplace | OpenVSX

Table of Contents

  • Features
    • Fresh File Explorer
      • Time Window Selection
      • Smart File Tree
      • Deleted File Support
      • Heatmap Coloring
      • Pinned section
      • Sync Status Notifications
      • Filtering
      • Grouping Modes
      • Quick Open
      • Context Menu Actions
      • Multi-Repository Support
    • Search Tools
      • Diff Search
      • Line and Function History
      • File History
      • Search in Fresh Files
      • Search in Found Files
      • Search Editor Actions
  • Use Cases
  • Extension Settings

Features

Fresh File Explorer

view

Time Window Selection

Switch between viewing pending (uncommitted) changes or files modified in configurable time periods. Pending Changes mode shows uncommitted changes (esentially what the Source Control view would give you)

time-windows

Smart File Tree

Files are grouped by directory structure, with file counts on folders. Auto-expands to configurable depth.

Deleted File Support

  • Deleted files appear in the tree, clearly indicated
  • Exhume: Open deleted file content in a read-only temp file (default action on clicking a deleted file)
  • Resurrect: Restores the exhumed file to its original location

resurrect

Heatmap Coloring

Toggle heatmap coloring to give files distinct colors based on their most recent edit. Brighter colors = more recent.

heatmap

This coloring is toggled in the Fresh Files view, but will also apply to the File Explorer.

Pinned section

At the top the tree, there is a special "pinned items" section. This is for files you want to keep handy independent of whatever the fresh file explorer is showing you. You can pin items with drag&drop or through the right click menu in the file explorer.

pinned section

  • Pin a non-fresh file you need to pay attention to, like a diagram or readme
  • Pin that critical file you've had on your desktop for the last 6 years. It does not have to be from your workspace.
  • Pin a deleted file
  • Pin a search editor (must be saved as a file)
  • Create short notes and use it as a todo list. They can be reordered and marked as complete.
  • Pin your sensitive API keys as notes. All the pros do it.

The pins are stored per workspace.

Sync Status Notifications

alt text Displays info at the top of the tree view:

  • When you are behind/ahead of the remote (meaning you need to push/pull)
  • When you are behind/ahead of the base branch (meaning you need to merge)

Both options can be individually disabled.

Filtering

  • Filter by Author: Hide files from specific authors
  • Filter by Commit: Hide files from specific commits
  • Clear filters
  • Filters are temporary and reset when changing time windows

filter-commit

Note: The extension tracks the most recent commit per file only. If a file was modified by both a filtered author and a non-filtered author within the time window, the file will be hidden entirely (because the most recent commit is what's filtered). This is a deliberate simplification - for deeper history analysis, consider using something like GitLens or learning more than 5 git commands.

Grouping Modes

Organize your files in different ways beyond the standard folder structure:

grouping modes

  • File Structure - Traditional folder hierarchy

  • Author - Files grouped by who last modified them

  • Commit Hash - One group per commit

As well as two additional groupings for advanced git blame use cases.

  • Moon Phase (git blame moon)

Uneven distribution of commits during the full moon can indicate werevolves among your contributors.

  • Planetary Retrograde (git blame universe)

Includes Pluto.

Note: This is astronomy (hard science), not astrology (garbage). If you want to know if you will have merge conflicts with the changes made by a sagitarius, you need to look elsewhere.

Quick Open

quick-open

Use "Fresh Files: Quick Open" to get a quick pick showing files from your Fresh File Explorer view. Type to filter by filename or path, then select a file to open it. This is similar to VS Code's Ctrl+P, but filtered to only your fresh files, with some additional actions on top.

Features:

  • Respects current time window, author and commit filters
  • Special filter options to refine the list
  • Special search option to trigger a fulltext search within these files
  • You can use the filter first and then search to narrow down the list
    • First filter for example "pending modified"
    • A second quick pick will be shown with only those files
    • Now the search action will search only pending modified files

Note: the quick open excludes deleted files. You'll have to access those from the tree.

Context Menu Actions

  • Open / Open to Side - will open either the file or a diff depending on your preference. If the file is already open in some editor group, it will be focused instead.
  • Reveal in Explorer / Source Control
  • Discard Changes (for pending files)
  • Resurrect (for deleted files)

Multi-Repository Support

Works with:

  • Folders containing multiple repos in subfolders
  • Multi-root workspaces
  • Worktrees

Submodules:

  • Submodules are shown in the tree but not their contents.
  • You can also see deleted submodules, but can't exhume them.

I wanted to do more with submodules just for the fun of it but turns out it's not fun at all.


Search Tools

The extension adds several search features.

Mode Question it answers Searches
Search in Fresh Files Where is x in my current work? File contents, on disk, scoped to fresh files
Search in Found Files I want to find y in all files that contain x. File contents, on disk, chained from a previous search
File History What's the full history of this file? Git log for an entire file, following renames
Diff Search When was x ever added or removed? Git diff history across all commits (pickaxe)
Line / Function History What's the full history of this function or code block? Git log for a specific line range or function name (log -L)

alt text

Diff Search

Answers the question "when was this string ever added or removed?"

Access through the editor right-click menu ("Search Diffs for Selection").

Results appear in a tree view grouped by file and commit, and each match can be clicked to navigate to it.

Line and Function History

l-history Access via right-click in the editor → "Line/Function History".

Based on your selection, shows every commit that touched those lines or that function, following renames. This is a wrapper of git log -L.

  • Single cursor / single line — treated as a function name (uses the word under the cursor as the funcname pattern)
  • Multi-line selection — treated as a line range

A / B comparison: Mark any two commits as A and B, then click Compare to open a diff between those two versions of the file.

File History

file history

Available via:

  • right-click menu in the Fresh File Explorer tree
  • right-click in the editor context menu

Search in Fresh Files

The search icon in the Fresh Files toolbar will open VS Code's search view with all currently visible files pre-filled in the "files to include" pattern. This lets you search only within the files you're actively working on, respecting your current filters and time window. This searches file contents on disk. To search the tree itself, use CTRL+ALT+F.

You can also trigger the search from the quick pick.

search

  • Respects author and commit filters
  • Excludes deleted files (they're not on disk to search)
  • Configure whether the search opens in the view or as an editor (default)

Search in Found Files

Problem: "I want to find b in all files that contain a."

Solution: Search for a, then use this action to open another search editor scoped to the files you found with your first search, then search for b. This process can be chained as many times as you want.

search in found files

The action is available only in search editors, not the search view. But you can easily open your search view as a search editor.

Configuration:

  • freshFileExplorer.openSearchInEditor: Open searches in a Search Editor tab instead of the Search view
  • freshFileExplorer.searchPatternMaxLength: Maximum pattern length per batch. Set a lower value if you encounter command-line length limits on your OS, or a higher value if your searches are getting batched. The default (4000 chars) is very conservative and can likely be set much higher on Linux.

When you have many files or very long paths, VS Code's underlying search mechanism (ripgrep) can hit OS command-line length limits. In this case, the file list will be split into batches which will open as separate search editors.

Search Editor Actions

search editor actions There are several new action buttons in the search editor results:

  • Search in found files - new search scoped to the files you found
  • Open all found files - opens all files as background tabs
  • Copy paths - copies all absolute or relative paths from the results

Use Cases

"I just cloned a large repo and don't know where to start"

You joined a new company and the codebase has thousands of files. Most haven't been touched in the last 75 years. But the file explorer shows everything, making it overwhelming to find where active development is happening.

Approach How it works Friction
Default VS Code Browse folders manually, maybe search for recent commits in Source Control High - requires mental context switching, no visual overview
GitLens Use "Commits" view to see recent commits, then navigate to files from there Medium - commit-centric view, extra clicks to open files
Fresh File Explorer Open the Fresh Files panel, see all files modified in last 30 days as a file tree Low - immediate visual overview, familiar tree navigation

"I swear this file was here at some point"

You remember a file existed, but it's not there. Was it renamed? Moved? Did you misremember the path? Have you been drinking again? It's someone else's fault this time, but you're questioning your own sanity.

Approach How it works Friction
Default VS Code Search for the filename, find nothing, assume you're wrong High - no hint that deletion occurred
GitLens Would need to think "maybe it was deleted" and search commit history High - requires the right mental model
Fresh File Explorer Deleted files appear right where they used to be Zero - it's still there, just marked as deleted

"I accidentally deleted some files and need them back"

Pain Point: You deleted files and realize you need them. They're committed to git but you wish it was easier to get them back.

Approach How it works Friction
Default VS Code git log --diff-filter=D, then git checkout <hash>^ -- <path> High - requires git expertise
GitLens Find the deletion commit, view file at revision, copy content Medium - several steps
Fresh File Explorer Deleted files are there, right-click → "Resurrect" Low - one-click restore. Works on multiple files at once.

"I made a commit and now I've lost track of what I was working on"

You make a commit but now your "pending changes" view is empty. You've lost the mental map of which files you were touching. This actually discourages small, frequent commits because you want to keep that overview.

Approach How it works Friction
Default VS Code Pending changes disappear after commit, must remember or check git log High - punishes good commit practices
GitLens Can view recent commits, but context switch required Medium - the information is there, but in a different place, and you can only have so many views open at a time
Fresh File Explorer Set time window to "Last 7 days" - your committed files still appear, organized by directory Low - commit freely, overview persists

"I was using Fresh File Explorer and it was going great, but then someone reformatted the entire codebase and now all the files are fresh"

Pain Point: A large automated change (formatting, linting, dependency updates) pollutes your view of what actually changed.

Approach How it works Friction
Default VS Code No built-in way to filter by author High - must use terminal commands
GitLens Can filter by author in various views Medium - need to know where to look
Fresh File Explorer Filter out the person doing the formatting, or (it was you, wasn't it?) the commit where it was done Low - visual multi-select, instant feedback

"Cool extension but I was looking for a todo list app"

Pain Point: There just aren't enough todo list apps out there.

| Approach | How it works | Friction | | --------------- | ----------------- | ---------------- | | Default VS Code | Is not a todo list | High - must vibe-code your own todo list | | GitLens | Is probably not a todo list | Medium - I don't know, maybe it even has a todo list | | Fresh File Explorer | Is also a todo list | Low - Can't miss it |

"Cool extension but can it group my files by moon phase"

Yes. It might even be the only piece of software that does that.

Extension Settings

Look under freshfileexplorer. to see all configurable settings.

Contributing

If you find a bug or have an idea for a faster horse, open an issue.

For bug reports, it is extremely helpful if the problem is reproducible on a public repository.


Comparison with GitLens

Fresh File Explorer is not a GitLens replacement. It's a more focused, opinionated tool oriented around finding things you need right now. It doesn't make commits, manage branches, stashes, tags...

Use Fresh File Explorer when

  • You want one view

Use GitLens when

  • You want 25 views

gitlens views

Because one of those 25 is actually very similar to Fresh File Explorer, some more comparison can be found here.

Testimonials

This is above average for a VS Code extension.

(a chatbot instructed to pretend to be Linus Torvalds)

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