Zen Coding
Encyclopedia
Zen Coding is a set of plug-ins for text editors that allow for high-speed coding and editing in HTML
, XML
, XSL
, and other structured code formats. The project was created by Sergey Chikuyonok in 2009 and continues to be actively developed by Chikuyonok and Zen Coding users. The tools have been incorporated into a number of high-profile text editor
s, some plug-ins developed by the Zen Coding team and others implemented independently. However, Zen Coding is primarily independent from any text editor, as the engine works directly with text rather than with any particular software.
Zen Coding is an open source code distributed under an MIT License
.
expands into
The expand abbreviations function includes several other complex functions, such as wrapping a section of code with expanded code.
The following text-editor plug-ins were developed by third-party groups with the official Zen Coding engine
The following text editor plug-ins were developed independently and with a different Zen Coding engine
HTML
HyperText Markup Language is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages....
, XML
XML
Extensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....
, XSL
Extensible Stylesheet Language
In computing, the term Extensible Stylesheet Language is used to refer to a family oflanguages used to transform and render XML documents....
, and other structured code formats. The project was created by Sergey Chikuyonok in 2009 and continues to be actively developed by Chikuyonok and Zen Coding users. The tools have been incorporated into a number of high-profile text editor
Text editor
A text editor is a type of program used for editing plain text files.Text editors are often provided with operating systems or software development packages, and can be used to change configuration files and programming language source code....
s, some plug-ins developed by the Zen Coding team and others implemented independently. However, Zen Coding is primarily independent from any text editor, as the engine works directly with text rather than with any particular software.
Zen Coding is an open source code distributed under an MIT License
MIT License
The MIT License is a free software license originating at the Massachusetts Institute of Technology . It is a permissive license, meaning that it permits reuse within proprietary software provided all copies of the licensed software include a copy of the MIT License terms...
.
Expand abbreviations
Zen Coding uses a specific syntax in order to expand small snippets of code, similar to CSS selectors, into full-fledged HTML code. For example, the sequencediv#page>div.logo+ul#navigation>li*5>a
expands into
The expand abbreviations function includes several other complex functions, such as wrapping a section of code with expanded code.
Tag balancing
The HTML Pair Matcher allows users to locate the matching open/close tag for the tag at the current cursor position. Unlike other HTML pair matchers, Zen Coding searches from the cursors current position rather than scanning the document from the beginning.Text editors
The following text editor plug-ins were developed by the Zen Coding team- Aptana/EclipseEclipse (software)Eclipse is a multi-language software development environment comprising an integrated development environment and an extensible plug-in system...
(cross-platform). - TextMateTextMateTextMate is a general-purpose GUI text editor for Mac OS X created by Allan Odgaard. Popular with programmers, some notable features include declarative customizations, tabs for open documents, recordable macros, folding sections and snippets, shell integration, and an extensible bundle...
(Mac). - CodaCoda (web development software)Coda is a commercial and proprietary web development application for Mac OS X, developed by Panic. It was released on April 23, 2007. It won the 2007 Apple Design Award for Best User Experience. It is available for $99. - Concept and idea :...
(Mac) - Espresso (Mac)
- Komodo Edit/IDEActiveState KomodoKomodo Edit is a highly regarded free text editor for dynamic programming languages. Introduced in January 2007, with the release of version 4.3, Komodo Edit is built on top of the Open Komodo project...
(cross-platform) - Notepad++Notepad++Notepad++ is a text editor and source code editor for Windows. One advantage of Notepad++ over the built-in Windows text editor, Notepad, is tabbed editing, which allows working with multiple open files.Notepad++ is distributed as free software...
(Windows) - PSPadPSPadPSPad editor is a freeware text editor and source editor intended for use by programmers. First released in 2001, this software is produced by the single Czech developer Jan Fiala for the Windows platform....
(Windows) - Text boxA text box, text field or text entry box is a kind of widget used when building a graphical user interface . A text box's purpose is to allow the user to input text information to be used by the program...
(browser-based) - editArea (browser-based)
The following text-editor plug-ins were developed by third-party groups with the official Zen Coding engine
- Dreamweaver (Windows, Mac)
- AkelPadAkelPadAkelPad is a small, expandable text editor written for the Windows family of operating systems. It can also be run under Wine, an application which allows users to run Windows applications on Unix-like systems such as Linux...
(Windows) - Sublime TextSublime TextSublime Text is a cross-platform C++-based text and source code editor. The program was originally designed as a feature-rich extension of vim.-Features:Some features include:*Minimap: a preview of the entire source code...
(Windows) - UltraEditUltraEditUltraEdit is a commercial text editor for Microsoft Windows, Linux and created in 1994 by Ian D. Mead. The editor contains tools for programmers, including macros, configurable syntax highlighting, code folding, file type conversions, project management, regular expressions for search-and-replace,...
(Windows) - TopStyleTopStyleTopStyle is a CSS/XHTML/HTML editor for Microsoft Windows developed by Nick Bradbury and now maintained by Stefan van As. The editor is code-centric rather than WYSIWYG, with integrated support for previews using either the Mozilla Gecko, Internet Explorer Trident, or Apple Inc. Webkit layout engines...
(Windows) - geditGeditgedit is a text editor for the GNOME desktop environment, Mac OS X and Microsoft Windows. Designed as a general purpose text editor, gedit emphasizes simplicity and ease of use...
(cross-platform) - BBEditBBEditBBEdit is a proprietary text editor made by Bare Bones Software. It was originally developed for Macintosh System Software 6 and is now available for Mac OS X.BBEdit is marketed under the trademark slogan, "It doesn't suck."-History:...
/TextWranglerTextWranglerTextWrangler is a text editor for Mac OS X from Bare Bones Software. It was originally a commercial product, but has become the freeware alternative to their flagship editor, BBEdit, and the successor to their previous freeware editor, BBEdit Lite.Like BBEdit, TextWrangler is not a word processor...
(Mac) - Visual StudioMicrosoft Visual StudioMicrosoft Visual Studio is an integrated development environment from Microsoft. It is used to develop console and graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all...
(Windows) - EmEditorEmEditorEmEditor is a lightweight extensible commercial text editor for Microsoft Windows. It was developed by Yutaka Emura of Emurasoft, Inc. EmEditor includes full Unicode support, 32-bit and 64-bit builds, syntax highlighting, find and replace with regular expressions, vertical selection editing,...
(Windows) - Sakura Editor (Windows)
The following text editor plug-ins were developed independently and with a different Zen Coding engine
- EmacsEmacsEmacs is a class of text editors, usually characterized by their extensibility. GNU Emacs has over 1,000 commands. It also allows the user to combine these commands into macros to automate work.Development began in the mid-1970s and continues actively...
(cross-platform) - IntelliJ IDEAIntelliJ IDEAIntelliJ IDEA is a commercial Java IDE by JetBrains. It is often simply referred to as "IDEA" or "IntelliJ."-History:The first version of IntelliJ IDEA was released in January 2001, and at the time was the only available Java IDE with advanced code navigation and code refactoring capabilities...
/WebStorm/PHPStormPhpStormJetBrains PhpStorm is a commercial IDE for PHP built on JetBrains' IntelliJ IDEA platform.PhpStorm provides intelligent editor for PHP code, HTML and JavaScript with on-the-fly code analysis and automated refactoring for PHP and JavaScript code. Code completion supports PHP 5.3 including namespaces...
(cross-platform) - ReSharperReSharperReSharper is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio 2003, 2005, 2008 and 2010....
plugin for Visual Studio - RJ TextEdRJ TextEdRJ TextEd is a freeware Unicode text and source code editor for Windows, that can also be used as a simple web development tool.The editor uses a variety of techniques for syntax highlighting in the source. It can use auto completion and hints to assist in editing source code. Previews of ...
(Windows) - Vim (cross-platform)