[PR #14784] [CLOSED] [WIP] Assign shorthand to every long namespace we use #30255

Open
opened 2026-01-31 09:39:37 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/14784
Author: @DHowett
Created: 2/4/2023
Status: ❌ Closed

Base: main ← Head: dev/duhowett/shorthand-namespaces


📝 Commits (6)

  • dd34262 Underpinnings: include something in all pch
  • 072ba2d Rename a bunch of namespaces...
  • c72c0f5 Remove the old convenience aliases
  • 95e31dd Find places where we used [[[[[winrt::]Microsoft::]Terminal::]Settings::]Model::]XXX, convert all to MTSM::XXX
  • ce44179 Same as prior, but for enums
  • fafe65d Regex too big, broke AppCommandlineArgs

📊 Changes

287 files changed (+3367 additions, -3345 deletions)

View changed files

📝 src/cascadia/LocalTests_SettingsModel/ColorSchemeTests.cpp (+1 -1)
📝 src/cascadia/LocalTests_SettingsModel/CommandTests.cpp (+3 -3)
📝 src/cascadia/LocalTests_SettingsModel/DeserializationTests.cpp (+4 -4)
📝 src/cascadia/LocalTests_SettingsModel/KeyBindingsTests.cpp (+3 -3)
📝 src/cascadia/LocalTests_SettingsModel/NewTabMenuTests.cpp (+2 -2)
📝 src/cascadia/LocalTests_SettingsModel/ProfileTests.cpp (+1 -1)
📝 src/cascadia/LocalTests_SettingsModel/SerializationTests.cpp (+2 -2)
📝 src/cascadia/LocalTests_SettingsModel/TerminalSettingsTests.cpp (+2 -2)
📝 src/cascadia/LocalTests_SettingsModel/TestUtils.h (+3 -3)
📝 src/cascadia/LocalTests_SettingsModel/ThemeTests.cpp (+9 -9)
📝 src/cascadia/LocalTests_SettingsModel/pch.h (+2 -1)
📝 src/cascadia/LocalTests_TerminalApp/CommandlineTest.cpp (+5 -5)
📝 src/cascadia/LocalTests_TerminalApp/CppWinrtTailored.h (+1 -1)
📝 src/cascadia/LocalTests_TerminalApp/FilteredCommandTests.cpp (+33 -33)
📝 src/cascadia/LocalTests_TerminalApp/SettingsTests.cpp (+13 -13)
📝 src/cascadia/LocalTests_TerminalApp/TabTests.cpp (+39 -46)
📝 src/cascadia/LocalTests_TerminalApp/pch.h (+2 -1)
📝 src/cascadia/Remoting/CommandlineArgs.cpp (+1 -1)
📝 src/cascadia/Remoting/GetWindowLayoutArgs.h (+1 -1)
📝 src/cascadia/Remoting/Monarch.cpp (+9 -9)

...and 80 more files

📄 Description

dustin you can't just submit a 3.8k line change over the weekend and not explain it
dustin wait

Summary of the Pull Request

References and Relevant Issues

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

PR Checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated
    • If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated (if necessary)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/14784 **Author:** [@DHowett](https://github.com/DHowett) **Created:** 2/4/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dev/duhowett/shorthand-namespaces` --- ### 📝 Commits (6) - [`dd34262`](https://github.com/microsoft/terminal/commit/dd34262f7854cc1ae7a76c35bd096ca4af1dd9e8) Underpinnings: include something in all pch - [`072ba2d`](https://github.com/microsoft/terminal/commit/072ba2d88f61b54ae6439b8da0977121baa455cb) Rename a bunch of namespaces... - [`c72c0f5`](https://github.com/microsoft/terminal/commit/c72c0f5f89e9ab1da6c8b0e0c6627cc87bbf78f2) Remove the old convenience aliases - [`95e31dd`](https://github.com/microsoft/terminal/commit/95e31ddde60b58003b2682afb6a1d8bca8fbe2bb) Find places where we used [[[[[winrt::]Microsoft::]Terminal::]Settings::]Model::]XXX, convert all to MTSM::XXX - [`ce44179`](https://github.com/microsoft/terminal/commit/ce4417971dbb58fd98bead5d0ad2b17c84e1dc15) Same as prior, but for enums - [`fafe65d`](https://github.com/microsoft/terminal/commit/fafe65d6c1d57702eb24414e50a93a31cf4450e9) Regex too big, broke AppCommandlineArgs ### 📊 Changes **287 files changed** (+3367 additions, -3345 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/LocalTests_SettingsModel/ColorSchemeTests.cpp` (+1 -1) 📝 `src/cascadia/LocalTests_SettingsModel/CommandTests.cpp` (+3 -3) 📝 `src/cascadia/LocalTests_SettingsModel/DeserializationTests.cpp` (+4 -4) 📝 `src/cascadia/LocalTests_SettingsModel/KeyBindingsTests.cpp` (+3 -3) 📝 `src/cascadia/LocalTests_SettingsModel/NewTabMenuTests.cpp` (+2 -2) 📝 `src/cascadia/LocalTests_SettingsModel/ProfileTests.cpp` (+1 -1) 📝 `src/cascadia/LocalTests_SettingsModel/SerializationTests.cpp` (+2 -2) 📝 `src/cascadia/LocalTests_SettingsModel/TerminalSettingsTests.cpp` (+2 -2) 📝 `src/cascadia/LocalTests_SettingsModel/TestUtils.h` (+3 -3) 📝 `src/cascadia/LocalTests_SettingsModel/ThemeTests.cpp` (+9 -9) 📝 `src/cascadia/LocalTests_SettingsModel/pch.h` (+2 -1) 📝 `src/cascadia/LocalTests_TerminalApp/CommandlineTest.cpp` (+5 -5) 📝 `src/cascadia/LocalTests_TerminalApp/CppWinrtTailored.h` (+1 -1) 📝 `src/cascadia/LocalTests_TerminalApp/FilteredCommandTests.cpp` (+33 -33) 📝 `src/cascadia/LocalTests_TerminalApp/SettingsTests.cpp` (+13 -13) 📝 `src/cascadia/LocalTests_TerminalApp/TabTests.cpp` (+39 -46) 📝 `src/cascadia/LocalTests_TerminalApp/pch.h` (+2 -1) 📝 `src/cascadia/Remoting/CommandlineArgs.cpp` (+1 -1) 📝 `src/cascadia/Remoting/GetWindowLayoutArgs.h` (+1 -1) 📝 `src/cascadia/Remoting/Monarch.cpp` (+9 -9) _...and 80 more files_ </details> ### 📄 Description dustin you can't just submit a 3.8k line change over the weekend and not explain it dustin wait ## Summary of the Pull Request ## References and Relevant Issues ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed ## PR Checklist - [ ] Closes #xxx - [ ] 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 (if necessary) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:39:37 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30255