How to Highlight Syntax in TextWrangler

Written by jacob michael
  • Share
  • Tweet
  • Share
  • Email

TextWrangler is a free text editor program released by Bare Bones Software for MacOS X computer systems and iOS-based devices such as the Apple iPad and iPhone. TextWrangler is useful as an editor of source code for program or webpage development, as it has a syntax colouring option that makes it easier to parse through large files of code. Syntax highlighting is not enabled by default, so you must turn it on in the program's options to use it.

Skill level:


  1. 1

    Double-click the TextWrangler application icon to launch the program. You can also double-click on a TextWrangler document file to start the program.

  2. 2

    Click the TextWrangler menu button, which is the second button from the left on the top menu bar.

  3. 3

    Select "Preferences" from the TextWrangler menu. The "TextWrangler Preferences" window will appear.

  4. 4

    Click "Editor Defaults" in left panel in the "TextWrangler Preferences" window. The "Editor Defaults Preferences" window will appear.

Tips and warnings

  • To view a list of languages that TextWrangler will parse for syntax to highlight, click the "Languages" option in the "Text Wrangler Preferences" window.
  • You must save the file to the hard drive before syntax colouring will display; you must also have a correct file extension.
  • Select "Text Colors" from the left panel of the "Text Wrangler Preferences" window to change syntax colours.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.