Community
    • Login

    File Name Duplicates tags

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    filenamefiletagfile
    3 Posts 3 Posters 1.7k 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.
    • John MagdyJ
      John Magdy
      last edited by

      Hello everybody, so it 'd be great if you added an Feature which Add an Label/Tag with an Numeric value sorted by which file is opened first only added if there are npp.files >= 2 (2+ files) but they aren’t in the same Folder/Path
      for example: file_npp(1).c, file_cpp(2).c
      while file_npp(1).c exists at C:\Program Files\Juice && file_npp(2 ).c exists at D:\Games\Grand Theft Auto San Andreas Multiplayer

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

        If I have two files, c:\temp\DuplicateName.txt and c:\temp\DifferentPath\DuplicateName.txt open at the same time, when I hover over the title bar, I can see which path it is; when I just pull down the Window menu, it does not differentiate, but when I select the Window > Windows… entry, the Windows dialog that opens does show the full path. And in Settings > Preferences > Recent Files History, you can set ☑ Full File Name Path, so the full path is shown in the MRU section of the File Menu.

        1 Reply Last reply Reply Quote 1
        • Scott SumnerS
          Scott Sumner @John Magdy
          last edited by

          @John-Magdy

          IMO not sure what good adding a “tag” is, because it has no real meaning, other than saying “look at me, there’s another file open with the same name but in a different path”. Maybe some other non-numbered means could be employed on the tab to notify the user of this situation? An asterisk on the tab maybe (although maybe not because convention with that in other programs might be a changed-but-not-saved file…)

          So in your example the (1) and (2) are really meaningless tags. They become meaningful to you, I guess, after you work back and forth between them a few times, editing text in each one–in your mind you will associate 1 with the Juice file and 2 with San Andreas.

          The following doesn’t extend to more than 2 files with the same name, but why not open one of your files in the secondary view (right-click tab, choose Move to Other View)? Thus you will have one in the primary, one in the secondary, where it is probably just as easy to remember which one is in view 1 and which is in view 2…as it would be to see those numbers on the tabs.

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