Textmate 默认首选项 [英] Textmate default preferences
问题描述
在尝试让 Textmate 2.0-alpha.9495 显示隐藏文件时,我设法搞砸了,以便项目视图只显示文件夹,不显示文件.
In trying to get Textmate 2.0-alpha.9495 to show Hidden files I managed to screw it up so that the project view only shows folders, no files.
- 如何将其重置为默认设置?或
- 排除文件匹配"的默认设置应该是什么?
谢谢
推荐答案
重置为默认设置
根据 Github 项目维基(https://github.com/textmate/textmate/wiki/Reverting-To-Defaults),必须删除以下文件/文件夹:
According to the Github project wiki (https://github.com/textmate/textmate/wiki/Reverting-To-Defaults), the following files/folders have to be removed:
~/Library/Application Support/Avian
~/Library/Application Support/TextMate
~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary
~/Library/Caches/com.macromates.TextMate/BundlesIndex.plist (v2.0-alpha.9465 and earlier)
~/Library/Preferences/com.macromates.textmate.plist
~/.tm_properties
这会重置所有内容,任何捆绑包自定义也将丢失.我建议先检查任何 .tm_properties 文件 - 主目录中的文件和项目目录中的文件.
This resets everything, any bundle customizations will be lost too. I would recommend to check any .tm_properties files first - the one in your home directory AND the one in your project directory.
排除文件匹配"的默认设置
那就是:
exclude = "{*.{o,pyc},Icon\r,CVS,_darcs,_MTN,\{arch\},blib,*~.nib}"
您可以在此文件中查找所有默认设置:
You can look up all default settings in this file:
TextMate.app/Contents/Resources/Default.tmProperties
这篇关于Textmate 默认首选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!