8000 prettier-plugin-sql@0.19.1 breaks VSCode extension · Issue #473 · un-ts/prettier · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
prettier-plugin-sql@0.19.1 breaks VSCode extension #473
Closed as duplicate of#461
@jlarmstrongiv

Description

@jlarmstrongiv
["INFO" - 12:09:15 AM] Extension Name: esbenp.prettier-vscode.
["INFO" - 12:09:15 AM] Extension Version: 11.0.0.
["INFO" - 12:09:15 AM] Using config file at /Users/user/Desktop/project/.prettierrc.yml
["INFO" - 12:09:17 AM] Formatting file:///Users/user/Desktop/project/src/select_example.sql
["INFO" - 12:09:17 AM] Using config file at /Users/user/Desktop/project/.prettierrc.yml
["INFO" - 12:09:17 AM] PrettierInstance:
{
  "modulePath": "/Users/user/Desktop/project/node_modules/prettier/index.cjs",
  "messageResolvers": {},
  "version": "3.5.3"
}
["INFO" - 12:09:17 AM] Using ignore file (if present) at /Users/user/Desktop/project/.prettierignore
["INFO" - 12:09:17 AM] File Info:
{
  "ignored": false,
  "inferredParser": null
}
["WARN" - 12:09:17 AM] Parser not inferred, trying VS Code language.
["ERROR" - 12:09:17 AM] Failed to resolve a parser, skipping file. If you registered a custom file extension, be sure to configure the parser.

The last working version is 0.19.0

My VSCode settings include:

{
  "[sql]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
}

My config includes:

proseWrap: never
singleAttributePerLine: true

language: sqlite
keywordCase: upper
dataTypeCase: upper
functionCase: upper
identifierCase: lower

plugins:
  - prettier-plugin-sql

I recommend reverting the last patch

Metadata

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

      0