It works for me (at least for unknown-type) i.e. the "What type of file is x" sheet doesn't appear if I have the property set and files are set to be plain text, removing the property forces the sheet to ask for unknown file types.it doesn't work either.在 2012-3-8,下午6:05, David Howden 写道:Try:[ attr.file.unknown-type ]fileType=text[ attr.file.unknown-encoding ]encoding=gbk2012/3/8 Yuan Jiang <sleetdrop@gmail.com>
I saw the following in changelogIntroduceattr.file.unknown-type
andattr.file.unknown-encoding
. You can use this in.tm_properties
files to setfileType
andencoding
to provide default values only for files where TextMate was unable to find the proper type/encoding (which normally results in a dialog asking the user).But When I set it in.tm_properties as below, it doesn't work for me
attr.file.unknown-type=textattr.file.unknown-encoding=gbk
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate