Community
    • 登入

    Displaying only lines that start with or contain -keyword-

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    2 貼文 2 Posters 1.4k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Javier de MolinaJ
      Javier de Molina
      最後由 Javier de Molina 編輯

      I’m doing heavy work on a txt file that stores a lot of data. All elements in the file have the same attributes. For example “Name=(string)”, next line “InternalName=(string)”, then on the next element, Name= and InternalName= appear again with different values. I’d like to only display specific lines, some starting with “Name=”, for example, so I can hide the rest of the file and avoid a ton of scrolling down. Is this possible at all?

      Thanks

      1 條回覆 最後回覆 回覆 引用 0
      • chcgC
        chcg
        最後由 chcg 編輯

        Seems you could do a search on the whole active file to your pattern and then look just at the search result window. Which has a link back to the origin if you click that line.

        1 條回覆 最後回覆 回覆 引用 0
        • 第一個貼文
          最後的貼文
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors