LaurentTreguier / vscode-uncrustify

Code format using uncrustify
66 stars 10 forks source link

write EPIPE error #59

Closed Ihor-Horchynskyi closed 4 years ago

Ihor-Horchynskyi commented 4 years ago

I'm getting this error recently. For two weeks approximately, Uncrustify just stopped working. After enabling debug mode I saw only such an error:

Debug: config file: H:\Projects\Work\Uncrustify\uncrustify.cfg
Debug: launched: uncrustify -l JAVA -c H:\Projects\Work\Uncrustify\uncrustify.cfg
Debug: uncrustify exited with error: 
Ihor-Horchynskyi commented 4 years ago

After I checked the experience of other users and their issues I found out that I used "uncrustify.executablePath" instead of "uncrustify.executablePath.windows" for my platform in settings.json of VS code. After enabling it correctly I saw convenient debug logs that said that I had deprecated parameters in my config file. Now it's all ok.