Skip to content

Guides reports an error if you use HEX-colour fot guides.indent.backgrounds #50

@KilianKilmister

Description

@KilianKilmister
  • I have search open issues for duplicate issues
  • I have search close issues for potential fixes
  • Guides Version: 0.9.3
  • VSCode Version: 1.44.0
  • OS Version: macOS Catalina v10.15.3

Steps to Reproduce:

  1. add an element to guides.indent.backgrounds in a different format than:
rgba(RRR, GGG, BBB, float:A)`

like any hex-value. eg. #RGBA or #RRGGBBAA

Actual Behaviour:

The settings-editor and -JSON will display an error:

String does not match the pattern of "rgba\s*(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*(\d(.\d+)?|.\d+)\s*)".

vs-code will display it correctly, tho.

Expected Behaviour:

that the extention should not report an error for using standard vs-code colour notation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions