Tuesday, 30 July 2013

Setting up Sublime Text 2 for Velocity (HTML) + BracketHighlighter

Sublime Text 2


1) Download Sublime Text.
2) Go to "Preferences" --> "Browse Packages..."
3) Create a new file called "Velocity (HTML).sublime-settings" with this content:
{    
    "extensions":
    [
        "vm",
        "tpl"
    ]
}
4) Do "Ctrl + Shift + P"
5) Type in "SS Velo" and select "Set Syntax: Velocity (HTML)"

Viola! Sublime text can recognise velocity (vm) files.


BracketHighlighter


1) Download the BracketHighlighter Zip from Github
2) Go to "Preferences" --> "Browse Packages..."
3) Unzip BracketHighlighter to the Sublime Packages folder.
4) Rename the file to "BracketHighlighter"

Viola! You have highlighting for open and close quotes.

1 comment:

  1. really would like to use this , but @ step 2 I already loose you
    what is the name of the file one should create? If I do Browse Packages should I create then a new file there? What is that directory name? I am working with Windows 10

    ReplyDelete