Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Editing 'liquid' programming language

    Help wanted · · · – – – · · ·
    3
    3
    1341
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Nick Felton
      Nick Felton last edited by

      Hi

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

      Thanks
      Nick

      Ekopalypse 1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones last edited by

        @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.

        1 Reply Last reply Reply Quote 2
        • Ekopalypse
          Ekopalypse @Nick Felton last edited by

          @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.

          1 Reply Last reply Reply Quote 2
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors