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
  • Just now
  • 12 years ago

Installs

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