terminal/.github/actions/spelling/allow
Heath Stewart 37e8769b37
Show only latest VS, VC prompts by default (#11326)
## Summary of the Pull Request

Similar to `vswhere -latest`, show only the latest Visual Studio command prompts / developer PowerShell. This was tested by deleting the local package state and testing against fresh state with both VS2019 and VS2022 Preview installed, and indeed VS2022 Preview (both cmd and powershell) show. The other profiles were generated but hidden by default.

## References

Modification of PR #7774

## PR Checklist
* [x] Closes #11307
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [x] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [ ] Schema updated.
* [x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

## Detailed Description of the Pull Request / Additional comments

The sort algorithm is the same basic algorithm I used in https://github.com/microsoft/vswhere. It sorts first by installation version with a secondary sort based on the install date in case the installation versions are the same.

## Validation Steps Performed

With both VS2019 and VS2022 Preview installed, I made sure the initial state was expected, and tried different combinations of hiding and unhiding generated entries, and restarted Terminal to make sure my settings "stuck".
2021-09-29 22:03:05 +00:00
..
allow.txt releng: add New-TerminalStackedChangelog (#11065) 2021-09-23 18:05:38 +00:00
apis.txt Add an enum-compatible bitset class. (#10492) 2021-09-27 13:27:29 +00:00
chinese.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
colors.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
fonts.txt Upgrade check-spelling to v0.0.19 (#10646) 2021-07-13 11:21:44 -05:00
japanese.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
math.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
microsoft.txt Show only latest VS, VC prompts by default (#11326) 2021-09-29 22:03:05 +00:00
names.txt releng: add New-TerminalStackedChangelog (#11065) 2021-09-23 18:05:38 +00:00
README.md ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00

Allow files are lists of words to accept unconditionally

While check spelling will complain about an expected word which is no longer present, you can include things here even if they are not otherwise present in the repository.

E.g., you could include a list of system APIs here, or potential contributors (so that if a future commit includes their name, it'll be accepted).

Files

File Description
Allow Supplements to the dictionary
Chinese Chinese words
Japanese Japanese words
Microsoft Microsoft brand items
Fonts Font names
Names Names of people
Colors Names of color