[PR #6299] Add keybinding arg to openSettings #26636

Open
opened 2026-01-31 09:17:16 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/6299

State: closed
Merged: Yes


Summary of the Pull Request

Adds the target keybinding arg to openSettings. Possible values include: defaultsFile, settingsFile, and allFiles.

References

#5915 - mini-spec

PR Checklist

Detailed Description of the Pull Request / Additional comments

Implemented as discussed in the attached spec. A new enum will be added for the SettingsUI when it becomes available.

Validation Steps Performed

Added the following to my settings.json:

{ "command": "openSettings", "keys":... },
{ "command": { "action": "openSettings" }, "keys":... },
{ "command": { "action": "openSettings", "target": "settingsFile" }, "keys":... },
{ "command": { "action": "openSettings", "target": "defaultsFile" }, "keys":... },
{ "command": { "action": "openSettings", "target": "allFiles" }, "keys":... }
**Original Pull Request:** https://github.com/microsoft/terminal/pull/6299 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Adds the `target` keybinding arg to `openSettings`. Possible values include: `defaultsFile`, `settingsFile`, and `allFiles`. ## References #5915 - mini-spec ## PR Checklist * [x] Closes #2557 * [x] Tests added/passed ## Detailed Description of the Pull Request / Additional comments Implemented as discussed in the attached spec. A new enum will be added for the SettingsUI when it becomes available. ## Validation Steps Performed Added the following to my settings.json: ```json { "command": "openSettings", "keys":... }, { "command": { "action": "openSettings" }, "keys":... }, { "command": { "action": "openSettings", "target": "settingsFile" }, "keys":... }, { "command": { "action": "openSettings", "target": "defaultsFile" }, "keys":... }, { "command": { "action": "openSettings", "target": "allFiles" }, "keys":... } ```
claunia added the pull-request label 2026-01-31 09:17:16 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26636