Skip to content

Add support for CoreGuideLine Checker  #531

Closed as not planned
Closed as not planned

Description

@navidR

Both Microsoft and Clang (tidy) does provide infrastructure for CoreGuideLine checker. I estimate this is trivial amount of job to add official support to one of them to this extension.

https://github.com/Microsoft/GSL
https://www.nuget.org/packages/Microsoft.CppCoreCheck
http://clang.llvm.org/extra/clang-tidy/

Activity

  1. amigo421 commented on Mar 5, 2017

    @amigo421

    Agreed, static analysis is required.

  2. terencechow commented on Feb 9, 2018

    @terencechow

    Can we get an update on this? I feel like this should be a priority. Coding with the Core Guidelines should be mandatory...

  3. sean-mcmanus commented on Feb 9, 2018

    @sean-mcmanus
    Contributor

    terencechow No progress has been made. It's on our "backlog" and somewhat out of our feature scope focus. We'd be willing to accept a pull request to integrate static analysis tools. Or the teams who are implementing the other tools could create their own extension. If more people could request the VS team implementing the core guideline checker in VS 2017 to port it to VS Code too maybe they'd do the work: https://blogs.msdn.microsoft.com/vcblog/2017/08/11/c-core-guidelines-checker-in-visual-studio-2017/ .

  4. gocarlos commented on Jan 9, 2019

    @gocarlos

    there is an extension for clang-tidy: https://github.com/alesiong/clang-tidy-linter

  5. added
    Feature: Code AnalysisRelated to integration with clang-tidy, cppcheck, cl.exe /analyze, etc.
    more votes neededIssues that have been postponed until more community members upvote it
    and removed
    help wantedCan be fixed in the public (open source) repo.
    on Jul 14, 2021
  6. mrx23dot commented on Jul 9, 2024

    @mrx23dot

    Duplicate of #669

    Actually, you are better off with a standalone addon. Same way as Python is handled in VSCode.

    It's hard enough to keep up with basic debugging functionality fixes.
    Also not everyone wants/needs full linting to get started.

    Check out
    https://marketplace.visualstudio.com/items?itemName=jbenden.c-cpp-flylint
    it has half million installs.

  7. locked and limited conversation to collaborators on Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions