Community
    • Login

    Display many Files in Filelist of Notepad++, but not open

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 16 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.
    • Alfred JanssenA
      Alfred Janssen
      last edited by

      Hello.
      I would like to display many files (*.PRG) in the Notepad++ file list, but not open them immediately. I only want the file to open when I double-click on it. Is this possible? Can anyone help me?
      Best regards, Alfred

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

        @Alfred-Janssen ,

        I assume you mean you have the File > Open dialog window active, and you want to filter to only see *.prg. You do it the same way you do with any Open dialog in Windows, type in the filter.

        For example, if your directory starts with 3 *.txt and 3 *.prg:
        afaeb832-5f2b-4a55-9ae7-f35ccba0be8e-image.png

        Then you can show only the *.prg by typing *.prg in the File Name box, and then hitting ENTER in the box to get it to apply the filter:
        0f6d2283-1748-4270-85ef-00925071d2aa-image.png

        Alternately, if one of the built-in languages has prg in its default extensions (or you set the user ext for that language to include prg), then the filter pulldown on the right will have it. Or, if it doesn’t match any of the builtin languages, you can define a User Defined Language (UDL) that uses that extension. For example, I created a dummy UDL that I set its name to TmpPrg and gave it the prg extension, as shown here:
        f84631e0-fbba-485b-b5a5-eb0846fdab58-image.png

        Then if I do File > Open, I can pull down the filter dropdown:
        afa73b34-933c-44e2-ad67-02bb55d8f9ed-image.png
        After I select the TmpProg (*.prg) from that list, then Windows automatically applies that filter for me:
        a60ee849-8b37-4ff0-bc16-ebcad045681e-image.png

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