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
On MS Windows, calling the beautify functions simply deletes all content of the buffer. I believe this is because js-beautify is a shell script that opens a node.js process on the js-beautify module. Thus, the script itself has no direct output. This behaviour can also be observed by simply invoking js-beautify from M-x shell or similar methods.
For the record, this bug also exists in the package prettier-js, and probably others.
I have tried to fix the issue by invoking node.exe directly. Unfortunately, this process somehow never terminates when called from emacs.
The text was updated successfully, but these errors were encountered:
On MS Windows, calling the beautify functions simply deletes all content of the buffer. I believe this is because js-beautify is a shell script that opens a node.js process on the js-beautify module. Thus, the script itself has no direct output. This behaviour can also be observed by simply invoking js-beautify from M-x shell or similar methods.
For the record, this bug also exists in the package prettier-js, and probably others.
I have tried to fix the issue by invoking node.exe directly. Unfortunately, this process somehow never terminates when called from emacs.
The text was updated successfully, but these errors were encountered: