linux - 无法识别的文件夹图标 - Sublime Text 3

标签 linux sublimetext3

我从 Sublime 文件夹 View (右键单击 - 新建文件夹)创建了一个文件夹,它的图标与其他文件夹不同。这个图标是什么意思?

  • 我从 Sublime 创建了很多新文件夹,它们都有默认图标。
  • 如果我在 Model(与 Checkout 同级)下创建一个新文件夹,或者作为 Checkout 的子文件夹,它会获得相同的无法识别的图标。如果我在任何其他位置创建新文件夹,它将获得默认图标。

我使用 Sublime Text 3(Material 主题)和 Fedora 24

以下屏幕截图中无法识别的图标是“Checkout”文件夹的图标。

Unrecognized icon in Sublime Folder View

最佳答案

这个图标是https://github.com/equinusocio/material-theme/blob/0d86523a4ec71e32f4ca1a06e38bb3be63a202ea/assets/default/folder_dup.png ,我们从主题中可以看到它用于符号链接(symbolic link): https://github.com/equinusocio/material-theme/blob/431b28cc4f7d20878bc85dc81762bfaf29301e0c/Material-Theme.sublime-theme#L823-L830

// Symlink folder icon
{
  "class": "icon_folder_dup",
  "layer0.texture": "Material Theme/assets/default/folder_dup.png",
  "layer0.opacity": 1.0,
  "content_margin": [11, 7]
},

更多详细信息参见 official Theme documentation :

Used for a folder that has been scanned previously in the sidebar. This is necessary to prevent a possibly infinite list of files due to recursive symlinks.

关于linux - 无法识别的文件夹图标 - Sublime Text 3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44197270/

相关文章:

linux - 如何解码 H323 数据包?

linux - 在 Apache 中手动创建 301 重定向以将站点的所有 IP 请求重定向到正确的域名

python:来自 math 和 os 模块的函数被 EINTR 中断

linux - Bash:使用管道运算符时陷阱 ERR 不起作用

windows - 如何在 windows 的 sublime text 3 中安装 'Emilbus Mono' 字体?

linux - 使用 sed - 如何用中间未知的内容替换两个 HTML 标签或模式?

javascript - React JS 和 sublime text 不兼容

ide - 如何更改 Sublime Text 3 中的文件夹和菜单字体大小?

sublimetext3 - Sublime Text 3 通过文件名的正则表达式设置语法高亮