FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Better default syntax colors by sharpchen · Pull Request #5175 · PowerShell/PSReadLine · GitHub

Better default syntax colors - #5175

Open
sharpchen (sharpchen) wants to merge 1 commit into
PowerShell:masterfrom
sharpchen:better-default-syntax-colors
Open

Better default syntax colors#5175
sharpchen (sharpchen) wants to merge 1 commit into
PowerShell:masterfrom
sharpchen:better-default-syntax-colors

Conversation

sharpchen (sharpchen) commented Jun 28, 2026
edited by microsoft-github-policy-service Bot
Loading

Copy link
Copy Markdown
Contributor

PR Summary

  1. String: DarkCyan -> Green, as green is more intuitive color for string
  2. Keyword: Green -> Magenta, as keyword is not string
  3. Type: Gray -> Cyan, make it colorful
  4. Operator: DarkGray -> Cyan, as Operator are generally not right next to Type
  5. Command: Yellow -> Blue, as main color of pwsh icon is blue
  6. Number: White -> Yellow, number should be distinct from the default symbol interpretation(into string)
  7. Parameter: DarkGray -> Magenta, make it distinct, related: Predictive text implementation is terrible #5169

Before:

After:

PR Checklist

  • PR has a meaningful title
    • Use the present tense and imperative mood when describing your changes
  • Summarized changes
  • Make sure you've added one or more new tests
  • Make sure you've tested these changes in terminals that PowerShell is commonly used in (i.e. conhost.exe, Windows Terminal, Visual Studio Code Integrated Terminal, etc.)
  • User-facing changes
    • Not Applicable
    • OR
    • Documentation needed at PowerShell-Docs
      • Doc Issue filed:
Microsoft Reviewers: Open in CodeFlow

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL