ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

MTML Completions

by bit-part ST2

MTML Completions is autocompletions of Movable Type for Sublime Text 2.

Details

  • 2014.05.14.11.27.34
  • github.​com
  • github.​com
  • 11 years ago
  • 2 weeks ago
  • 12 years ago

Installs

  • Total 356
  • Win 164
  • Mac 183
  • Linux 9
Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

About MTML Completions

MTML Completion is an add-on program package for Sublime Text 2. This complements Movable Type Template Tags when you use Sublime Text 2.
This package includes some tags of DynamicMTML plugin.

Installation

With Package Control

  • Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
  • Select “Package Control: Install Package” .
  • Select “MTML Completions” when the list appears.

With Git

Please clone into your Sublime Text 2 package directory.

cd /path/to/your/Sublime Text 2/Packages
git clone https://github.com/bit-part/MTML-ST2

Preference

You can change the format of Template Tags.

mtml_prefix

no setting => <mt:EntryTitle />
"mtml_prefix": "MT:" => <MT:EntryTitle />
"mtml_prefix": "MT"  => <MTEntryTitle />

mtml_function_tag_type

no setting => <mt:EntryTitle />
"mtml_function_tag_type": "dollar" => <$mt:EntryTitle$>
"mtml_function_tag_type": "none" => <mt:EntryTitle>

Usage

You can use this feature when you input “<” in html or php file. When you set extension as “.mtml” or “.tmpl” , please change Syntax as html.

For modifier, you run “Edit > Show Completions [cntrol + space]” when you input a space and a few calactors.

Example

  • [B] : Block Tag
  • [F] : Function Tag
  • [C] : Conditional Tag

Ctrl + Space

  • [M] : Modifier

Movable Type is a registered trademark of Six Apart, the Ltd.