Textmate 2 Tips

  • Archive
  • RSS
  • Submit

Create a new file in a project folder

One of the big changes in TM2 is that you can no longer create new files from the Project Drawer’s right click menu. This was a handy feature that I honestly miss.

Fortunately, there is a work around though it’s somewhat less intuitive.

  1. Create a new file/tab by hitting ⌥⌘N or choosing File > New Tab from the menu.
  2. Select the folder that you want to save the file in from the File Browser/Project Drawer:

    Selecting a folder in the file drawer

    Here I have the stylesheets folder selected.

  3. Save the new tab (“untitled” in the screenshot above) by hitting ⌘S or choosing File > Save from the menu.
  4. The file dialog will come up with the folder you chose in step 2 selected.

    There's your folder

    The save dialog with your folder selected.

  5. Give your new file a name and hit Enter or click Save and the file will be right where you want it!

    A new file created in a folder of your choosing

    There it is.

It’s worth pointing out that steps 1 and 2 can be done in any order.

  • 1 year ago
  • 11
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

11 Notes/ Hide

  1. megatuxii likes this
  2. drfmunoz reblogged this from tm2tips
  3. sannhacdj reblogged this from tm2tips
  4. vncloud reblogged this from tm2tips
  5. khoachongtrom reblogged this from tm2tips
  6. danielpietzsch likes this
  7. ouray likes this
  8. gpessia reblogged this from tm2tips
  9. gpessia likes this
  10. tm2tips posted this
← Previous • Next →

Logo

Textmate 2: The missing manual. Help us out by submitting any tips or tricks you come across!

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Submit
  • Mobile

Brought to you by Ned Schwarz..

Effector Theme by Pixel Union