Sublime Forum

How to _not_ follow symlinks in project folders?

#1

I usually love that Sublime Text 2 follows symlinks for project folders, but in one case I really need it not to. Is there an easy way to make this happen?

Thanks,
Dave

0 Likes

#2

Remove the symlink

0 Likes

#3

That’s not a helpful answer.

The symlinks are there because certain infrastructure expects them to be there.

I’m looking for a Sublime Text setting. Is there one?

0 Likes

#4

If the symlinks have an unique names you could try: “folder_exclude_patterns” or “file_exclude_patterns”

0 Likes

#5

Good suggestion. I didn’t have unique named symlinks… but I do now! :wink: Thanks.

0 Likes

#6

I think you can set folders in your project to not follow symlinks, no?

            {
		"follow_symlinks": **false**,
		"path": "Sublime Work\\Package Control"
	}
1 Like