AndroidIDE icon indicating copy to clipboard operation
AndroidIDE copied to clipboard

[Feature]: Preserve exact project state before closing it down

Open gituser1000000 opened this issue 2 years ago • 2 comments

Feature description

Before closing, save a project's state so that when reopening it, we are exactly right where we left off.

The state should include the file list and the currently active file. In each opened file, the cursor position, the selected text (if any), and the position of the view port should also be preserved. It would be great if we could also include the undo history.

Usually, I just make sure the IDE does not have an active build in progress, and just hit the home button before using other apps or putting the device away, hoping the next time I open the IDE, everything would still be there and not already killed by the system.

If this feature is in place, I just might want to use it instead so that there would be more available memory left for other apps.

What version of AndroidIDE you're using?

v2.5.2 (debug builds)

Duplicate issues

  • [X] This issue has not been reported yet.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

gituser1000000 avatar Aug 23 '23 21:08 gituser1000000

This is planned to be implemented in the rework-tooling-api branch.

itsaky avatar Aug 24 '23 07:08 itsaky

This has been postponed and will not be worked on until after v2.6.0-beta is released.

itsaky avatar Sep 11 '23 16:09 itsaky