最終更新:2017-01-17 (火) 14:49:41 (2645d)  

Visual Studio Code/C言語

https://code.visualstudio.com/docs/languages/cpp

C/C++ Configuration

  •   // The full path of the clang-format executable.
      "C_Cpp.clang_format_path": null,
    
      // Coding style, currently supports: Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit. Use "file" to load the style from a .clang-format file in the current or parent directory. Use "{key: value, ...}" to set specific parameters, e.g.: "{ BasedOnStyle: LLVM, IndentWidth: 8 }"
      "C_Cpp.clang_format_style": "file",
    
      // Name of the predefined style used as a fallback in case clang-format is invoked with style "file" but the .clang-format file is not found. Possible values are Visual Studio, LLVM, Google, Chromium, Mozilla, WebKit, or none.
      "C_Cpp.clang_format_fallbackStyle": "Visual Studio",
    
      // If set, overrides the include sorting behavior determined by the SortIncludes parameter.
      "C_Cpp.clang_format_sortIncludes": null,
    
      // Enable clang-format on save.
      "C_Cpp.clang_format_formatOnSave": false,
    
      // Controls auto completion for C/C++ code. "Default" uses an experimental recursive directory tag parser (as of right now).  "Disabled" uses the word based completion provided by Visual Studio Code.
      "C_Cpp.autocomplete": "Default"