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
  • 1 hour ago
  • 12 years ago

Installs

  • Total 356
  • Win 164
  • Mac 183
  • Linux 9
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 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23
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.