Keyboard > Result List | Hot Item Parent | Rename

Discussion related to "Everything" 1.5 Alpha.
Post Reply
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Keyboard > Result List | Hot Item Parent | Rename

Post by raccoon »

Amazing Feature! This saves me so much time trying to rename the folder that a file is in. Previously I'd have to double-click the path column and rename the folder form Explorer, with much repetition.

I have a question though. I'm reading that "Hot Item" means that the mouse cursor has to be hovering over the item to use this hotkey. It won't work if I'm navigating the results list from my keyboard arrows?

Would it be possible to get a Parent Rename for the selected item?
Maybe if multiple items are selected, then rename the parent folder they all have in common?

I wouldn't want to accidentally rename the wrong line, expecting that I'm working on the selected line, while the mouse is wandering off over some arbitrary random line.

Related post. viewtopic.php?f=4&t=8527
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Keyboard > Result List | Hot Item Parent | Rename

Post by void »

I have a question though. I'm reading that "Hot Item" means that the mouse cursor has to be hovering over the item to use this hotkey. It won't work if I'm navigating the results list from my keyboard arrows?
In Everything the 'Hot Item' is the result list item under the mouse cursor.
The Hot Item does not need to be selected.


Would it be possible to get a Parent Rename for the selected item?
Added for the next alpha update.
Includes a bunch of "Parent" commands for keyboard shortcuts.

I thought this was already available.
Thanks for bringing this to my attention.


Maybe if multiple items are selected, then rename the parent folder they all have in common?
I will consider this.
For now, Everything will only take action on the parent of the first selected result.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Keyboard > Result List | Hot Item Parent | Rename

Post by raccoon »

👍

Btw, does the SysListView321 just not allow editing-in-place except in the first column? That's why you added a dialog?
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: Keyboard > Result List | Hot Item Parent | Rename

Post by therube »

Neat. Never knew that was there.


Just an oddity...

If you have say NTFS Index & an overlapping Folder Index (I'm supposing that is the cause & not something else that may be set in the particular Instance), i.e., duplicated results, only one of the pair of files is renamed.

s/entries/entr/, before & after.
.
Everything - hot item parent - rename - NTFS+Folder index.png
Everything - hot item parent - rename - NTFS+Folder index.png (28.07 KiB) Viewed 5422 times
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Keyboard > Result List | Hot Item Parent | Rename

Post by void »

Btw, does the SysListView321 just not allow editing-in-place except in the first column?


Only the "label" (first column) can be in-place edited with the stock listview.


Everything doesn't use the stock listview.
All LVM_* messages are emulated.

It would be possible to in-place edit the parent folder name.
I'm just using a dialog to restrict renaming to the name part only.



If you have say NTFS Index & an overlapping Folder Index (I'm supposing that is the cause & not something else that may be set in the particular Instance), i.e., duplicated results, only one of the pair of files is renamed.
Looks like the folder index didn't update.
Are you monitoring changes to this folder index?
Does performing a Rescan Now on this folder index pickup the renamed folder?
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Keyboard > Result List | Hot Item Parent | Rename

Post by raccoon »

void wrote: Tue Oct 12, 2021 10:54 pmIt would be possible to in-place edit the parent folder name.
I'm just using a dialog to restrict renaming to the name part only.
Gosh, oh man, wouldn't in-place editing be so pretty though, and oh so powerful.
Even if you did have to prompt a sanity warning if the user gets carried too away with renaming the parent's parent folder.

I think I've encountered Edit (not RichEdit) controls that can restrict editing the left portion of text, thus protecting the portion of the path the user isn't allowed to rename.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Keyboard > Result List | Hot Item Parent | Rename

Post by void »

I will consider in-place parent folder renaming.

Thank you for the suggestion.
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: Keyboard > Result List | Hot Item Parent | Rename

Post by therube »

Are you monitoring changes to this folder index?
Ah, I had; Index, Attempt, & Never rescan.

But, that's weird, now I can't duplicate it?

Yesterday I didn't have a search term, just scrolled through the list of files & hit (Alt+F2, my hotkey, heh).
Today, I started with a search of 'file: cache2 89-profile' & it is renaming all the files.
Don't think there were any changes between yesterday & today.
The particular Instance is a "mule" that I only open when I'm messing around.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Keyboard > Result List | Hot Item Parent | Rename

Post by raccoon »

Thanks for adding a Keyboard > Result List | Parent | Rename hotkey for the selected item.
This is so fantastic and lets me really bang through renaming dozens of folders based on their file contents.
Everything64_3qz3T1IYoi.png
Everything64_3qz3T1IYoi.png (6.51 KiB) Viewed 5309 times
Post Reply