Automatically re-open the last opened project #2334
Replies: 7 comments
-
I vote for it and the rest too! |
Beta Was this translation helpful? Give feedback.
-
That would make extension development much nicer too, since we will no longer have to navigate to the test project over and over on each refresh, GD will just load it for you |
Beta Was this translation helpful? Give feedback.
-
I would be keen to have it in this order:
Note that we can do this without being electron specific :) The list of "recent" projects can be saved in preferences - which are saved in localstorage in the web-app (precisely, this will be a list of When we click on the button to open a project, we'll re-open the file with the "StorageProvider" that was used to open it the first time. This means that we will be able to store in this list of recent projects a file opened from Google Drive (or later from Dropbox, OneDrive, etc...) or a local file. How does that work with Electron? Two last things:
GDevelop/newIDE/app/src/MainFrame/index.js Line 145 in ee1e67a
|
Beta Was this translation helpful? Give feedback.
-
added card here @4ian I am mostly interested in having the option to make the editor automatically load with the project for me when reloaded - requiring zero clicks, zero steps. I would like to add that. That would massively improve dev iteration. it is currently a pain in the neck for making extensions. Imagine a world where we would not need to navigate to the same project over and over again every time we make a change we would like to test.. yes, its a much nicer world 😄 I think @Bouh agrees too. Thats probably why it is the default behaviour of most programming IDEs (not just vscode) My suggestion is not only to have the option, but also to turn it on by default. The recent files menu is nice too, but is secondary in importance for me. It might sound like I am being picky and complaining about a minor thing here, but if you stop and think about how many times we reload and do this navigating back to the project when working on anything - you will see how ridiculous it is that we still need to do that by default. The ide can be doing that for us. This can potentially save us so much time |
Beta Was this translation helpful? Give feedback.
-
So I think in this case what we need is something a bit more evolved:
re-open the project that was opened *and* the tabs that were opened as well
as set active the proper tab that was last active at the time the software
was closed?
…On Sun, 12 Jan 2020, 16:25 Todor Imreorov, ***@***.***> wrote:
added card here
https://trello.com/c/EUCMh9Po/394-add-option-to-autoload-previously-opened-project-when-starting-the-ide-similar-to-vscodes-default-behavior
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1356?email_source=notifications&email_token=AAJYRAQYP72QMOJUFD7BJYLQ5M76LA5CNFSM4KEY2ZUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIW6A4I#issuecomment-573431921>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJYRAXC7Q7KNEBEALF6E6DQ5M76LANCNFSM4KEY2ZUA>
.
|
Beta Was this translation helpful? Give feedback.
-
Yes indeed if it also remembers the ui's state that would be a huge improvement too 👍 We might already have an issue raised for the tab state somewhere. |
Beta Was this translation helpful? Give feedback.
-
I'm pretty sure both of the features mentioned in this thread (Recent projects, re-open last project upon load option) are in the engine now. Am I missing anything on this ,or are we good to lock/close this discussion, @blurymind @4ian |
Beta Was this translation helpful? Give feedback.
-
So I recently added a feature like this to my svete+electron app and this is something that really makes it nice to use it imo. Basically the idea is:
If you are using electron and you closed the app without closing the project before that, next time you start it, electron remembers your last opened project and utomatically loads it - so you are straight in it without the need to navigate to its folder.
If you close the project and then close the app, when you start it, the next time you start it - you are offered the standard dialog to create/open a project. This also happens if the autoload fails to load the project because it was moved (path changed)
This is kind of something we take for granted in most programming Ides and some other game engines. With vscode or gitkracken for example, when you open it, you are straight back in your project - you dont have to navigate to it.
Additionally nice to have would be a file> recent menu where one can reopen one of the 5 last edited projects
Beta Was this translation helpful? Give feedback.
All reactions