Can we have RegEx support in the csv file used to define custom properties for files/folders?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Ralf_Reddings
Posts: 120
Joined: Fri Mar 24, 2023 4:53 pm

Can we have RegEx support in the csv file used to define custom properties for files/folders?

Post by Ralf_Reddings »

Currently its possible to define custom properties per file using
property_user_values=C:\Propertys\Tags.csv
in the everything settings file, then inside the
C:\Propertys\Tags.csv
file, you can define properties per file like this:

Code: Select all

Filename,Tags
C:\Photos\picture1.jpg,beach;sunny
C:\Photos\picture2.jpg,rain;flower
You can even override that files details icon and thumbnails icon with:

Code: Select all

Filename,Tags,Icon,Thumbnail
C:\Photos\picture1.jpg,beach;sunny,c:\temp/cat.ico,c:\temp/cat.png
C:\Photos\picture2.jpg,rain;flower,c:\temp/dog.ico,c:\temp/dog.png
I cannot overstate how incredibly useful this is

For example, windows explorer makes it very hard to do this:
  • it will allow custom icons for some files, not for others.
  • it will allow custom icons for Symbolic folders but not for Symbolic files etc etc

I really want to take advantage of this feature in Everything.

But its missing one feature that I really need, to be able to mass apply a property to one or more files/folders. So that way. it will be possible to
  • To assign a specific a
    .ico
    file to 5 files details icon
  • To assign a specific
    Tag
    property to a folder and all the items inside said folder

Everything allows the use of RegEx in places beyond the main search bar, can this
.csv
file be one more place we can use RegEx please?

One advantage that I can think of with this, is that the entries in the
.csv
will be significantly reduced, which in my case at least, would be a major plus.

Thank you.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Can we have RegEx support in the csv file used to define custom properties for files/folders?

Post by NotNull »

Currently, adding tags has to be done manually by editing a textfile.
A user interface to simplify this is in development. I can imagine that it will include a context menu entry for selected files to add tags.

But time will tell ....
Ralf_Reddings
Posts: 120
Joined: Fri Mar 24, 2023 4:53 pm

Re: Can we have RegEx support in the csv file used to define custom properties for files/folders?

Post by Ralf_Reddings »

I actually preffer to work with the everything configs directly, whether its
.ini
or
.csv


This is how I how configure many programs already, such as VS Code. I find it to be much more flexible and conforming between applications. I can fold entire sections of the
.csv
booksmarks file and I get syntax highlighting amongst other benifits. I have hundreds of bookmarks, some not even for Everything but for automating things Everything does for other programs.
Image

When I am done, I call a shell script, it does a few things such as trigger a everything bookmark with `/restart-now` from the command line, to get Everything to quickly reload with the new settings.
NotNull wrote: Sat Apr 08, 2023 2:14 pm A user interface to simplify this is in development. I can imagine that it will include a context menu entry for selected files to add tags.
That makes sense, thats how some of the other config panels work. I just hope the feature makes its way down to a editable text file that can be accessed outside Everything...which now that I think about it, is how evrything stores all its configs :lol:


Thanks!
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can we have RegEx support in the csv file used to define custom properties for files/folders?

Post by void »

I've put on my TODO list to add regex/wildcard support to user property values.

Thank you for the suggestion.
Post Reply