bmpenuelas / systemverilog-formatter-vscode

Beautify SystemVerilog code in VSCode through Verible
MIT License
15 stars 4 forks source link

system error (spawnSync /bin/sh EPIPE) #22

Closed david-shmailov closed 3 weeks ago

david-shmailov commented 1 month ago

I've installed the plugin, using CentOS 7 in the configuration as this is my OS, whenever i try to format a file or selection i get this error: system error (spawnSync /bin/sh EPIPE)

bmpenuelas commented 3 weeks ago

That looks like the spawned process either terminated unexpectedly, or there was too much data and the buffer was filled. Does this happen with small files too? You could try using the "none" setting and providing a path to some other binary just to see if you get a different message.

david-shmailov commented 3 weeks ago

EDIT: I had to add executable permission to the binary of CentOS7 formatter in the plugin directory, and after i did, it works without displaying an error. Tested it on a large file seems to work fine thanks!

bmpenuelas commented 3 weeks ago

Happy to hear that, thanks for the update!