Skip to content

Saving in the Settings UI breaks "iterateOn" #10365

@ffes

Description

@ffes

Windows Terminal version (or Windows build number)

1.9.1523.0

Other Software

No response

Steps to reproduce

I have written a blogpost on how to add the profiles to the command palette.

When I copy-paste the code mentioned on that page directly in settings.json everything works as expected.

When I open the Settings UI and press save the key iterateOn is deleted, even without changing anything.

For reference, this is a snippet:

{
	"iterateOn": "profiles",
	"icon": "${profile.icon}",
	"name": "${profile.name}: New tab",
	"command": {
		"action": "newTab",
		"profile": "${profile.name}"
	}
}

Expected Behavior

Saving from the Settings UI doesn't remove anything.

Actual Behavior

Saving from the UI removes the iterateOn key-values pair from settings.json.

Metadata

Metadata

Assignees

Labels

Area-SettingsIssues related to settings and customizability, for console or terminalIssue-BugIt either shouldn't be doing this or needs an investigation.Priority-0Bugs that we consider release-blocking/recall-class (P0)Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.Severity-BlockingWe won't ship a release like this! No-siree.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions