LaurentTreguier / vscode-uncrustify

Code format using uncrustify
66 stars 10 forks source link

Failed to get the correct version of executable built from source #27

Closed eternalphane closed 6 years ago

eternalphane commented 6 years ago

Hi, I'd like to try some new features of uncrustify so I build the executable from source. However the UPGRADE CONFIG button constantly appears in the graphic editor. The version of my executable is Uncrustify-0.66.1-302-5e483817, which cannot be parsed correctly by the extension: https://github.com/LaurentTreguier/vscode-uncrustify/blob/2ed43b6d741675766cfe2d5b9e1fc6f67c69b32b/src/configurator.ts#L107 image https://github.com/LaurentTreguier/vscode-uncrustify/blob/2ed43b6d741675766cfe2d5b9e1fc6f67c69b32b/src/configurator.ts#L124 image Please take a look at it. Thanks!