Skip to content
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

[Bug] VSCode says overviewRulerColor should be a boolean #273

Open
drvictorvs opened this issue Jan 4, 2023 · 0 comments
Open

[Bug] VSCode says overviewRulerColor should be a boolean #273

drvictorvs opened this issue Jan 4, 2023 · 0 comments

Comments

@drvictorvs
Copy link

Describe the bug
VSCode thinks overviewRulerColor should be a boolean. So, if you add the code that's used as an example in the extension's description, it will throw an error. Conversely, if you set it to a boolean, it won't.

To Reproduce
Basically, follow the example given in the extension's description, i.e.:

  1. Open Setttings json
  2. Add to it:
"gremlins.characters": {
  "000c" : {
    "zeroWidth": true,
    "description": "FORM FEED (FF)",
    "overviewRulerColor": "rgba(255,127,80,1)",
  }
}

VS Code will throw an error saying Incorrect type. Expected "boolean".

Expected behavior
No errors should be thrown.

Screenshots
image

Operating system:

  • OS: Microsoft Windows
  • Version: 10 - 21HS

Visual Studio Code:
Version: 1.74.2 (user setup)
Commit: e8a3071ea4344d9d48ef8a4df2c097372b0c5161
Date: 2022-12-20T10:29:14.590Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No

Gremlins extension:
Name: Gremlins tracker for Visual Studio Code
Id: nhoizey.gremlins
Description: Reveals some characters that can be harmful because they are invisible or looking like legitimate ones. Inspired by Sublime Gremlins.
Version: 0.26.0
Publisher: Nicolas Hoizey
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=nhoizey.gremlins

Additional context
I have just installed the extension.

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

No branches or pull requests

1 participant