//Sub-option of "ui_open_dir".
"ui_initial_dir": "",
//Initial folder of Open/Save-as dialog.
//Has character(s), each character is a step to detect the folder.
// 'p': If project is opened: selected folder in the Project Manager,
// or folder of the "projectname.cuda-proj" file.
// 'f': Folder of focused ui-tab, if it's named.
// 'l': Last user-chosen folder in the Open/Save-as dialog.
// 'i': Value of option "ui_initial_dir", if not empty.
// 'h': OS home folder.
"ui_open_dir": "pflih",
I tested the "f" option by itself it works.
But "pf" to first consider an open project still remembers the last selected folder path after removing the root.
I've been opening folders (File -> Open folder...), then removing the root node to close them, but not saving project files. Saved projects do the same thing it seems.
>I've been opening folders (File -> Open folder...), then removing the root node to close them, but not saving project files.
Pls don't do this; but do this: to clear opened project, call in its context menu: project file / new project. With this Cud must forget about last project dir.
I made a fix for ProjManager. Pls download files from https://github.com/Alexey-T/CudaText/tr ... roject_man
and replace them in (cudatext)/py/cuda_project_man.
now you can ignore this: 'to clear opened project, call in its context menu:... '
it helped?