Branch view new folder subfolder creation order

Features wanted...
PlorerXY6
Posts: 83
Joined: 13 Oct 2022 19:51

Branch view new folder subfolder creation order

Post by PlorerXY6 »

In Branch View, can you add a feature to allow new folder subfolder creation to be placed under the selected subfolder? So what I mean is when I've selected a subfolder and make a new folder, it always goes to the root directory tree rather than making a subfolder under the selected folder, which is what I'd prefer.

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Branch view new folder subfolder creation order

Post by admin »

Something like "Create New Subfolder Here", which already exists for the tree (Miscellaneous | Tree | Create New Subfolder Here). Might be an idea, I'll consider it.

@all: Or is it natural to just do "Create New Subfolder Here" on Ctrl+N if a folder is selected in the Branch View?

highend
Posts: 14672
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Branch view new folder subfolder creation order

Post by highend »

@all: Or is it natural to just do "Create New Subfolder Here" on Ctrl+N if a folder is selected in the Branch View?
Makes sense and I'd like it that way
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Branch view new folder subfolder creation order

Post by admin »

Same here. So I'll just do it. :cup:

highend
Posts: 14672
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Branch view new folder subfolder creation order

Post by highend »

Be careful of Nike's lawyers :ninja:
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Branch view new folder subfolder creation order

Post by admin »

:biggrin:

matewo
Posts: 100
Joined: 03 Jun 2018 21:35

Re: Branch view new folder subfolder creation order

Post by matewo »

admin wrote: 25 Aug 2023 08:49 @all: Or is it natural to just do "Create New Subfolder Here" on Ctrl+N if a folder is selected in the Branch View?
May you extend this as well, if a file is selected in branch view (in a subfolder)? This would match Ctrl+N in normal view, if a file is selected.

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Branch view new folder subfolder creation order

Post by admin »

Yep, makes sense.

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Branch view new folder subfolder creation order

Post by admin »

Had to add an exception case (to match the real idea behind this, which is to stay within the level):

Code: Select all

    + Branch View: Slightly changed the behavior of the New Folder command in this 
      context:
      - When a folder is selected and you choose Edit | New | New Folder 
       (Ctrl+N), that folder is now created as a subfolder of the selected folder.
      - When a file is selected and you choose Edit | New | New Folder 
       (Ctrl+N), that folder is now created as a subfolder of that file's parent folder.
      - One exception: If an empty folder is selected, it is treated as a file in this 
        respect. Try it and you'll see that it makes sense.

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Branch view new folder subfolder creation order

Post by admin »

Update. Now it also works with New Text File:

Code: Select all

    + Branch View: Slightly changed the behavior of the New Folder and New Text File 
      commands in this context:
      - When a folder is focused and you choose Edit | New | New Folder (Ctrl+N) or Edit | 
        New | New Text File (Ctrl+Shift+N), that new item is now created within the focused 
        folder.
      - When a file is focused and you choose Edit | New | New Folder (Ctrl+N) or Edit | 
        New | New Text File (Ctrl+Shift+N), that new item is now created as a sibling of 
        that file.
      - One exception: If an empty folder is focused, it is treated as a file in this 
        respect. Try it and you'll see that it makes sense.

eil
Posts: 1832
Joined: 13 Jan 2011 19:44

Re: Branch view new folder subfolder creation order

Post by eil »

Useful and logical additions. :tup:
Win 7 SP1 x64 100% 1366x768|1900x1080

PlorerXY6
Posts: 83
Joined: 13 Oct 2022 19:51

Re: Branch view new folder subfolder creation order

Post by PlorerXY6 »

Thanks for adding this!
Can Ctrl+V (from copy paste) also work when you focus a folder in Branch View? As in paste to that subfolder, rather than root? The target also wants to be root for paste. It would be good for it to match the new subfolder creation method.

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Branch view new folder subfolder creation order

Post by admin »

Yeah, sure, good idea. :tup:

PlorerXY6
Posts: 83
Joined: 13 Oct 2022 19:51

Re: Branch view new folder subfolder creation order

Post by PlorerXY6 »

admin wrote: 08 Sep 2023 10:37 Yeah, sure, good idea. :tup:
Thanks for adding it, works good!

PlorerXY6
Posts: 83
Joined: 13 Oct 2022 19:51

Re: Branch view new folder subfolder creation order

Post by PlorerXY6 »

Can Edit->New Items have same branch view creation location behaviour change? (there I have New Word, new Excel, new txt, new zip, new folder)
I know the other menu "New" works but I don't think the "New Items" one works yet.

Post Reply