On 19 Nov 2014, at 12:43, Allan Odgaard mailinglist@textmate.org wrote:
On 18 Nov 2014, at 23:01, Matt Neuburg wrote:
IIRC it used to be that when you said File > New what you got was a file with the same extension as the currently selected file (e.g. in the project navigator). Now, however, what you get is always a ".txt" file. I wonder if that feature was just something I dreamed and, if not, whether it might return; it was mighty convenient. m.
I think you dreamt it up. It’s not entirely clear where the file type should be taken from (on ⌘N) nor if this is always desired (that it uses whatever file type it can grab from existing window). But I’m open for making it smarter than now.
As George mentioned, it is possible to set the default file type for new files. Unless you want to change it for different folders, I recommend setting it via Preferences → Files
For my markdown files I used the above recommended Preferences → Files method. It resulted in new files with a .mdown suffix. How do I change it to get the .md suffix, the suffix I use for my markdown files?
instead of .tm_properties: This is just because everything set via the UI we can better control and it’s easier for a user to later discover what the value is set to.
Bert Fitié