IoTReady / a9_gsm_gps_library

Libraries for the AI Thinker A9/A9G GSM/GPS modems.
38 stars 10 forks source link

Integrate clang-format and clang-tidy #6

Closed tejpochiraju closed 3 years ago

hairyhoncho commented 3 years ago

Simplest way to integrate is to use the plugins from VSC Marketplace. clang-format

keyboard shortcut (usually Ctrl+⇧+F on Windows, Ctrl+⇧+I on Linux, and ⇧+⌥+F on macOS).

To automatically format a file on save, add the following to your vscode settings.json file:

{
    "editor.formatOnSave": true
}

clang-tidy documentation