tailscale-dev/vscode-tailscale

File Explorer: mark symbolic links distinctly from regular files/directories

Opened this issue · 0 comments

Currently, there is no way to visually distinguish symbolic links from regular files or directories:

the tailscale extension's file explorer view shows an expanded directory named actuallyJustASymlink

VSCode's builtin file browser currently does this by showing an icon and tooltip that says what the symbolic link is:

the same diectory, open in vscode's built-in file manager, shows "actuallyJustASymlink" with an arrow icon on the right side. hovering over the icon shows a tooltip that calls it a Symbolic Link

We could do the same thing. Unfortunately, it doesn't seem possible to show where the target of the symbolic link is, since the FileSystemProvider API doesn't provide a way to read the target of a link, but if that changes in the future that would be good to have as well.