You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using this patched prettier version in VSCode, but I wonder if its possible at all? prettier-vscode resolves prettier via requiring it, so in the end it will get index.js from prettier itself.
Do you know any way to use your patched version in VSCode?
Thanks!
The text was updated successfully, but these errors were encountered:
I'm afraid it's not possible to use it within prettier-vscode without modifying/forking it. All require('prettier') needs to be replaced with require('prettier-plugin-html-template-literals/prettier').
I am not a VSCode user but I hope someone will either publish a modified version of prettier-vscode, or collaborate with its author to extend it somehow.
There is an open issue to configure the binary path, see prettier/prettier-vscode#232. I think as of now a fork would be the best solution.
Thanks for you answer. I will close the issue for now.
Hi,
I tried using this patched prettier version in VSCode, but I wonder if its possible at all?
prettier-vscode
resolvesprettier
via requiring it, so in the end it will getindex.js
from prettier itself.Do you know any way to use your patched version in VSCode?
Thanks!
The text was updated successfully, but these errors were encountered: