Remember project configs - #333
Conversation
1. Remember the last selected target. 2. Restore the last configured configs. Fix xmake-io#252, Fix xmake-io#273
There was a problem hiding this comment.
Code Review
This pull request introduces target persistence using VS Code's workspace state and updates configuration initialization to respect in-memory options when they have changed. The review feedback highlights two issues: a potential runtime error or type mismatch if the toolchain option is not set in memory when keepChangedOptions is true, and an inconsistency where setting the target to undefined (defaulting to 'default') is not persisted to the workspace state.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Adjust configs checking logic. Fix xmake-io#252, Fix xmake-io#273
Fix #252, Fix #273