Skip to content

Symlink file extensions don't display #8040

Closed
@Antyos

Description

@Antyos

Description

File extensions for symlinks do not display in Files. A symlink to a .gitconfig file displays as blank and .prettierrc.json displays as .prettierrc. Note, I do have "Show file extensions" enabled.

This seems to be related to #7006.

Additionally, symlinks show as having a filetype of "Shortcut", though this seems intended as of #7006.

Steps To Reproduce

Navigate to a folder and run the following in Powershell to create a symlink:

"foo" | Out-File .foo
New-Item -ItemType SymbolicLink -Target .foo -Path .bar

Expected behavior

Symlinks should display their file extensions and have a file type of .symlink (or something clear that it isn't a shortcut).

Files Version

2.1.2.0

Windows Version

Windows 10 20H2 19042.1466

Relevant Assets/Logs

Symlink shown in Files:
Symlinks in Files

Symlinks shown in Explorer:
Symlinks in Explorer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions