1

Is there a shortcut or functionality in Visual Studio Code which allows us to toggle the showing of modified files?

In Visual Studio Code, it highlights all the files that were created, changed or deleted so I'm thinking if there's a functionality to show only those files so we can quickly access these files from the explorer inside of navigating the whole project.

1
  • 1
    So you want to see only modified files in "Explorer" view instead of the whole directory tree? Why not just use the "Source Contol" tab? Commented Feb 22, 2018 at 5:35

1 Answer 1

1

I don't think you can only show modified files but you can sort all the files so that it puts the modified files at the top of their respective folders.

// Controls sorting order of files and folders in the explorer. In addition to the default sorting, you can set the order to 'mixed' (files and folders sorted combined), 'type' (by file type), 'modified' (by last modified date) or 'filesFirst' (sort files before folders).

 "explorer.sortOrder": "modified", 

However, that is only within their folders so you still have to go to each folder so it still takes some work.

Of course, your source control button will show only modified files.

Sign up to request clarification or add additional context in comments.

1 Comment

The source control button was enough. Thanks!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.