Skip to content

Incorrect type. Expected one of string in setting.json #191

Open
@SWEKanaramYadav

Description

Issue Description
When attempting to configure settings in the settings.json file for Visual Studio Code, users are encountering an "Incorrect type" error. The error message indicates that the expected type is a string.

Steps to Reproduce

  • Open Visual Studio Code.
  • Navigate to File -> Preferences -> Settings or press Ctrl + ,.
  • Click on the "Open Settings (JSON)" icon in the top-right corner to open the settings.json file.
  • Add or modify a setting with an incorrect type, expecting a string.

Expected Behavior
Users should be able to configure settings in the settings.json file without encountering type errors.

Actual Behavior
An "Incorrect type" error is displayed, indicating that the expected type is a string.

Screenshot_1

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions