Access our premium support and let us know your problems, we will help you solve them.

0
No products in the cart.

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • blankilia-luk
    Participant

    I’ve found out that Twig have a very similar syntax to Liquid, enabling the Twig plugin will highlight Liquid syntax and will keep the HTML highlight/autocomplete/emmet functionality working as opposed to the "textMate Liquid bundle".

    Go to Settings > Editor > File Types find "Twig" on that list and associate Liquid files with it by adding *.liquid to the registered patterns section.

    If you can’t find Twig, download the official plugin from the "Browse repositores" or in the "install JetBrains plugin". If you can’t find it there then download the plugin and install it manually by pressing "install plugin from disk": https://plugins.jetbrains.com/plugin/7303?pr=

    You will also want to associate *.scss.liquid to .scss files,
    *.css.liquid to .css files and *.js.liquid to .js files so that Twig wouldn’t run on those type of files.

    The end result works like a charm! it’s the best solution yet until some official plugin will come out

Viewing 1 post (of 1 total)