1. Home
  2. Docs
  3. PHP Style Guide
  4. File Format
  5. TextMate


  1. Open the Application Preferences
  2. Click Advanced, and then the “Saving” tab
  3. In “File Encoding”, select “UTF-8 (recommended)”
  4. In “Line Endings”, select “LF (recommended)”
  5. Optional: Check “Use for existing files as well” if you wish to modify the line endings of files you open to your new preference.
Was this article helpful to you? Yes No

How can we help?