Install Anomareh PHP-Twig.tmbundle on Sublime Text 3

So this bundle for Sublime Text is made by Anomareh
Basically, what it does is integrate Twig to the said IDE by providing syntax highlighting and auto-completion for Twig when using Sublime.

So here's how to install the package.
  1. Download the package at https://github.com/Anomareh/PHP-Twig.tmbundle
  2. Unzip then copy all the files and folders
  3. In Sublime, click Browse Packages under the Preferences menu
  4. Create a directory named Twig on Packages folder
  5. Paste the files that you copied earlier into the Twig folder
  6. Restart Sublime
  7. Now, in your twig file, click on the bottom right of the sublime window (a drop up/down should appear)
  8. Select HTML (Twig) from the list of languages to enable the package.
This should work on Sublime Text 2 as well.

Comments

  1. Merci pour ce guide indispensable ;)

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. @clod
    That is nice! People are priviledge to use what IDE they prefer.
    The instructions above are for people who likes to use Sublime like me :)

    ReplyDelete

Post a Comment