mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-02 05:20:29 +01:00
3da4d3aac3
This PR makes the `OpenProjectSettings` action open the settings UI in project settings mode for the first visible worktree, instead of opening the file. It also adds a `OpenProjectSettingsFile` action that maintains the old behavior. Finally, this PR partially fixes a bug where the settings UI won't load project settings when the settings window is loaded before opening a project/workspace. This happens because the global `app_state` isn't correct in the `Subscription` that refreshes the available setting files to open. The bug is still present in some cases, but it's out of scope for this PR. Release Notes: - settings ui: Project Settings action now opens settings UI instead of a file