<div dir="ltr">Thanks Allan, this is really useful<div><br></div><div>I see its actually in the File menu, under New Tab. Not sure how I missed that</div><div><br></div><div>Good tip about the default file type too :)</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 24 June 2014 13:21, Allan Odgaard <span dir="ltr"><<a href="mailto:mailinglist@textmate.org" target="_blank">mailinglist@textmate.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 24 Jun 2014, at 13:05, Carpii UK wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I have a project open, and create a new file (CMD+N), I notice when I<br>
try to save it, it doesn't default to the projects directory. Is there a<br>
way to adjust this?<br>
</blockquote>
<br></div>
Using ⌘N will create a new window which isn’t attached to any project.<br>
<br>
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.<br>
<br>
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:<br>
<br>
[ attr.untitled ]<br>
fileType = 'text.html.basic'<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Im wondering if its somehow related to projectDirectory in .tm_properties?<br>
Most of mine are set to "$CWD" just because every example I saw uses that.<br>
</blockquote>
<br></div>
Not directly related, but you can probably remove all those settings from your .tm_properties files.<br>
<br>
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”.<br>
<br>
______________________________<u></u>_________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/<u></u>listinfo/textmate</a></blockquote></div><br></div>