Currently, if a command contains a variable, the command palette shows the variable's name:
A preview feature could show the variable content before the command gets executed. In this example case, the date could be shown like this:
This feature could be turned off in the settings. It will be on by default.
Support for aliases: You could write variables in aliases too. They would have no practical change to how a command would be executed, but this way your alias can show all the variable values that the command is going to use. For example, the above mkdir {{date:YYYY-MM-DD}} command could have an alias like this: Create today's folder {{date:YYYY-MM-DD}}, which would show up in the command palette as Create today's folder 2021-09-07.
The text was updated successfully, but these errors were encountered:
Currently, if a command contains a variable, the command palette shows the variable's name:
A preview feature could show the variable content before the command gets executed. In this example case, the date could be shown like this:
This feature could be turned off in the settings. It will be on by default.
Support for aliases: You could write variables in aliases too. They would have no practical change to how a command would be executed, but this way your alias can show all the variable values that the command is going to use. For example, the above
mkdir {{date:YYYY-MM-DD}}command could have an alias like this:Create today's folder {{date:YYYY-MM-DD}}, which would show up in the command palette asCreate today's folder 2021-09-07.The text was updated successfully, but these errors were encountered: