Textmate default preferences

烂漫一生 提交于 2019-12-06 04:23:02

问题


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.

  1. How can I reset it to the default settings? or
  2. What should the default setting for "Exclude Files Matching" be?

Thanks


回答1:


Reset to default settings

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

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.

Default setting for "Exclude Files Matching"

That would be:

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


来源:https://stackoverflow.com/questions/19846448/textmate-default-preferences

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!