secularbird / cpplint-extension

vscode cpplint extension
MIT License
22 stars 12 forks source link

use PATH to find cpplint? #33

Open phiresky opened 4 years ago

phiresky commented 4 years ago

My cpplint is installed in ~/.local/bin/cpplint, which is in my $PATH. This extension doesn't find it, probably because it has hardcoded searchpaths https://github.com/secularbird/cpplint-extension/blob/cc6fab2c7678d38c29935f6a42afd2620ca313b5/src/configuration.ts#L30 instead of using the $PATH variable (pretty sure it would work if it just executed cpplint instead of trying to figure out the full filename of it)