Hello,
Is it possible to add an option or API to sort the files by creating time in project panel?
Thanks!
changing files orders in project panel
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: changing files orders in project panel
In the "Project Manager options" dialog, we have option "Sorting order": it has value "by date". It is modification date. Do you need 'creation' date?
Re: changing files orders in project panel
It's used in the new version of cuda? In CudaText 1.214.6.6,it seems not included in dialog?
main Alexey wrote: ↑25.08.2024 14:18 In the "Project Manager options" dialog, we have option "Sorting order": it has value "by date". It is modification date. Do you need 'creation' date?
Re: changing files orders in project panel
I see the change dialog,it's included in new version, thanks!
Re: changing files orders in project panel
Add 'creation' date is an good idea, it would be usefull.main Alexey wrote: ↑25.08.2024 14:18 In the "Project Manager options" dialog, we have option "Sorting order": it has value "by date". It is modification date. Do you need 'creation' date?
BTW, any api to set the option for quickly changing the sorting pattern?
Thanks!
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: changing files orders in project panel
i will think about adding 'creation date', it is supported on Win and on Unix 'ctime' means different thing,
https://docs.python.org/3/library/os.ht ... tat_result
see 'st_ctime' here.
>any api to set the option for quickly changing the sorting pattern?
no API, sorry.
and no context menu item.
https://docs.python.org/3/library/os.ht ... tat_result
see 'st_ctime' here.
>any api to set the option for quickly changing the sorting pattern?
no API, sorry.
and no context menu item.
Re: changing files orders in project panel
Hello Alexey,
For file manager, is it possible to add a hotkey for context menu "focus in file manager"(like Ctrl+Enter) and "find in folder"(like Ctrl+F)?
Also, is it possible to add a hotkey to fold the select node in project panel?
Thanks!
For file manager, is it possible to add a hotkey for context menu "focus in file manager"(like Ctrl+Enter) and "find in folder"(like Ctrl+F)?
Also, is it possible to add a hotkey to fold the select node in project panel?
Thanks!
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: changing files orders in project panel
I added these 2 commands now to Cmd Palette. Plugin is updated in our Github repo. download it, update, test.>is it possible to add a hotkey for context menu "focus in file manager"(like Ctrl+Enter) and "find in folder"(like Ctrl+F)?
https://github.com/Alexey-T/CudaText ,
there find the 'py/cuda_project_man' folder.
Currently no such command. please give the patch to plugin.>possible to add a hotkey to fold the select node in project panel?
Re: changing files orders in project panel
Plugin is updated,but side bar seems became empty. In API page,I didn't find the function to handle project panel node fold/unfold, could you please provide more information?main Alexey wrote: ↑26.08.2024 06:51I added these 2 commands now to Cmd Palette. Plugin is updated in our Github repo. download it, update, test.>is it possible to add a hotkey for context menu "focus in file manager"(like Ctrl+Enter) and "find in folder"(like Ctrl+F)?
https://github.com/Alexey-T/CudaText ,
there find the 'py/cuda_project_man' folder.
Currently no such command. please give the patch to plugin.>possible to add a hotkey to fold the select node in project panel?
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: changing files orders in project panel
>but side bar seems became empty.
Must be some python error. see it in the Console in the bottom. copy/paste it here.
Must be some python error. see it in the Console in the bottom. copy/paste it here.