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
  • 6 minutes ago
  • 12 years ago

Installs

  • Total 356
  • Win 164
  • Mac 183
  • Linux 9
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
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.