为什么textmate在关闭tab后修改了文件mtime?
Why does textmate modify the file mtime after closing the tab?
我使用electron-vue自动重新加载页面,每次关闭文件时,textmate自动更新文件的mtime。以前不是这样的,不知道为什么。
通过邮件列表;
The reason is that TextMate uses extended attributes to store things
such as position of insertion point, selection etc.
You can disable this via .tm_properties
. Create a .tm_properties
file
in the root of your project and let it contain this line:
disableExtendedAttributes = true
You can also create the file in ~
to
disable the behavior globally, or you can limit it to certain file
types, e.g. by using:
[ *.vue ] disableExtendedAttributes = true
-- 艾伦·奥德加德
我使用electron-vue自动重新加载页面,每次关闭文件时,textmate自动更新文件的mtime。以前不是这样的,不知道为什么。
通过邮件列表;
The reason is that TextMate uses extended attributes to store things such as position of insertion point, selection etc.
You can disable this via
.tm_properties
. Create a.tm_properties
file in the root of your project and let it contain this line:
disableExtendedAttributes = true
You can also create the file in~
to disable the behavior globally, or you can limit it to certain file types, e.g. by using:
[ *.vue ] disableExtendedAttributes = true
-- 艾伦·奥德加德