lint c++ in vscode with google style naming conventions

Viewed 1022

I'm looking for a way to lint c++ code to match google style guide naming conventions. So for example If I had

const int lDaysInAWeek = 7; // Bad - should start with a "k"

std::string tableName;   // Bad - mixed case. Variables should be lowercase with underscores.

void OpenFileorDie(); // Bad - functions should start with a capital letter and have a capital letter for each new word

I would like to have squiggles and a QuickFix option when hovering. Is there a way to configure vscode to help me follow conventions?

0 Answers
Related