microsoft / microsoft/terminal
Trying new `wt x-save foo` for snippets with Canary but `wt` is pointing towards wt-stable
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.23.2501.0
### Windows build number
10.0.22635.0
### Other Software
_No response_
### Steps to reproduce
- Open up WT Canary
- Try to save a snippet with `wt x-save git status`
- You get an error because `wt` is pointing to stable version which does not have this feature yet
- I ran `wt --version` and saw that it was pointing to an older version (stable)
I eventually figured out I had to set my `wt` alias to Canary by stumbling upon this comment: https://github.com/microsoft/terminal/issues/17463#issuecomment-2183486775
Here is what my alias settings were without me ever touching them. I had WT Stable installed obviously with windows, then installed WT Preview at one point and then recently installed WT Canary.

### Expected Behavior
I am not sure. But at minimum this should be documented in the release notes and the original PR (since I looked there seeing if there was anything similar).
But ideally whatever terminal version you are in, I would expect / hope that `wt` would be "smart enough" to know to point to that specific terminal version (stable vs preview vs canary).
### Actual Behavior
You get an error and unless you know about the wt alias needing to be set you will think it is just a bug with the new snippet x-save feature (or at least I did for a long while until I figured it out).
Contributor guide
Research direction
Read the release notes and the original PR for the wt x-save snippet feature, then review the linked comment about configuring the wt alias. Reproduce the behavior across Stable, Preview, and Canary and document the version-specific alias setup and the resulting command behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100