Class: NginxBeautify

Defined in: src/beautifiers/nginx-beautify.coffee
Inherits: Beautifier

Variables Summary

name =
"Nginx Beautify"
"https://github.com/denysvitali/nginxbeautify"
options =
{
  Nginx: {
    spaces: [
      "indent_with_tabs", "indent_size", "indent_char", function(indent_with_tabs, indent_size, indent_char) {
        if (indent_with_tabs || indent_char === "\t") {
          return 0;
        } else {
          return indent_size;
        }
      }
    ],
    tabs: [
      "indent_with_tabs", "indent_size", "indent_char", function(indent_with_tabs, indent_size, indent_char) {
        if (indent_with_tabs || indent_char === "\t") {
          return indent_size;
        } else {
          return 0;
        }
      }
    ],
    dontJoinCurlyBracet: 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) beautify(text, language, options)

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: