Skip to content

Open files from imported projects on first run after update.#9464

Draft
neilcsmith-net wants to merge 1 commit into
apache:masterfrom
neilcsmith-net:gh9443
Draft

Open files from imported projects on first run after update.#9464
neilcsmith-net wants to merge 1 commit into
apache:masterfrom
neilcsmith-net:gh9443

Conversation

@neilcsmith-net

Copy link
Copy Markdown
Member

Open files from imported projects on first run after update. This follows on from #9449 and uses the now imported attributes to maintain the open files after updating the IDE. This (partly) resolves #9443

The code first checks whether any editors are already open, otherwise it interferes with the last focused tab on subsequent runs. The other option would be to check for first run after update, but I'm not sure we have an easy way to do that?

The real project is extracted from the project lookup as the configuration cannot be read using the ergonomics wrapper project. (bug??)

Draft for now - needs more testing.

@neilcsmith-net neilcsmith-net requested a review from mbien June 23, 2026 09:02
@neilcsmith-net neilcsmith-net added UI User Interface ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Jun 23, 2026
@neilcsmith-net neilcsmith-net marked this pull request as draft June 23, 2026 09:02
@mbien mbien added the Editor label Jun 23, 2026
@mbien

mbien commented Jun 23, 2026

Copy link
Copy Markdown
Member

seems to work pretty well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Editor UI User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keep/import a list of opened files after NetBeans updates

2 participants