在 VS 代码编辑器或 Sublime 编辑器中打开文件夹时,点和下划线显示文件名 [英] Dot and underscore showing with file name when open folder in VS code editor or Sublime editor

查看:41
本文介绍了在 VS 代码编辑器或 Sublime 编辑器中打开文件夹时,点和下划线显示文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 MacBook Air.我从

你能帮我解决这个问题吗?

现在我在 sublime 编辑器上遇到了同样的问题.

解决方案

如果你的文件在 exFAT 格式的硬盘上,Mac 会自动生成点下划线文件.点下划线文件是 Mac 系统文件,与 Visual Studio 代码无关.它们是将文件存储在不支持扩展文件属性的硬盘驱动器分区上的结果.它们可能一直存在于您的 Mac 上,但由于它们是 OS X 系统文件,因此它们被隐藏了

更多细节https://apple.stackexchange.com/questions/14980/why-are-dot-underscore-files-created-and-how-can-i-avoid-them

I am using MacBook Air. I downloaded the visual code editor from here. I tested the page and it's working.

I am getting an issue with the file name. I am getting the file name twice. The first file name starts from the ._ and my second file name is correct.

For example.

I have the files below the files in my folder.

about.php index.php

When I open in visual studio code editor then I am getting

._about.php
._index.php
about.php
index.php

Please let me know what is the issue with my editor.

Would you help me out with this issue?

Now I am getting the same issue on the sublime editor.

解决方案

If your file is on a hard drive with exFAT format, Mac will automatically generate dot underscore file. Dot underscore files are Mac system files and unrelated to visual studio code. They are the result of storing your files on a hard drive partition that does not support extended file attributes. They have likely always been there on your Mac, but since they are OS X system files, they were hidden

more details https://apple.stackexchange.com/questions/14980/why-are-dot-underscore-files-created-and-how-can-i-avoid-them

这篇关于在 VS 代码编辑器或 Sublime 编辑器中打开文件夹时,点和下划线显示文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆