Editing 'liquid' programming language



  • Hi

    What’s the best equivalent for editing the liquid programming language, the same one as used in Shopify?

    Thanks
    Nick



  • @Nick-Felton, welcome to the Notepad++ Community Forums.

    You asked,

    What’s the best equivalent for editing the liquid programming language, the same one as used in Shopify?

    Looking briefly, the Liquid programming language does appear to be written in text, you you can technically edit the files in Notepad++.

    I assume by “best equivalent”, you are trying to get something that looks/behaves more like the default or traditional Liquid editor, but uses Notepad++ as its base, which will highlight syntax? Notepad++ (via it’s scintilla editor component) doesn’t come with a built-in lexer for Liquid.

    However, Google found me this message on a Liquid discussion board, which didn’t find any plugins or lexers for Notepad++.

    This Notepad++ Community post from 4 years ago seems to think that Liquid is mostly HTML, with a few extra templatey keywords, and recommends just adding custom keywords to the HTML (it describes how).

    Alternately, you could create a UDL (“User Defined Language”: Language > Define your language) to handle the syntax highlighting.



  • @Nick-Felton

    if you find a builtin language which, more or less, meets your needs you might
    think about enhancing it by using a python script like discussed here.


Log in to reply