Sort Git Submodules is a Visual Studio Code extension that provides a simple and easy way to sort Git submodules in your project. It allows you to sort your submodules as a tree view with just a few clicks, making it easier to manage your Git repositories.
If both repositories use the same submodule, the VS code looks like this.
Therefore, this extension tries to make it clear. Like this.
open command palette (use F1
, Ctrl+Shift+P
(Windows & Linux) or Cmd+Shift+P
(OS X))
then select command Enable git submodule sort
This extension would NOT work if Visual Studio Code cannot modify itself.
submodule repo prefix
git-submodule-sort.prefix
: default is '┡'
If VS Code complains about that it is corrupted, simply click “Don't show again”.
After Visual Studio Code updated, please re-Enable git submodule sort.
patch 1.74.x
patch 1.66.x
patch 1.59.x
patch 1.58.x