Closed StefanJanssen95 closed 8 years ago
Thanks @StefanJanssen95, this is looking good. I'll put a few comments inline.
I'm still not sure about the tbinfo file, I see no issue with getting people to select the folder...
@Rob4001 people on windows can't select a folder with extension. And when we don't have that kind of control on selecting things when opening a project the user could select a not project folder, which we want to avoid.
I currently made it like this because we can't use both openFile and openDirectory.
I know, it is the same on Linux, I think for the first releasebwe can use the dialogue system with people selecting the folder, then later we make our own folder picker where we can define if tingapp as an extension
If the user comes from a file browser (File Explorer, downloads folder) then they'll go into the folder and the app.tbinfo is what they'll double-click to open. So for consistency's sake I think they should be selecting the same thing in the open dialog.
@Rob4001 I would say for the first release select the tbinfo meta file. Do folder selection later. .tbinfo works on all the systems. folder selection can go wrong on Windows and Linux
Changed the openProject menu to open files, files and folders cant be used at the same time. Running the project runs the open project instead of the default project.