Community
    • Login

    I need to develope custom plugin

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 1.8k 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.
    • Bob HillegasB
      Bob Hillegas
      last edited by

      I have a custom formatted log I would like to develope a plugin for.
      Where do I start?
      Thanks, BobH

      1 Reply Last reply Reply Quote 0
      • Bob HillegasB
        Bob Hillegas
        last edited by

        Looks like probably I can get by with adding custom keywords to the log language. How do get started doing that?
        Thanks, BobH

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

          I don’t have the “log” language to which you refer… but many of the language lexers allow for adding custom keywords to existing styles. For example, Settings > Style Configurator, Language = LISP, select Style = FUNCTION WORD and you can add other custom keywords to the User-defined keywords box. It may be that your “log” language has similar – so if “log” shows up in the Language selection column, then look through it’s various Style column items, and see which ones have customizeable boxes. Any that do, you should be able to add keywords into those styles.

          That description assumes the “log” language is above the vertical bar (ie, above “Define your language…”) in the Language pulldown. If the “log” language is below the “Define your language…”, then it’s a User Defined Language (UDL), and the methodology will be different.

          Go to Language > Define your language..., then in the User language pulldown, select “log”. Go to the “Keywords List” tab, and either add your keywords to the existing styles, or if some of your 8 groups are empty, you can create new group(s) with unique style(s) in any empty groups. Ivan Radić has made available documentation on how to use UDL v2.1.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors