How to separate changed files from untracked files in vscode?

As of VS Code 1.28, I do not think you can customize the grouping of changed files in the source control list

This is currently tracked by this issue


VSCode 1.40 (Oct. 2019) seems to provide just that:

Git: Improved untracked files management

You can now manage untracked files separately by using the Git: Untracked Changes setting.

  • Choose the separate option, if you'd like to see untracked files in a separate group in the Source Control view.
  • Choose hidden if you'd like to never see them.

The default commit action will adjust itself to this setting and will only include untracked changes in a commit when using the mixed setting value.

https://code.visualstudio.com/assets/updates/1_40/untracked.gif


With VSCode 1.67 (Apr. 2022), setting untrackedChanges to mixed will avoid performance issue.

See issue 140755:

For very large git repositories, the -u option (an alias for -uall) can sometimes make git status take a large amount of time and CPU.

Would like to have an option (off by default) to ignore individual files in untracked directories, which is the default behavior of git status with no arguments (equivalent to -unormal).