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

v10.0.0 extension not working #3099

Closed
700software opened this issue Jul 31, 2023 · 14 comments
Closed

v10.0.0 extension not working #3099

700software opened this issue Jul 31, 2023 · 14 comments
Labels
locked Please open a new issue and fill out the template instead of commenting.

Comments

@700software
Copy link

Getting this when attempting to format a .js or .tsx file:

Visual Studio Code
Configure Default Formatter

Extension 'Prettier - Code formatter' is configured as formatter but it cannot format 'JavaScript'-files

Configure... | Cancel

image

image

Then when clicking Configure... The extension is no longer listed as a possible formatter
image

I tried manually setting "editor.defaultFormatter": "esbenp.prettier-vscode", "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, etc. in the repository's .vscode/settings.json as well as my User settings.json and it has no effect.

VS Code Version:

Version: 1.80.2 (user setup)
Commit: 2ccd690cbff1569e4a83d7c43d45101f817401dc
Date: 2023-07-27T20:40:28.909Z
Electron: 22.3.14
ElectronBuildId: 22695494
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.19045

Prettier Extension Version: v10.0.0

OS and version: Windows 10

Prettier Log Output

image

@mscherr-fastspot
Copy link

+1

@700software
Copy link
Author

In the meantime, going to revert back to extension v9. This can be easily done after installing the latest version with the Gear -> Install Another Version option on the extension.
image

@700software 700software changed the title v10 extension not working v10.0.0 extension not working Jul 31, 2023
@lyt8384
Copy link

lyt8384 commented Jul 31, 2023

+1

@shenawy29
Copy link

Same here.

@nathnhughes
Copy link

Yup, same here

@ahs718
Copy link

ahs718 commented Jul 31, 2023

+1

@asportnoy
Copy link

Dupe #3098

@fish-can
Copy link

Same here.
I try to downgrade to 9.x, it works again.

@nathan-dunn
Copy link

+1

1 similar comment
@chrisella
Copy link

+1

@sosukesuzuki
Copy link
Member

We'll revert and re-release sorry

@ntotten
Copy link
Member

ntotten commented Jul 31, 2023

Reverting changes to prettier 3.0.0 in version 10.1.0 (which is the same as the previous 9.x release) we are going to see what happened and rerelease in the next few days.

@SimeonC
Copy link

SimeonC commented Oct 5, 2023

With prettier installed locally in node_modules (but not using any specific settings) I found that 9.20.0 will format using prettier v3, but 10.x will not

Copy link

github-actions bot commented Jan 4, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the locked Please open a new issue and fill out the template instead of commenting. label Jan 4, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

No branches or pull requests