You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows: .gitattributes and .gitignore should always show extension #10694
If any user checked "Register Code as an editor supported file types", and Git config filename (.gitattributes, .gitconfig, .gitignore) is hidden. (File extensions of known file types are hidden)
You can create an empty string value here named "AlwaysShowExt" in subkey:
Windows 7 default hide extensions for known file types.
Before install VSCode, Windows don't know .gitattributes, .gitconfig and .gitignore.
So we can see the full filename.
After installed VSCode with "Register Code as an editor supported file types" option,
Git config files become "known file types" (registed by VSCode).
So Windows 7 hide extensions (.gitattributes) for known file types, the filename become empty in Windows Explorer.
This situation will happen on all linux hidden file (filename start with dot).
Activity
DarkNami commentedon Aug 19, 2016
If any user checked "Register Code as an editor supported file types", and Git config filename (.gitattributes, .gitconfig, .gitignore) is hidden. (File extensions of known file types are hidden)
You can create an empty string value here named "AlwaysShowExt" in subkey:

then you can see Git config filename again.

joaomoreno commentedon Aug 19, 2016
Wait, so it's not fixed. It's only fixed in your machine because you added that registry key?
DarkNami commentedon Aug 19, 2016
Windows 7 default hide extensions for known file types.
Before install VSCode, Windows don't know .gitattributes, .gitconfig and .gitignore.
So we can see the full filename.
After installed VSCode with "Register Code as an editor supported file types" option,
Git config files become "known file types" (registed by VSCode).
So Windows 7 hide extensions (.gitattributes) for known file types, the filename become empty in Windows Explorer.
This situation will happen on all linux hidden file (filename start with dot).
fixes microsoft#10694