Some wishes...
- Plugins / project manager / config should be accessible from the project pane
- Plugins / project manager / config and / project properties etc should be on one dialog with tabs
- Sorting order should allow none, that is the order of the project file as before, with v215 (?). This is IMPORTANT as it allows to manage the order via an external application
- when clicking on a file, after the click is released, and the file is loaded, the focus should be set on the edit window (not stay on the project pane)
A suggestion
- when long-clicking on a file, the content is shown and, when the click is released, the file, if it wasn't opened before, is closed unless, of course, there is a new click.
Project managing
-
- Posts: 2265
- Joined: 25.08.2021 18:15
Re: Project managing
>- Plugins / project manager / config should be accessible from the project pane
AFAIR it was so before, later I removed project-panel button 'gear' which called this dlg. Config dlg must be unified, so must be called from "Options / Settings-plugins".
>- Plugins / project manager / config and / project properties etc should be on one dialog with tabs
Plugin's dialogs with ui-tabs are hard to make.
UI won't be better, for me.
I don't like the idea.
>- Sorting order should allow none, that is the order of the project file as before, with v215 (?).
Maybe I will add 'none'. I will write the note for me.
AFAIR it was so before, later I removed project-panel button 'gear' which called this dlg. Config dlg must be unified, so must be called from "Options / Settings-plugins".
>- Plugins / project manager / config and / project properties etc should be on one dialog with tabs
Plugin's dialogs with ui-tabs are hard to make.
UI won't be better, for me.
I don't like the idea.
>- Sorting order should allow none, that is the order of the project file as before, with v215 (?).
Maybe I will add 'none'. I will write the note for me.
Last edited by main Alexey on 25.09.2024 16:25, edited 1 time in total.
-
- Posts: 2265
- Joined: 25.08.2021 18:15
Re: Project managing
>when clicking on a file, after the click is released, and the file is loaded, the focus should be set on the edit window (not stay on the project pane)
On Linux gtk2 version, focus is put to the editor after I click a file in project's tree. What OS and widgets do you have?
On Linux gtk2 version, focus is put to the editor after I click a file in project's tree. What OS and widgets do you have?
-
- Posts: 2265
- Joined: 25.08.2021 18:15
Re: Project managing
>Maybe I will add 'none'.
Added. You can download the updated ProjectMan files from
https://github.com/Alexey-T/CudaText/tr ... roject_man
Added. You can download the updated ProjectMan files from
https://github.com/Alexey-T/CudaText/tr ... roject_man
Re: Project managing
"none" seems not to work: it sorts (randomly ?)
it seems that 'sorted' shuffles equivalent elements at random when given a constant tag value ' '
For the moment, I commented out __init__:980 (nodes = sorted(nodes, key=Command.node_ordering_direntry) )
I'm using (or trying to use...) Windows 10.
when clicking on a file, after the click is released, and the file is loaded, the focus (now ?) IS correctly set on the edit window.
it seems that 'sorted' shuffles equivalent elements at random when given a constant tag value ' '
For the moment, I commented out __init__:980 (nodes = sorted(nodes, key=Command.node_ordering_direntry) )
I'm using (or trying to use...) Windows 10.
when clicking on a file, after the click is released, and the file is loaded, the focus (now ?) IS correctly set on the edit window.
-
- Posts: 2265
- Joined: 25.08.2021 18:15
Re: Project managing
it is not easy to make a patch.
'sorted()' is called in 3 places.
and not sure what to change: skip 'sorted()' line or change the comparing function and call sorted().
comparing func is maybe needed , because it sorts folders first, files next.
try to give full patch.
'sorted()' is called in 3 places.
and not sure what to change: skip 'sorted()' line or change the comparing function and call sorted().
comparing func is maybe needed , because it sorts folders first, files next.
try to give full patch.
-
- Posts: 2265
- Joined: 25.08.2021 18:15
Re: Project managing
@phi
I got the fix for 'none' sort mode.
test it pls. get the last file __init__.py from
https://github.com/Alexey-T/CudaText/tr ... roject_man
is it fixed?
I got the fix for 'none' sort mode.
test it pls. get the last file __init__.py from
https://github.com/Alexey-T/CudaText/tr ... roject_man
is it fixed?