PowerShell / PowerShell/vscode-powershell
Please allow me to change the terminal theme/colors programmatically
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 547
- PR merge metrics
- No merged PRs in 30d
Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
Summary
I would like to change the theme/colors of vscode (or at least the powershell terminal window) programmatically. Is there some code.cmd command line option for this? Or maybe something could be added to the $PsEditor that lets me set the vscode theme?
I am able to do this with the powershell_ise, but can't get parity when migrating to the code plugin. The reason I need this is because I have several entirely different powershell uses/environments that need to be open at once. Azure TiP vs Tshell vs Windows build window, etc. If I can't set a color scheme per-window then I confuse myself.
The only workaround I have so far is even more copies of the portable vscode install, each with their own settings. Is there a better way?
Proposed Design
Add some function to the $PsEditor that lets me set the vscode theme (by string name?)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating the existing $PsEditor integration and how the extension interacts with VS Code settings or themes; done means a programmatic theme-setting path works independently for Azure TiP, Tshell, and Windows build sessions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100