Community
    • Login

    Total beginner needs to replace recurring code snippets with plain text - how?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 356 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.
    • Joerg HinzJ
      Joerg Hinz
      last edited by

      Hi all,
      I am not a programmer or alike but I often need to look at code in our TMS which consists mostly out of recurring snippets.

      An example would be: |“<SendingForwarder.OH_Code>”==“6402432297”|
      I know what field this pertains to in our TMS, but replacing the number with a name would be handy, as I can not memorize all of them (about 60ish). Also it would be easier to read as the code often contains dozens of the above chained with other code snippets inbetween.
      Would be perfect to replace the above snippet with |SF#BRE| for example.

      I would love to create myself some kind of dictionary or alike to have the actual code replaced by my words to make it more readable.
      Is that possible with Notepad++? Or other free tools you would suggest for this?

      Thanks for any help anyone can throw my way!

      Merry holiday season,
      Joe

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Joerg Hinz
        last edited by

        @Joerg-Hinz

        Very similar to https://community.notepad-plus-plus.org/topic/18641/renaming-multiple-names probably, so the same question posed there may be posed to you: Are you willing to jump through some procedural hoops to achieve your goal?

        1 Reply Last reply Reply Quote 1
        • Joerg HinzJ
          Joerg Hinz
          last edited by

          Thanks for the pointer. Have zero knowledge about json and so on but will dig into it this weekend. :)

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @Joerg Hinz
            last edited by

            @Joerg-Hinz

            Haha, no, I didn’t mean the json part. :-)

            So you showed somewhat of a sample of your data. How about a little more to give some helpers here a start, so they don’t have to create their own? (Always good to give potential helpers a kick start :-) )

            1 Reply Last reply Reply Quote 1
            • Joerg HinzJ
              Joerg Hinz
              last edited by

              Will get some more of it tomorrow. If it helps you helping me, what more could I ask for? ;)

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