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
  • 10 years ago
  • 60 minutes ago
  • 11 years ago

Installs

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