Community
    • Login

    Can find this in page search, but not file search.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 1 Posters 336 Views 1 Watching
    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.
    • Sordrin NetworkS Offline
      Sordrin Network
      last edited by

      I am trying to run a find and replace on this:

            stack:
              ==: org.bukkit.inventory.ItemStack
              type: POTION
              damage: 16307
      

      I can find it just fine in the normal in-page search function, but cannot seem to find it in “Find in files” search, no matter what I try.

      I have tried using this with Extended:

            stack:\r\n            ==: org.bukkit.inventory.ItemStack\r\n            type: POTION\r\n            damage: 16307
      

      which finds it on the page, but finds nothing in file search.

      I have tried this with reg ex and matches newline selected:

      ([ ]+)stack:\r\n([ ]+)==: org.bukkit.inventory.ItemStack\r\n([ ]+)type: POTION\r\n([ ]+)damage: 16307
      

      which also finds it in-page, but not in file search.

      I don’t know what else to do… :(

      Sordrin NetworkS 1 Reply Last reply Reply Quote 0
      • Sordrin NetworkS Offline
        Sordrin Network @Sordrin Network
        last edited by

        nm, figured it out I think.

        I was using a new txt doc to copy the content to be searched for, but the content is in yml files, and seems to be formatted differently…or something. After searching for content copied from yml file, it was able to find it…

        1 Reply Last reply Reply Quote 2

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors