Skip to content

XML syntax colors with ISE theme not fully working #5174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
5 of 6 tasks
BudoCop opened this issue Apr 15, 2025 · 2 comments
Open
5 of 6 tasks

XML syntax colors with ISE theme not fully working #5174

BudoCop opened this issue Apr 15, 2025 · 2 comments
Labels
Area-Semantic Highlighting Issue-Bug A bug to squash. Needs: Author Feedback Please give us the requested feedback!

Comments

@BudoCop
Copy link

BudoCop commented Apr 15, 2025

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

When using the ISE theme, XML coloration of tags are not working as when I turn off the PowerShell extension.
Element names and content have same color. (eg. this text is all black: TEST)
Other PowerShell extension themes seem to work fine.

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.5.0
PSEdition                      Core
GitCommitId                    7.5.0
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

1.99.2
4949701c880d4bdb949e3c0e6b400288da7f474b
x64

Extension Version

Steps to Reproduce

Add PowerShell extension
Choose ISE theme
Open an XML file (or create a file with .xml extension and add a tag with content - TEST)
Check if colors are the same for tag text and content text

Visuals

No response

Logs

No response

@BudoCop BudoCop added Issue-Bug A bug to squash. Needs: Triage Maintainer attention needed! labels Apr 15, 2025
@BudoCop
Copy link
Author

BudoCop commented Apr 15, 2025

The tag examples were removed when submitting the case. I did write this:
<tag>TEST</tag>

@JustinGrote
Copy link
Collaborator

Thanks for your submission!

I cannot reproduce. The textmate scopes are loading correctly, and the ISE theme has no specific formatting for these, so they get formatted as "other"

Image

Image

@JustinGrote JustinGrote added Needs: Author Feedback Please give us the requested feedback! Area-Semantic Highlighting and removed Needs: Triage Maintainer attention needed! labels Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Semantic Highlighting Issue-Bug A bug to squash. Needs: Author Feedback Please give us the requested feedback!
Projects
None yet
Development

No branches or pull requests

2 participants