Add If then else in json schema for conditional logic #11600
Labels
Area-Settings
Issues related to settings and customizability, for console or terminal
Issue-Question
For questions or discussion
Needs-Attention
The core contributors need to come back around and look at this ASAP.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Product-Terminal
The new Windows Terminal.
Description of the new feature/enhancement
It would be nice to have conditions in json as defined in json-schema.org
Proposed technical implementation details (optional)
Problem:
I have set the "startingDirectory": "." in the settings.json for now. In that case the
wt starts up at "C:\WINDOWS\system32" if i start the terminal from the start Menu or using an Autohot-key or any other app that can create an instance of the wt (like opening from cmd or from sublime-text),
and if I right click on a folder and open the terminal then I get the terminal in the current directory of the folder.
And if I set the "startingDirectory": "C:\Users\\Desktop" then I get the terminal in that directory always(except on opening using menubar in a folder) even if I want to open it on a current folder sometimes
Other use cases:
The text was updated successfully, but these errors were encountered: