terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Default root command

Open ameyasubhedarats opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. If the terminal just has 1 root then it becomes redundant to pass the root or driver command all the time. Need the ability to apply the default driver if not specified automatically.

e.g. dotnet build ".csporj"
TerminalOptions.DefaultDriver = "dotnet"; build "
.csporj" -> dotnet build "*.csporj"

ameyasubhedarats avatar Oct 18 '23 18:10 ameyasubhedarats

Notes for implementation:

  • Feature only available for 1 root (throws exception if this feature is enabled with multiple roots)
  • Excludes special commands agnostic to command hierarchy (e.g., exit, cls, etc...)