Hi there,
I have two small suggestions. First, it would be nice to have possibility to open a folder in CudaText direct from file explorer (now only a file can be opened in this way). The second suggestion is to implement auto view/hide project manager depends on an argument type when a file/folder is opening with "Open with ..." from file explorer.
Best regards
Piotr
Auto view/hide Project Manager when "Open with..."
1. Posted this to shell-extension author- https://github.com/dinkumoil/cuda_shell ... ion/issues
2. maybe we need command line key like -side=1 (=0) , shell extension will use it?
2. maybe we need command line key like -side=1 (=0) , shell extension will use it?
I played a bit with command line and it looks like (almost) nothing must be done to implement my second suggestion (view/hide a project manager). Actually the project manager is already auto opened when CudaText is run with a folder name parameter (or one of parameters). The problem is that the state of the project manager (shown/hide) is stored and if CudaText is next opened with file name parameter the manager persists opened :/
I do not have Lazarus installed so I am not able to find the issue :/
I do not have Lazarus installed so I am not able to find the issue :/
But what if a user prefer the side panel to be hidden all the time. Now, if CudaText is opened with Folder name parameter, the panel will be visible and will remain visible until the user changes it. This is against the user's decision. Also cmd-line key, like proposed above, will not change it.
Maybe showing/hiding the sidebar panel, in such scenario, should be treated as a temporary action? What do you think of it?
Maybe showing/hiding the sidebar panel, in such scenario, should be treated as a temporary action? What do you think of it?
I added option
//Side-panel's visible state on program start
// 0: Restore state from history file
// 1: Show
// 2: Hide, plugins can show panel if needed
"ui_sidepanel_on_start": 0,
Pls test,
http://uvviewsoft.com/c/
//Side-panel's visible state on program start
// 0: Restore state from history file
// 1: Show
// 2: Hide, plugins can show panel if needed
"ui_sidepanel_on_start": 0,
Pls test,
http://uvviewsoft.com/c/
Reply from shell-extension author (github):
Aside from the fact that I don't have any time to work on the shell extension, it's worth to say that at least under Windows 10 v1909 Prof. the context menu of a folder already contains an Open with CudaText entry. If one clicks on it, CudaText opens and adds the selected folder to the project manager side panel.
Thus, changing the shell extension in a manner that it would send the paths of all files contained in a folder instead of the folder path itself to CudaText would break the functionality mentioned above. Or do I miss something?
Aside from the fact that I don't have any time to work on the shell extension, it's worth to say that at least under Windows 10 v1909 Prof. the context menu of a folder already contains an Open with CudaText entry. If one clicks on it, CudaText opens and adds the selected folder to the project manager side panel.
Thus, changing the shell extension in a manner that it would send the paths of all files contained in a folder instead of the folder path itself to CudaText would break the functionality mentioned above. Or do I miss something?