tingbot / tide-electron

📝   Simple IDE for developing Tingbot apps
Other
22 stars 7 forks source link

Project structure/feature #16

Closed StefanJanssen95 closed 8 years ago

StefanJanssen95 commented 8 years ago

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.

joerick commented 8 years ago

Thanks @StefanJanssen95, this is looking good. I'll put a few comments inline.

Rob4001 commented 8 years ago

I'm still not sure about the tbinfo file, I see no issue with getting people to select the folder...

StefanJanssen95 commented 8 years ago

@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.

Rob4001 commented 8 years ago

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

joerick commented 8 years ago

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.

StefanJanssen95 commented 8 years ago

@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