Coder Social home page Coder Social logo

vscode-clang-tidy's Introduction

Clang-Tidy for VSCode

Build Status code style: prettier

This extension integrates clang-tidy into VS Code.

Clang-Tidy documentation can be found here.

Features

Runs clang-tidy and displays its diagnostics in VS Code.

Note: Diagnostics take longer to appear than in the example gif.

diagnostics example animation

Requirements

Clang-Tidy must be installed. The extension will look for the clang-tidy executable in your PATH by default.

Clang-Tidy is part of LLVM, which can be downloaded here. Alternatively, use your system's package manager.

Extension Settings

This extension contributes the following settings:

  • clang-tidy.executable: The path to the clang-tidy executable
  • clang-tidy.checks: List of checks to enable or disable
  • clang-tidy.compilerArgs: List of arguments to append to the compiler command line
  • clang-tidy.compilerArgsBefore: List of arguments to prepend to the compiler command line
  • clang-tidy.lintOnSave: Whether or not to lint files when they are saved
  • clang-tidy.buildPath: Path to the build folder. Equivalent to clang-tidy -p /path
  • clang-tidy.fixOnSave: Whether or not to fix files when they are saved
  • clang-tidy.blacklist: A list of regular expressions matching files you don't want to lint

Extension Commands

This extension contributes the following commands:

  • Clang-Tidy: Lint File: Lints the active file

Known Issues

See the Github issues

vscode-clang-tidy's People

Contributors

dependabot[bot] avatar dmeister avatar knehez avatar notskm avatar relder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.