Community
    • Login

    Editing 'liquid' programming language

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 2.7k Views
    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 FeltonN
      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

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        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
        • EkopalypseE
          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
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors