TextMate

from Wikipedia, the free encyclopedia
TextMate

TextmateIcon.png
Screenshot
Basic data

developer Allan Odgaard (MacroMates)
Current  version 2.0
(September 15, 2019)
Current preliminary version 2.0 rc31
(August 26, 2019)
operating system Mac OS X
category Text editor
License GPL version 3
macromates.com

TextMate is a universal text editor for Mac OS X . It has tabs , macros , code folding , templates , shell integration and a bundle system with which language-dependent extensions are possible.

Notable functions

Like other text editors, TextMate allows the user to run shell scripts. Since TextMate pays attention to the shebang line, these scripts can be written in any scripting language such as bash , Ruby or AppleScript . The text of the document can be output on the standard input. The scripts can read in properties of the document via special environment variables. An HTML-based preview is available as output in a separate window. Alternatively, the output can be inserted or the selected text can be overwritten.

Example of a simple snippet. The keyword is wiki

Two other special features of TextMate are the so-called bundles and snippets. Snippets are self-defined text snippets that can be inserted at the cursor position in the text file currently being edited. To do this, the tab key is pressed after entering a keyword . These snippets can contain tab stops - positions to which the cursor jumps when the tab key is pressed. If a tab stop with the same number is used more than once in the snippet, the content of the tab stop changes at all positions used. This shortens the input of the same text sections considerably. The definition of the snippet on the left is

Hallo $1
$1 ist $2

The snippets can also contain the content of TextMates environment variables such as the line number, the name of the author or the output of shell scripts. Bundles contain adapted snippets, syntax highlighting and templates for editing certain text files such as source code, LaTeX files and the like. Some of these bundles are developed and maintained by TextMates users.

External perception

The above and other innovative features made TextMate a very popular editor. At the Worldwide Developers Conference 2006, TextMate won the Design Award for the best development tool. Since the developer refuses to port it to the Windows platform, clones such as e and Sublime Text were programmed soon after the release .

Version 2 under free license

The developer Allan Odgaard announced a new version of TextMate back in 2006, but it wasn't until December 2011 that the first public alpha release of version 2.0 appeared. On August 9, 2012, the developer Allan Oodgard announced via his company blog that version 2.0 will be placed under the open source license GPL3 . He posted the source code of the alpha version on GitHub , which was also noticed in the IT press.

Web links

Individual evidence

  1. Allan Odgaard: Best Mac OS X Developer Tool? TextMate Blog , August 16, 2006.
  2. Allan Odgaard: Windows / Linux alternative? TextMate Blog , November 7, 2005.
  3. TextMate 2.0 as Public Alpha . heise online , December 14, 2011.
  4. Allan Odgaard: TextMate 2.0 Alpha . TextMate Blog , December 13, 2011.
  5. Allan Odgaard: TextMate 2 at GitHub . TextMate Blog , August 10, 2012.
  6. Textmate 2 becomes open source. Retrieved August 14, 2012 .