Reputation: 1
Is there a way or maybe even an extension to tell VS Code, to display in the source control view the loaded submodules of a repository indented and underneath the corresponding repository?
I have for example 3 repositories which are numerically labeled. They all have two submodules of the same repository and it would be awesome if VS Code would display them like this in the source control view:
Repo1
SubmoduleXY
ZubmoduleA
Repo2
SubmoduleXY
ZubmoduleA
Repo3
SubmoduleXY
ZubmoduleA
However, what I see is:
Repo1
Repo2
Repo3
SubmoduleXY
SubmoduleXY
SubmoduleXY
ZubmoduleA
ZubmoduleA
ZubmoduleA
So by looking only at the source control view I have no clue which submodule belongs to which repository.
I tried to search for a solution, but the only thing I was able to find was how to hide/disable submodules in the source control view entirely.
Upvotes: 0
Views: 375
Reputation: 52293
I believe you would either need to find or write an extension to get such a feature, or write a feature-request issue ticket in the VS Code GitHub repo for this. I am not aware of such a feature for vanilla VS Code (I'd be happy to be proven mistaken though). I tried googling for an existing feature-request with " Feature request has now been raised at Show submodules indented to the belonging repository #197819.site:github.com/microsoft/vscode/issues "feature-request" git submodule nest source control view
", but I didn't find anything.
Upvotes: 0