add-layout:<list>

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

add-layout:<list>

Post by Stamimail »

viewtopic.php?f=12&t=10176&p=37764#add-layout

testing 1313...

How do I set layout or toggling by search bar? make it permanently (Not Temporarily).
Do we need a command line bar to run commands?
I suggested in past to use ">" at the beginning of the search bar:
>
but I think it will limit it, to run commands only when the the search bar is empty, unless you will add an option to add a secondary bar, so that the user will put ">" in the secondary bar to run commands.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: add-layout:<list>

Post by Stamimail »

Is auto-suggestion planned for Everything 1.5?
so that when you type ":" (and later when you type ";")
add-layout:
a list of filters will be suggested below the keyboard cursor.

when you type "E"
add-layout:E
the user will be able to select one from the list instead of typing letter after letter.
Everything
Executable
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: add-layout:<list>

Post by void »

How do I set layout or toggling by search bar? make it permanently (Not Temporarily).
Please try one or more of the following search commands:
/show-preview
/hide-preview
/toggle-preview
/show-folders
/hide-folders
/toggle-folders
/show-filters
/hide-filters
/toggle-filters
/show-filter-bar
/hide-filter-bar
/toggle-filter-bar
/show-status-bar
/hide-status-bar
/toggle-status-bar
/show-menu-bar
/hide-menu-bar
/toggle-menu-bar

Use Alt + Enter to separate your search commands.
For example:
/show-preview<Alt + Enter>/hide-status-bar

The intended way to change the layout is to use the View menu.
layout:/add-layout:/remove-layout: search functions are designed for use with filters.

I will consider a simple /layout menubar;statusbar;etc... search function to make this easier for bookmarks.


Is auto-suggestion planned for Everything 1.5?
Yes, but for search functions only. (not search commands)
I don't expect anyone to type add-layout: into the search box.

Depending on the usefulness of layout: I may add a Layout option in filters and bookmarks.
Similar to the columns field.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: add-layout:<list>

Post by Stamimail »

lease try one or more of the following search commands:
I tested some. It works.
I understand that
/toggle-preview
as a verbal command is a better syntax for "a command line freak" than
/preview=!
(like /alternate_row_color=!)

While testing, I can say that the second way (/preview=!) is easier to edit to get things back to normal than the first way (/toggle-preview).
Use Alt + Enter to separate your search commands.
For example:
/show-preview<Alt + Enter>/hide-status-bar
I didn't like it. <Alt + Enter> is not noticeable.
The intended way to change the layout is to use the View menu.
layout:/add-layout:/remove-layout: search functions are designed for use with filters.

I will consider a simple /layout menubar;statusbar;etc... search function to make this easier for bookmarks.
viewtopic.php?f=6&t=10751#p41061
Last edited by Stamimail on Thu May 12, 2022 12:24 pm, edited 1 time in total.
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: add-layout:<list>

Post by void »

Thank you for your feedback and suggestions Stamimail,
(like /alternate_row_color=!)
I'll add the following search commands:
/toggle-alternate-row-color
/enable-alternate-row-color
/disable-alternate-row-color


Use Alt + Enter to separate your search commands.
For example:
/show-preview<Alt + Enter>/hide-status-bar
I didn't like it. <Alt + Enter> is not noticeable.
I'll make the bookmark edit control multi-lined so this is obvious.
I do not intend to support Alt + Enter in the main search box.
For now, this was a quick hack so a bookmark can set multiple ini settings.
The intended way to change the layout is to use the View menu.
layout:/add-layout:/remove-layout: search functions are designed for use with filters.

I will consider a simple /layout menubar;statusbar;etc... search function to make this easier for bookmarks.
viewtopic.php?f=6&t=10751#p41061
I have started to add a few UI ini settings to do this.
Currently the following UI ini settings are supported:
/window_x
/window_y
/window_wide
/window_high
/invert_layout
/theme
/maximized
/ontop
/match_case
/match_path
/match_whole_word
/match_diacritics
/match_prefix
/match_suffix
/ignore_punctuation
/ignore_whitespace
/regex

I have on my TODO list to add more.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: add-layout:<list>

Post by Stamimail »

Stamimail wrote: Thu May 12, 2022 11:29 amWhile testing, I can say that the second way (/preview=!) is easier to edit to get things back to normal than the first way (/toggle-preview).
void wrote: Thu May 12, 2022 12:02 pmI'll add the following search commands:
/toggle-alternate-row-color
/enable-alternate-row-color
/disable-alternate-row-color
Question - Why didn't you choose the form:
/alternate-row-color-toggle
/alternate-row-color-enable
/alternate-row-color-disable
so that when you will need to sort all the commands, you will get it grouped by command?
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: add-layout:<list>

Post by void »

I will consider support for both:

/alternate-row-color-toggle
/alternate-row-color-enable
/alternate-row-color-disable
/toggle-alternate-row-color
/enable-alternate-row-color
/disable-alternate-row-color


I have put on my TODO list to group commands, for example a Layout group with all the layout search commands.


Thanks for the suggestion.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: add-layout:<list>

Post by NotNull »

Stamimail wrote: Tue May 17, 2022 8:26 am Question - Why didn't you choose the form:
They all follow the Verb-Noun syntax/format.
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: add-layout:<list>

Post by void »

Verb-Noun is the preferred format.

Although, I always forget.
So you have both Verb-Noun/Noun-Verb for most search commands already:

eg:

/config_save
/save_config
/db_save
/save_db



I will look into support for TAB to cycle search commands.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: add-layout:<list>

Post by NotNull »

PowerShell has a brilliant (imo) universal command-completion option.
Type
(gi .\file.txt).
followed by 'CTRL + SPACE' to see the effect.
(file.txt is an existing file)
Or
Get-Item -
followed by 'CTRL + SPACE'

'CTRL + SPACE' is already in use in Everything (complete search based on search history), but 'SHIFT + SPACE' is free, I think (or is that in use for a "hard space"?)

'TAB' is often used for Tab-completion, but is already in use in Everything (cycle through different panes)
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: add-layout:<list>

Post by void »

I'll add search commands to Everything's Ctrl + Space suggestions.
I should also add search functions.

Thanks for the suggestion.

Ctrl + Shift + Space is a hard space.

TAB currently auto completes ini settings, eg:
/f<TAB><TAB>
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: add-layout:<list>

Post by NotNull »

void wrote: Wed May 18, 2022 12:09 pm TAB currently auto completes ini settings
:shock:
Nice!! (so TAB is doable after all ..)
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: add-layout:<list>

Post by Stamimail »

void wrote: Wed May 18, 2022 12:09 pmTAB currently auto completes ini settings, eg:
/f<TAB><TAB>
In terms of the help aspect, how do you inform the user about such a feature? Tooltip when using for the first time? or count on that he will find it in the help books or web?
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: add-layout:<list>

Post by void »

In terms of the help aspect, how do you inform the user about such a feature?
There doesn't need to be tip to explain TAB completion in Everything.

Most users will never use a search command.
Search commands usually come with instructions online to change some obscure setting.

TAB for auto complete is standard for a console.
Search commands are essentially console commands.



Search Commands
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: add-layout:<list>

Post by Stamimail »

void wrote: Fri May 20, 2022 7:56 amSearch Commands
I think you buried this tip deeply.
Please search in "Search Commands" for this line:

Code: Select all

Use TAB from the search box to auto complete the ini-setting-name.
TAB for auto complete is standard for a console.
Search commands are essentially console commands.
In addition to the first character ">" suggestion, I will also suggest to change the background color and font color of the search bar, when typing the first character ,to colors like that of the command line / console.
void
Developer
Posts: 16750
Joined: Fri Oct 16, 2009 11:31 pm

Re: add-layout:<list>

Post by void »

I think you buried this tip deeply.
Please search in "Search Commands" for this line:
Currently, only ini setting names support TAB completion.
Support for TAB completion on all search commands is on my TODO list.


In addition to the first character ">" suggestion, I will also suggest to change the background color and font color of the search bar, when typing the first character ,to colors like that of the command line / console.
I will consider changing the background color / font color when using search commands.
Thank you for the suggestion.
Post Reply