Skip to content

# in read-only string highlights as a comment #257

@alexr00

Description

@alexr00
  • Editor name and version: VS Code version 1.77
  • Platform: Windows
  • Color scheme: Any
  • MagicPython version: Latest commit from main
  • A sreenshot:

image

  • 5-10 lines of surrounding code:
_html = r"""
        <!DOCTYPE html>
        <html>
            <head><meta charset="utf-8"></head>
            <body>
                    <span class="comment"># Python 3</span>
            </body>
        </html>
"""

Originally from @Wang-Yile in microsoft/vscode#179043

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions