Skip to content

Settings in VSCode's settings.json didn't work when there is a .editorconfig in the project #1079

@Henry-WHY

Description

@Henry-WHY

Environments:

  • Prettier - Code formatter Version: 3.8.0
  • VSCode Version: 1.40.1
  • Operating System: win10

Steps to reproduce:

Settings should be read from

  1. Prettier configuration file
  2. .editorconfig
  3. Visual Studio Code Settings

But as long as there's a .editorconfig in the project without .prettierrc, Settings which have been written in the VSCode's settings.json are no longer valid, even if they are not mentioned in the .editorconfig

Expected behavior:

Read the settings which are not mentioned in the .editorconfig from VSCode's settings.json

Actual behavior:

Read the settings which are not mentioned in the .editorconfig from prettier's default settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    lockedLocked due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions