Hiding a command by setting its name to null doesn't work properly #11584

Open
opened 2026-01-31 02:51:46 +00:00 by claunia · 0 comments
Owner

Originally created by @DHowett on GitHub (Nov 25, 2020).

The documentation here states that assigning the value null to an action's "name" field will remove it from the command palette. As of version 1.4.3141.0 (the latest stable release at this writing), following these instructions has no discernible effect.
from @atimholt

Hmm. @carlos-zamora did we break some nullable settings in 1.4? This is before the JsonUtils changes in 1.5...
We should make sure we have tests covering this.
from @DHowett

From https://github.com/MicrosoftDocs/terminal/issues/189

Originally created by @DHowett on GitHub (Nov 25, 2020). > The documentation here states that assigning the value `null` to an action's `"name"` field will remove it from the command palette. As of version 1.4.3141.0 (the latest stable release at this writing), following these instructions has no discernible effect. > _from @atimholt_ > Hmm. @carlos-zamora did we break some nullable settings in 1.4? This is before the JsonUtils changes in 1.5... We should make sure we have tests covering this. > _from @DHowett_ From https://github.com/MicrosoftDocs/terminal/issues/189
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11584