镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Semantic Highlighting Meta Issue #3982

Open
1 of 7 issues completed
Open

Description

Edit by Justin Grote (@JustinGrote)

A summary issue for existing semantic highlighting issues

Activity

  1. ghost added
    Needs: TriageMaintainer attention needed!
    on May 13, 2022
  2. AspenForester commented on Jun 30, 2022

    @AspenForester
    Contributor

    image
    Am seeing a likely-related issue where one commented line will be properly formatted (green & italic), then when commenting another line the hash mark is green and italic, but the leading variable token(?) is only italicized while the rest of the line is properly formatted.
    Restarting the session will result in both lines being fully, correctly formatted.
    VSCode 1.68.1
    PowerShell Extension 2022.6.1

  3. andyleejordan commented on Jun 30, 2022

    @andyleejordan
    Member

    JB Lewis (@AspenForester) are you certain you've manually enabled semantic highlighting? It is off by default.

  4. AspenForester commented on Jun 30, 2022

    @AspenForester
    Contributor

    from settings.json

    "[powershell]": {
            "editor.semanticHighlighting.enabled": true,
        }
  5. andyleejordan commented on Jun 30, 2022

    @andyleejordan
    Member

    Thanks for the confirmation!

  6. moved this from Todo to Wishlist in Flying Foxon Mar 13, 2023
  7. Wallby commented on Apr 4, 2026

    @Wallby

    Does this cover the issue with multi line here strings?

    Never mind, this seems to be expected behaviour that I misunderstood. It's indentation related.

    $text = @"
    ...
    "@
    

    Screenshot:
    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions