Can't make it work in VSCode on gohtml with pnpm
BigBoulard opened this issue · comments
Big_Boulard commented
Hi,
Here are the steps I've walked through:
package installation (globally)
> pnpm i -g prettier-plugin-go-template
WARN prettier-plugin-go-template has no binaries
+ prettier-plugin-go-template 0.0.13
get the global pnpm node_modules path
> pnpm root -g
/users/me/Library/pnpm/global/5/node_modules
set Prettier: Prettier Path in VSCode
/users/me/Library/pnpm/global/5/node_modules/prettier
Add a .prettierrc
config file
{
"overrides": [
{
"files": ["*.gohtml"],
"options": {
"parser": "go-template"
}
}
],
"goTemplateBracketSpacing": true
}
outcome: nothing. Prettier is not available for .gohtml files