LaurentTreguier / vscode-uncrustify

Code format using uncrustify
66 stars 10 forks source link

Extension unable to load #47

Closed kenhuman closed 5 years ago

kenhuman commented 5 years ago

The latest release causes the extension to fail to load. The error seems to exist in the contributes.configuration section of the package manifest. When loading the extension, VS Code attempts to access a variable uncrustify.executablePath.linux, but uncrustify.executablePath is null. Suggest changing to something like:

"uncrustify.executablePath": {
    "type": "object",
    "default": {
        "linux": null,
        "osx": null,
        "windows": null
    },
    "description": "Path to the uncrustify executable",
    "scope": "window"
},
LaurentTreguier commented 5 years ago

I've removed uncrustify.executablePath, since it conflicts with the others.