Avoid creating bookmarks directories when using /

Discussion related to "Everything" 1.5 Alpha.
Post Reply
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Avoid creating bookmarks directories when using /

Post by harryray2 »

I would like to keep /close-all and /load in my bookmarks...how do I save this without creating a directory?
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search Commands

Post by void »

I'm not sure what you mean?

Create the bookmark in the root Bookmarks folder?
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Search Commands

Post by harryray2 »

Sorry, yes. When I enter it as a bookmark, because of the / it creates a directory.

I know I can disable the slash from creating a directory in bookmarks but if I do that it buggers up the directories I created originally in 1.4 before the 1.5 way of creating a directory.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Avoid creating bookmarks directories when using /

Post by void »

Ah, menu_folders.

menu_folders does break a lot in Everything 1.5.



Please send your Bookmarks.csv to support@voidtools.com and I'll convert them to Everything 1.5 bookmarks with folders.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Avoid creating bookmarks directories when using /

Post by void »

Consider changing your menu_folder_separator.

For example:
/menu_folder_separator=>
(or some other less common character or string, eg: >>> )
and then replace all the \ in your bookmarks.csv with >

Make sure Everything is not running when editing your bookmarks.csv.
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Avoid creating bookmarks directories when using /

Post by harryray2 »

Thanks
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Avoid creating bookmarks directories when using /

Post by raccoon »

I would like to understand this issue better. I have been saving /settings_commands=value bookmarks, utilizing the "/" character in both the Name and Search fields, and I have saved them to a folder "Everything Settings" in my bookmarks, and nothing has ever behaved unexpectedly in v1.5.

Code: Select all

Name,Type,Folder,Case,Whole Word,Path,Diacritic,Prefix,Suffix,Ignore Punctuation,Ignore Whitespace,Regex,Search,Filter,Columns,Sort,Descending,View,Index,File List,Host,Link Type,Macro,Key
"Everything Settings",1,"",,,,,,,,,,,,"","",0,,,,,0,,
"/hotkey_explorer_path_search=1",0,"Everything Settings",,,,,,,,,,"/hotkey_explorer_path_search=1",,"","",0,,,,,0,,
"/icon_shell_extensions=0",0,"Everything Settings",,,,,,,,,,"/icon_shell_extensions=0",,"","",0,,,,,0,,
"/path_hit_text_only=0",0,"Everything Settings",,,,,,,,,,"/path_hit_text_only=0",,"","",0,,,,,0,,
"/display_full_path_name=[0,1]",0,"Everything Settings",,,,,,,,,,"/display_full_path_name=",,"","",0,,,,,0,,
"/folder_append_path_separator=1",0,"Everything Settings",,,,,,,,,,"/folder_append_path_separator=1",,"","",0,,,,,0,,
"Degenerate Names",1,"",,,,,,,,,,,,"","",0,,,,,0,,
"Sequential Spaces (spaces:)",0,"Degenerate Names",,,,,,,,,,"""  """,,"","",0,,,,,0,"spaces",
"Dot-dot",0,"Degenerate Names",,,,,,,,,,"""..""",,"","",0,,,,,0,,
"Space then file extension",0,"Degenerate Names",,,,,,,,,,"regex:""\s\.\w+$""",,"","",0,,,,,0,,
"Dots before file extension",0,"Degenerate Names",,,,,,,,,,"regex:""\.\.\w+$""",,"","",0,,,,,0,,
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Avoid creating bookmarks directories when using /

Post by harryray2 »

If I enter a bookmark starting with "/", rather than it working as a command it creates a directory within bookmarks.

I've now changed the separator, but by doing that all the bookmark directories I created in 1.4 have disappeared and left the individual bookmarks in my bookmarks list.

I've had to recreate the directories, and place each bookmark in the relevant directories.
Not difficult, but somewhat tedious.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Avoid creating bookmarks directories when using /

Post by void »

I would like to understand this issue better. I have been saving /settings_commands=value bookmarks, utilizing the "/" character in both the Name and Search fields, and I have saved them to a folder "Everything Settings" in my bookmarks, and nothing has ever behaved unexpectedly in v1.5.
My guess is harryray2 is using menu_folders=1 (which is disabled by default) and menu_folder_separator=/


menu_folder_separator will default to \
When menu_folders is enabled, folders are automatically created when the menu item contains the menu_folder_separator.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Avoid creating bookmarks directories when using /

Post by raccoon »

Ah, thank you. I did not expect menu_folders=1 to migrate over to 1.5. Just kind of assumed that old bookmarks would be converted to new bookmarks quietly in the background, now that folders are their own CSV entity.
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Avoid creating bookmarks directories when using /

Post by harryray2 »

@void, that sounds about right...
Post Reply