SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: jporkkahtc on March 25, 2021, 06:09:16 pm

Title: Find-in-files filters
Post by: jporkkahtc on March 25, 2021, 06:09:16 pm
The "..." next to File types:

In a clean configuration

#1 why is "Powershell" not in the list?
#2 Why is the list not sorted in some way?
     Can it get sorted please?
#3 It would be nice for it to display the file patterns next to the name, like the FileTypes drop down list does
Title: Re: Find-in-files filters
Post by: Clark on March 26, 2021, 12:57:48 am
#1 Not all languages are in the list. Not even close. There are way too many.
#2 The order of the list is customizable. Most likely the order of the default list will not be what you want. Nothing we can do about that. A sorted list would be a bit useless since most customers will want the languages they work on most to be at the top.
#3 Reasonable idea
Title: Re: Find-in-files filters
Post by: jporkkahtc on March 31, 2021, 10:28:37 pm
WRT #2:
Looks like the list in FindInFiles, def_find_file_types,  is customizable, but not the list used elsewhere.
For example, in the File->Open dialog - it appears to use def_file_types.

Title: Re: Find-in-files filters
Post by: Clark on March 31, 2021, 11:22:37 pm
Currently you can only modify def_file_types under Tools>Options>File options> Filters. I’m not at my computer but this location should be close enough to get you there. Modifying def_file_types in the open dialogs is probably doable but not worth the effort (3 platforms with totally different code and APIs).
Title: Re: Find-in-files filters
Post by: jporkkahtc on April 01, 2021, 02:43:15 am
Tools > Options > File Options > Files of Type Filters works.
Thanks.