Completion and Diagnostic for C/C++/Objective-C using Clang command. Important NotesClang project officialy starts to implement Language Server named clangd.(https://github.com/llvm-mirror/clang-tools-extra/tree/master/clangd) This extension was renamed to C/C++ Clang Command Adapter to avoid confusion, because this extension is unofficial and only parse output of clang command. Requirements
ConfigurationYou can use configuration interface of Visual Studio Code. (Press F1 and type User Settings or Workspace Settings )Common
Completion
Diagnostic
VariablesConfigurations support some variables which are available in tasks.json .They can be used inside of strings (e.g. '-I${workspaceRoot}/include' )
NoteSince version 0.2.0, clang.diagnosticDelay , clang.enableCompletion , clang.enableDiagnostic is deprecated.Please update as follows:
Command
Acknowledgements
Resources
|