vscode-gremlins icon indicating copy to clipboard operation
vscode-gremlins copied to clipboard

[Bug] VSCode says overviewRulerColor should be a boolean

Open drvictorvs opened this issue 2 years ago • 0 comments
trafficstars

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.

drvictorvs avatar Jan 04 '23 12:01 drvictorvs