Sublime Forum

Symlinked folder icon broke in Sublime Text build 4126

#1

Hi there, GREAT product – it brought back fun and productivity!
However experiencing a small ‘issue’ with symlinks, after latest update,

There was an different folder icon indicating a symlinked folder in the previous stable version 4121, see the folder ‘Fonts’ in the screenshot.
Now in the latest update build 4126 it is suddenly gone. Also the contextual menu Reveal Link Source is not there anymore. I tested it both on a Mac M1 as an older Intel Mac after latest Sublime Text update, on both machines it is not there. (Although to clarify it a bit more the symlink folder icon never worked on the M1 Mac it was in the previous version also a plain icon and no contextual menu.)

0 Likes

#2

Is the folder in question actually a symlink?

0 Likes

#3

Thanks for looking at this.
Good thought, but yes it is a symlinked folder – see this screenshot from the finder.

32

0 Likes

#4

It’s probably worth noting that the icon doesn’t appear on folders just because they’re symlinks; it only appears on folders that appear more than once in the side bar (i.e. if fonts is a symlink to something else that already exists inside of your project.

0 Likes

#5

Since 4123 a folder is only marked as a symlink if a filesystem loop is detected, so normal symlinks that don’t cause a loop won’t show as symlinks.

0 Likes

#6

Ok, that explains the change of behaviour. That’s fine, at least I understand what is going on now. Thanks for all the help!

0 Likes

#7

I see that this (semi) issue is solved in ST Build 4142 -> ‘Improved filesystem symbolic link detection’
Very happy to see this improvement!
Now it is easier to detect symlink folders, with the visual indicator in the folder icon.

51

0 Likes