prettier-vscode
prettier-vscode copied to clipboard
Cannot use any prettier plugins with `yarn 4 + PnP`
Summary
Re-opening of https://github.com/prettier/prettier-vscode/issues/3380
Bug still exists, workaround with unplug and require.resolve() doesn't work with current setup
yarn Plug'n'Play: 4.9.2
prettier: 3.6.3
prettier-plugin-jsdoc: 1.3.3
esbenp.prettier-vscode: 11.0.0
VSCode: 1.101.2
const config = {
....
plugins: [require.resolve('prettier-plugin-jsdoc')],
};
module.exports = config;
With current setup, extensions fail with the cryptic message and log:
Extension host terminated unexpectedly 3 times within the last 5 minutes.
Github Repository to Reproduce Issue
See details in previous issue https://github.com/prettier/prettier-vscode/issues/3380
Thanks everyone!
Please check if the issue repros with latest 1.107 insiders with user setup, for system setup it is tracked in https://github.com/microsoft/vscode/issues/259505