Class: ClangFormat

Defined in: src/beautifiers/clang-format.coffee
Inherits: Beautifier

Variables Summary

name =
"clang-format"
"https://clang.llvm.org/docs/ClangFormat.html"
executables =
[
  {
    name: "ClangFormat",
    cmd: "clang-format",
    homepage: "https://clang.llvm.org/docs/ClangFormat.html",
    installation: "https://clang.llvm.org/docs/ClangFormat.html",
    version: {
      parse: function(text) {
        return text.match(/version (\d+\.\d+\.\d+)/)[1];
      }
    },
    docker: {
      image: "unibeautify/clang-format"
    }
  }
]
options =
{
  "C++": false,
  "C": false,
  "Objective-C": false,
  "GLSL": true
}

Variable inherited from Beautifier

Promise name options executables _exe languages beautify logger

Instance Method Summary

Inherited Method Summary

Methods inherited from Beautifier

#isPreInstalled #loadExecutables #exe #deprecate #deprecateOptionForExecutable #tempFile #readFile #findFile #getDefaultLineEnding #which #run #setupLogger

Instance Method Details

# (void) dumpToFile(name = "atom-beautify-dump", contents = "")

Dump contents to a given file

# (void) beautify(text, language, options)

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: