zachflower / vscode-uncrustify

Uncrustify code formatter extension for Visual Studio Code
MIT License
7 stars 5 forks source link

Extension stops working with Uncrustify 0.74 (solved) #8

Closed PawelWozniak closed 2 years ago

PawelWozniak commented 2 years ago

I just upgraded Uncrustify.exe from 0.73f to 0.74 and extension stopped working. When I run "format document" - nothing happen. Replacing .exe back to 073f restore functionality.

I don't see any errors in VSCode window or logs.

Windows 10 x64, Uncrustify x64, VSCode 1.62.3

PawelWozniak commented 2 years ago

False alarm. I have turned on debug logs in extension config and got this: Debug: uncrustify exited with error: d:\git\development\config\uncrustify.cfg: line 2: Character at position 19, is not printable. There was a comment in cfg file with a Polish character in my name Paweł<-- and that was an issue. Apparently the previous version has not checked that.

zachflower commented 2 years ago

Glad you were able to get it figured out!