On 24 Jun 2014, at 13:05, Carpii UK wrote:Using ⌘N will create a new window which isn’t attached to any project.
If I have a project open, and create a new file (CMD+N), I notice when I
try to save it, it doesn't default to the projects directory. Is there a
way to adjust this?
Instead use ⌥⌘N to create a new (untitled) tab in the current project. The default save path for this will be the project folder or, if there is a file browser selection, the path for the selected item.
Hint: You can specify the default file type for new tabs, for example if you mostly create HTML files then put this in the project’s .tm_properties:
[ attr.untitled ]
fileType = 'text.html.basic'Not directly related, but you can probably remove all those settings from your .tm_properties files.
Im wondering if its somehow related to projectDirectory in .tm_properties?
Most of mine are set to "$CWD" just because every example I saw uses that.
TextMate (now) assigns a project folder automatically based on the first folder you open. If you wish to change it, you can use the file browser’s drop-down menu (at the top) to select “Use «folder» as Project Folder”.
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate