Merge pull request #1220 from quilicicf/master_bash_beautifier
🆕 Add beautysh as bash/shell beautifier
This commit is contained in:
commit
c273e7ff4a
|
@ -138,3 +138,5 @@ before_install:
|
|||
- opam install --yes ocp-indent
|
||||
# Crystal
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install crystal-lang; fi
|
||||
# Bash
|
||||
- pip install beautysh
|
||||
|
|
|
@ -63,6 +63,7 @@ See [all supported options in the documentation at `docs/options.md`](docs/opti
|
|||
| --- | --- | --- | ---- |
|
||||
| Apex | `Apex` |`.cls`, `.trigger` | [`Uncrustify`](https://github.com/uncrustify/uncrustify) (Default) |
|
||||
| Arduino | `Arduino` |`.ino`, `.pde` | [`Uncrustify`](https://github.com/uncrustify/uncrustify) (Default) |
|
||||
| Bash | `Shell Script` |`.bash`, `.sh` | [`beautysh`](https://github.com/bemeurer/beautysh) (Default) |
|
||||
| C | `C`, `opencl` |`.h`, `.c`, `.cl` | [`Uncrustify`](https://github.com/uncrustify/uncrustify) (Default), [`clang-format`](https://clang.llvm.org/docs/ClangFormat.html) |
|
||||
| Coldfusion | `html` |`.cfm`, `.cfml`, `.cfc` | [`Pretty Diff`](https://github.com/prettydiff/prettydiff) (Default) |
|
||||
| Clojure | `Clojure` |`.clj`, `.cljs`, `.edn` | [`cljfmt`](https://github.com/snoe/node-cljfmt) (Default) |
|
||||
|
|
|
@ -50,6 +50,11 @@
|
|||
Beautifier
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/BashBeautify.html'>
|
||||
BashBeautify
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Beautifiers.html'>
|
||||
Beautifiers
|
||||
|
@ -65,6 +70,11 @@
|
|||
ClangFormat
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Cljfmt.html'>
|
||||
Cljfmt
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/CoffeeFmt.html'>
|
||||
CoffeeFmt
|
||||
|
@ -175,6 +185,11 @@
|
|||
Lua
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Languages.html'>
|
||||
Languages
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/LoadingView.html'>
|
||||
LoadingView
|
||||
|
@ -380,6 +395,14 @@
|
|||
(src/beautifiers)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/beautifiers/beautysh.coffee.html'>
|
||||
beautysh.coffee
|
||||
</a>
|
||||
<small>
|
||||
(src/beautifiers)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/beautify.coffee.html'>
|
||||
beautify.coffee
|
||||
|
@ -388,6 +411,14 @@
|
|||
(src)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/languages/bash.coffee.html'>
|
||||
bash.coffee
|
||||
</a>
|
||||
<small>
|
||||
(src/languages)
|
||||
</small>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<ul>
|
||||
|
@ -465,6 +496,14 @@
|
|||
(src/languages)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/languages/clojure.coffee.html'>
|
||||
clojure.coffee
|
||||
</a>
|
||||
<small>
|
||||
(src/languages)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/languages/coffeescript.coffee.html'>
|
||||
coffeescript.coffee
|
||||
|
@ -679,6 +718,14 @@
|
|||
<ul>
|
||||
<li class='letter'>i</li>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='file/src/beautifiers/cljfmt/index.coffee.html'>
|
||||
index.coffee
|
||||
</a>
|
||||
<small>
|
||||
(src/beautifiers/cljfmt)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/beautifiers/formatR/index.coffee.html'>
|
||||
index.coffee
|
||||
|
@ -1206,6 +1253,19 @@
|
|||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<ul>
|
||||
<li class='letter'>u</li>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='file/src/languages/ux_markup.coffee.html'>
|
||||
ux_markup.coffee
|
||||
</a>
|
||||
<small>
|
||||
(src/languages)
|
||||
</small>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<ul>
|
||||
<li class='letter'>v</li>
|
||||
<ul>
|
||||
|
|
|
@ -0,0 +1,206 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<title>Atom-Beautify Documentation</title>
|
||||
<script src='../javascript/application.js'></script>
|
||||
<script src='../javascript/search.js'></script>
|
||||
<link rel='stylesheet' href='../stylesheets/application.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='base' data-path='../'></div>
|
||||
<div id='header'>
|
||||
<div id='menu'>
|
||||
<a href='../extra/README.md.html' title='Atom-Beautify'>
|
||||
Atom-Beautify
|
||||
</a>
|
||||
»
|
||||
<a href='../alphabetical_index.html' title='Index'>
|
||||
Index
|
||||
</a>
|
||||
»
|
||||
<span class='title'>BashBeautify</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<h1>
|
||||
Class:
|
||||
BashBeautify
|
||||
</h1>
|
||||
<table class='box'>
|
||||
<tr>
|
||||
<td>Defined in:</td>
|
||||
<td>src/beautifiers/beautysh.coffee</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Inherits:</td>
|
||||
<td>
|
||||
<a href='../class/Beautifier.html'>Beautifier</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Variables Summary</h2>
|
||||
<dl class='constants'>
|
||||
<dt id='name-variable'>
|
||||
name
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>"beautysh"</code></pre>
|
||||
|
||||
</dd>
|
||||
<dt id='link-variable'>
|
||||
link
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>"https://github.com/bemeurer/beautysh"</code></pre>
|
||||
|
||||
</dd>
|
||||
<dt id='options-variable'>
|
||||
options
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>{
|
||||
Bash: {
|
||||
indent_size: true
|
||||
}
|
||||
}</code></pre>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<h3 class='inherited'>
|
||||
Variable inherited from
|
||||
<a href='../class/Beautifier.html'>Beautifier</a>
|
||||
</h3>
|
||||
<p class='inherited'>
|
||||
<a href='../class/Beautifier.html#Promise-variable'>Promise</a>
|
||||
<a href='../class/Beautifier.html#name-variable'>name</a>
|
||||
<a href='../class/Beautifier.html#options-variable'>options</a>
|
||||
<a href='../class/Beautifier.html#languages-variable'>languages</a>
|
||||
<a href='../class/Beautifier.html#beautify-variable'>beautify</a>
|
||||
<a href='../class/Beautifier.html#_envCache-variable'>_envCache</a>
|
||||
<a href='../class/Beautifier.html#_envCacheDate-variable'>_envCacheDate</a>
|
||||
<a href='../class/Beautifier.html#_envCacheExpiry-variable'>_envCacheExpiry</a>
|
||||
<a href='../class/Beautifier.html#logger-variable'>logger</a>
|
||||
</p>
|
||||
<h2>Instance Method Summary</h2>
|
||||
<ul class='summary'>
|
||||
<li>
|
||||
<span class='signature'>
|
||||
<a href='#beautify-dynamic'>
|
||||
#
|
||||
(void)
|
||||
<b>beautify</b><span>(text, language, options)</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class='desc'>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<small>Inherited Method Summary</small>
|
||||
<h3 class='inherited'>
|
||||
Methods inherited from
|
||||
<a href='../class/Beautifier.html'>Beautifier</a>
|
||||
</h3>
|
||||
<p class='inherited'>
|
||||
<a href='../class/Beautifier.html#deprecate-dynamic'>#deprecate</a>
|
||||
<a href='../class/Beautifier.html#tempFile-dynamic'>#tempFile</a>
|
||||
<a href='../class/Beautifier.html#readFile-dynamic'>#readFile</a>
|
||||
<a href='../class/Beautifier.html#findFile-dynamic'>#findFile</a>
|
||||
<a href='../class/Beautifier.html#getShellEnvironment-dynamic'>#getShellEnvironment</a>
|
||||
<a href='../class/Beautifier.html#which-dynamic'>#which</a>
|
||||
<a href='../class/Beautifier.html#commandNotFoundError-dynamic'>#commandNotFoundError</a>
|
||||
<a href='../class/Beautifier.html#run-dynamic'>#run</a>
|
||||
<a href='../class/Beautifier.html#spawn-dynamic'>#spawn</a>
|
||||
<a href='../class/Beautifier.html#setupLogger-dynamic'>#setupLogger</a>
|
||||
</p>
|
||||
</h2>
|
||||
<h2>Instance Method Details</h2>
|
||||
<div class='methods'>
|
||||
<div class='method_details'>
|
||||
<p class='signature' id='beautify-dynamic'>
|
||||
#
|
||||
(void)
|
||||
<b>beautify</b><span>(text, language, options)</span>
|
||||
<br>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id='footer'>
|
||||
By
|
||||
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
|
||||
Codo
|
||||
</a>
|
||||
2.1.2
|
||||
✲
|
||||
Press H to see the keyboard shortcuts
|
||||
✲
|
||||
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
|
||||
✲
|
||||
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
|
||||
</div>
|
||||
<iframe id='search_frame'></iframe>
|
||||
<div id='fuzzySearch'>
|
||||
<input type='text'>
|
||||
<ol></ol>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<p>
|
||||
Quickly fuzzy find classes, mixins, methods, file:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>T</span>
|
||||
Open fuzzy finder dialog
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Control the navigation frame:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>L</span>
|
||||
Toggle list view
|
||||
</li>
|
||||
<li>
|
||||
<span>C</span>
|
||||
Show class list
|
||||
</li>
|
||||
<li>
|
||||
<span>I</span>
|
||||
Show mixin list
|
||||
</li>
|
||||
<li>
|
||||
<span>F</span>
|
||||
Show file list
|
||||
</li>
|
||||
<li>
|
||||
<span>M</span>
|
||||
Show method list
|
||||
</li>
|
||||
<li>
|
||||
<span>E</span>
|
||||
Show extras list
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can focus and blur the search input:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>S</span>
|
||||
Focus search input
|
||||
</li>
|
||||
<li>
|
||||
<span>Esc</span>
|
||||
Blur search input
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -36,7 +36,9 @@
|
|||
<h2>Direct Known Subclasses</h2>
|
||||
<p class='children'>
|
||||
<a href='../class/Autopep8.html'>Autopep8</a>
|
||||
<a href='../class/BashBeautify.html'>BashBeautify</a>
|
||||
<a href='../class/ClangFormat.html'>ClangFormat</a>
|
||||
<a href='../class/Cljfmt.html'>Cljfmt</a>
|
||||
<a href='../class/CoffeeFmt.html'>CoffeeFmt</a>
|
||||
<a href='../class/CoffeeFormatter.html'>CoffeeFormatter</a>
|
||||
<a href='../class/Crystal.html'>Crystal</a>
|
||||
|
|
|
@ -39,12 +39,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Overview</h2>
|
||||
<div class='docstring'>
|
||||
<p>Register all supported beautifiers</p>
|
||||
</div>
|
||||
<div class='tags'>
|
||||
</div>
|
||||
<h2>Variables Summary</h2>
|
||||
<dl class='constants'>
|
||||
<dt id='beautifierNames-variable'>
|
||||
|
@ -52,7 +46,7 @@
|
|||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>['uncrustify', 'autopep8', 'coffee-formatter', 'coffee-fmt', 'clang-format', 'crystal', 'dfmt', 'elm-format', 'htmlbeautifier', 'csscomb', 'gherkin', 'gofmt', 'latex-beautify', 'fortran-beautifier', 'js-beautify', 'jscs', 'lua-beautifier', 'ocp-indent', 'perltidy', 'php-cs-fixer', 'phpcbf', 'prettydiff', 'pug-beautify', 'puppet-fix', 'remark', 'rubocop', 'ruby-beautify', 'rustfmt', 'sass-convert', 'sqlformat', 'stylish-haskell', 'tidy-markdown', 'typescript-formatter', 'vue-beautifier', 'yapf', 'erl_tidy', 'marko-beautifier', 'formatR']</code></pre>
|
||||
<pre><code class='coffeescript'>['uncrustify', 'autopep8', 'coffee-formatter', 'coffee-fmt', 'cljfmt', 'clang-format', 'crystal', 'dfmt', 'elm-format', 'htmlbeautifier', 'csscomb', 'gherkin', 'gofmt', 'latex-beautify', 'fortran-beautifier', 'js-beautify', 'jscs', 'lua-beautifier', 'ocp-indent', 'perltidy', 'php-cs-fixer', 'phpcbf', 'prettydiff', 'pug-beautify', 'puppet-fix', 'remark', 'rubocop', 'ruby-beautify', 'rustfmt', 'sass-convert', 'sqlformat', 'stylish-haskell', 'tidy-markdown', 'typescript-formatter', 'vue-beautifier', 'yapf', 'erl_tidy', 'marko-beautifier', 'formatR', 'beautysh']</code></pre>
|
||||
<div class='docstring'>
|
||||
<p>List of beautifier names</p><p>To register a beautifier add its name here</p>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,204 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<title>Atom-Beautify Documentation</title>
|
||||
<script src='../javascript/application.js'></script>
|
||||
<script src='../javascript/search.js'></script>
|
||||
<link rel='stylesheet' href='../stylesheets/application.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='base' data-path='../'></div>
|
||||
<div id='header'>
|
||||
<div id='menu'>
|
||||
<a href='../extra/README.md.html' title='Atom-Beautify'>
|
||||
Atom-Beautify
|
||||
</a>
|
||||
»
|
||||
<a href='../alphabetical_index.html' title='Index'>
|
||||
Index
|
||||
</a>
|
||||
»
|
||||
<span class='title'>Cljfmt</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<h1>
|
||||
Class:
|
||||
Cljfmt
|
||||
</h1>
|
||||
<table class='box'>
|
||||
<tr>
|
||||
<td>Defined in:</td>
|
||||
<td>src/beautifiers/cljfmt/index.coffee</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Inherits:</td>
|
||||
<td>
|
||||
<a href='../class/Beautifier.html'>Beautifier</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Variables Summary</h2>
|
||||
<dl class='constants'>
|
||||
<dt id='name-variable'>
|
||||
name
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>"cljfmt"</code></pre>
|
||||
|
||||
</dd>
|
||||
<dt id='link-variable'>
|
||||
link
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>"https://github.com/snoe/node-cljfmt"</code></pre>
|
||||
|
||||
</dd>
|
||||
<dt id='options-variable'>
|
||||
options
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>{
|
||||
Clojure: false
|
||||
}</code></pre>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<h3 class='inherited'>
|
||||
Variable inherited from
|
||||
<a href='../class/Beautifier.html'>Beautifier</a>
|
||||
</h3>
|
||||
<p class='inherited'>
|
||||
<a href='../class/Beautifier.html#Promise-variable'>Promise</a>
|
||||
<a href='../class/Beautifier.html#name-variable'>name</a>
|
||||
<a href='../class/Beautifier.html#options-variable'>options</a>
|
||||
<a href='../class/Beautifier.html#languages-variable'>languages</a>
|
||||
<a href='../class/Beautifier.html#beautify-variable'>beautify</a>
|
||||
<a href='../class/Beautifier.html#_envCache-variable'>_envCache</a>
|
||||
<a href='../class/Beautifier.html#_envCacheDate-variable'>_envCacheDate</a>
|
||||
<a href='../class/Beautifier.html#_envCacheExpiry-variable'>_envCacheExpiry</a>
|
||||
<a href='../class/Beautifier.html#logger-variable'>logger</a>
|
||||
</p>
|
||||
<h2>Instance Method Summary</h2>
|
||||
<ul class='summary'>
|
||||
<li>
|
||||
<span class='signature'>
|
||||
<a href='#beautify-dynamic'>
|
||||
#
|
||||
(void)
|
||||
<b>beautify</b><span>(text, language, options)</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class='desc'>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<small>Inherited Method Summary</small>
|
||||
<h3 class='inherited'>
|
||||
Methods inherited from
|
||||
<a href='../class/Beautifier.html'>Beautifier</a>
|
||||
</h3>
|
||||
<p class='inherited'>
|
||||
<a href='../class/Beautifier.html#deprecate-dynamic'>#deprecate</a>
|
||||
<a href='../class/Beautifier.html#tempFile-dynamic'>#tempFile</a>
|
||||
<a href='../class/Beautifier.html#readFile-dynamic'>#readFile</a>
|
||||
<a href='../class/Beautifier.html#findFile-dynamic'>#findFile</a>
|
||||
<a href='../class/Beautifier.html#getShellEnvironment-dynamic'>#getShellEnvironment</a>
|
||||
<a href='../class/Beautifier.html#which-dynamic'>#which</a>
|
||||
<a href='../class/Beautifier.html#commandNotFoundError-dynamic'>#commandNotFoundError</a>
|
||||
<a href='../class/Beautifier.html#run-dynamic'>#run</a>
|
||||
<a href='../class/Beautifier.html#spawn-dynamic'>#spawn</a>
|
||||
<a href='../class/Beautifier.html#setupLogger-dynamic'>#setupLogger</a>
|
||||
</p>
|
||||
</h2>
|
||||
<h2>Instance Method Details</h2>
|
||||
<div class='methods'>
|
||||
<div class='method_details'>
|
||||
<p class='signature' id='beautify-dynamic'>
|
||||
#
|
||||
(void)
|
||||
<b>beautify</b><span>(text, language, options)</span>
|
||||
<br>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id='footer'>
|
||||
By
|
||||
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
|
||||
Codo
|
||||
</a>
|
||||
2.1.2
|
||||
✲
|
||||
Press H to see the keyboard shortcuts
|
||||
✲
|
||||
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
|
||||
✲
|
||||
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
|
||||
</div>
|
||||
<iframe id='search_frame'></iframe>
|
||||
<div id='fuzzySearch'>
|
||||
<input type='text'>
|
||||
<ol></ol>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<p>
|
||||
Quickly fuzzy find classes, mixins, methods, file:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>T</span>
|
||||
Open fuzzy finder dialog
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Control the navigation frame:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>L</span>
|
||||
Toggle list view
|
||||
</li>
|
||||
<li>
|
||||
<span>C</span>
|
||||
Show class list
|
||||
</li>
|
||||
<li>
|
||||
<span>I</span>
|
||||
Show mixin list
|
||||
</li>
|
||||
<li>
|
||||
<span>F</span>
|
||||
Show file list
|
||||
</li>
|
||||
<li>
|
||||
<span>M</span>
|
||||
Show method list
|
||||
</li>
|
||||
<li>
|
||||
<span>E</span>
|
||||
Show extras list
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can focus and blur the search input:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>S</span>
|
||||
Focus search input
|
||||
</li>
|
||||
<li>
|
||||
<span>Esc</span>
|
||||
Blur search input
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,196 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<title>Atom-Beautify Documentation</title>
|
||||
<script src='../javascript/application.js'></script>
|
||||
<script src='../javascript/search.js'></script>
|
||||
<link rel='stylesheet' href='../stylesheets/application.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='base' data-path='../'></div>
|
||||
<div id='header'>
|
||||
<div id='menu'>
|
||||
<a href='../extra/README.md.html' title='Atom-Beautify'>
|
||||
Atom-Beautify
|
||||
</a>
|
||||
»
|
||||
<a href='../alphabetical_index.html' title='Index'>
|
||||
Index
|
||||
</a>
|
||||
»
|
||||
<span class='title'>Languages</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<h1>
|
||||
Class:
|
||||
Languages
|
||||
</h1>
|
||||
<table class='box'>
|
||||
<tr>
|
||||
<td>Defined in:</td>
|
||||
<td>src/languages/index.coffee</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Variables Summary</h2>
|
||||
<dl class='constants'>
|
||||
<dt id='languageNames-variable'>
|
||||
languageNames
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>["apex", "arduino", "bash", "c-sharp", "c", "clojure", "coffeescript", "coldfusion", "cpp", "crystal", "css", "csv", "d", "ejs", "elm", "erb", "erlang", "gherkin", "go", "fortran", "handlebars", "haskell", "html", "jade", "java", "javascript", "json", "jsx", "latex", "less", "lua", "markdown", 'marko', "mustache", "nunjucks", "objective-c", "ocaml", "pawn", "perl", "php", "puppet", "python", "r", "riotjs", "ruby", "rust", "sass", "scss", "spacebars", "sql", "svg", "swig", "tss", "twig", "typescript", "ux_markup", "vala", "vue", "visualforce", "xml", "xtemplate"]</code></pre>
|
||||
<div class='docstring'>
|
||||
<p>Supported unique configuration keys
|
||||
Used for detecting nested configurations in .jsbeautifyrc</p>
|
||||
</div>
|
||||
<div class='tags'>
|
||||
</div>
|
||||
</dd>
|
||||
<dt id='languages-variable'>
|
||||
languages
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>null</code></pre>
|
||||
<div class='docstring'>
|
||||
<p>Languages</p>
|
||||
</div>
|
||||
<div class='tags'>
|
||||
</div>
|
||||
</dd>
|
||||
<dt id='namespaces-variable'>
|
||||
namespaces
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>null</code></pre>
|
||||
<div class='docstring'>
|
||||
<p>Namespaces</p>
|
||||
</div>
|
||||
<div class='tags'>
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2>Instance Method Summary</h2>
|
||||
<ul class='summary'>
|
||||
<li>
|
||||
<span class='signature'>
|
||||
<a href='#getLanguages-dynamic'>
|
||||
#
|
||||
(void)
|
||||
<b>getLanguages</b><span>({name, namespace, grammar, extension})</span>
|
||||
</a>
|
||||
</span>
|
||||
<span class='desc'>
|
||||
Get language for grammar and extension
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>Constructor Details</h2>
|
||||
<div class='methods'>
|
||||
<div class='method_details'>
|
||||
<p class='signature' id='constructor-dynamic'>
|
||||
#
|
||||
(void)
|
||||
<b>constructor</b><span>()</span>
|
||||
<br>
|
||||
</p>
|
||||
<div class='docstring'>
|
||||
<p>Constructor</p>
|
||||
</div>
|
||||
<div class='tags'>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Instance Method Details</h2>
|
||||
<div class='methods'>
|
||||
<div class='method_details'>
|
||||
<p class='signature' id='getLanguages-dynamic'>
|
||||
#
|
||||
(void)
|
||||
<b>getLanguages</b><span>({name, namespace, grammar, extension})</span>
|
||||
<br>
|
||||
</p>
|
||||
<div class='docstring'>
|
||||
<p>Get language for grammar and extension</p>
|
||||
</div>
|
||||
<div class='tags'>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id='footer'>
|
||||
By
|
||||
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
|
||||
Codo
|
||||
</a>
|
||||
2.1.2
|
||||
✲
|
||||
Press H to see the keyboard shortcuts
|
||||
✲
|
||||
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
|
||||
✲
|
||||
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
|
||||
</div>
|
||||
<iframe id='search_frame'></iframe>
|
||||
<div id='fuzzySearch'>
|
||||
<input type='text'>
|
||||
<ol></ol>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<p>
|
||||
Quickly fuzzy find classes, mixins, methods, file:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>T</span>
|
||||
Open fuzzy finder dialog
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Control the navigation frame:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>L</span>
|
||||
Toggle list view
|
||||
</li>
|
||||
<li>
|
||||
<span>C</span>
|
||||
Show class list
|
||||
</li>
|
||||
<li>
|
||||
<span>I</span>
|
||||
Show mixin list
|
||||
</li>
|
||||
<li>
|
||||
<span>F</span>
|
||||
Show file list
|
||||
</li>
|
||||
<li>
|
||||
<span>M</span>
|
||||
Show method list
|
||||
</li>
|
||||
<li>
|
||||
<span>E</span>
|
||||
Show extras list
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can focus and blur the search input:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>S</span>
|
||||
Focus search input
|
||||
</li>
|
||||
<li>
|
||||
<span>Esc</span>
|
||||
Blur search input
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -132,7 +132,8 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
ternaryline: "preserve_ternary_lines"
|
||||
ternaryline: "preserve_ternary_lines",
|
||||
bracepadding: "space_in_paren"
|
||||
},
|
||||
|
||||
/*
|
||||
|
@ -157,6 +158,7 @@
|
|||
Twig: true,
|
||||
LESS: true,
|
||||
Swig: true,
|
||||
"UX Markup": true,
|
||||
Visualforce: true,
|
||||
"Riot.js": true,
|
||||
XTemplate: true
|
||||
|
|
|
@ -49,6 +49,18 @@
|
|||
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/BashBeautify.html' target='main'>
|
||||
BashBeautify
|
||||
</a>
|
||||
<small class='parent'>
|
||||
<
|
||||
Beautifier
|
||||
</small>
|
||||
<small class='namespace'>
|
||||
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/ClangFormat.html' target='main'>
|
||||
ClangFormat
|
||||
|
@ -61,6 +73,18 @@
|
|||
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Cljfmt.html' target='main'>
|
||||
Cljfmt
|
||||
</a>
|
||||
<small class='parent'>
|
||||
<
|
||||
Beautifier
|
||||
</small>
|
||||
<small class='namespace'>
|
||||
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/CoffeeFmt.html' target='main'>
|
||||
CoffeeFmt
|
||||
|
@ -493,6 +517,14 @@
|
|||
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Languages.html' target='main'>
|
||||
Languages
|
||||
</a>
|
||||
<small class='namespace'>
|
||||
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/LoadingView.html' target='main'>
|
||||
LoadingView
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
<li>Closes <a href="https://github.com/Glavin001/atom-beautify/issues/786">#786</a> YAPF configuration files are ignored.</li>
|
||||
<li>Fix phpcbf hanging issue by closing stdin. See <a href="https://github.com/Glavin001/atom-beautify/issues/893">#893</a></li>
|
||||
<li>Add warning notification when parsing <code>.jsbeautifyrc</code> as JSON or YAML fails. See <a href="https://github.com/Glavin001/atom-beautify/issues/1106">#1106</a></li>
|
||||
<li>Add support for PrettyDiff's <em>bracepadding</em> option in JavaScript. See <a href="https://github.com/Glavin001/atom-beautify/issues/1157">#1157</a></li>
|
||||
</ul>
|
||||
<h1 id="v0-29-0">v0.29.0</h1>
|
||||
<ul>
|
||||
|
|
|
@ -118,6 +118,12 @@ Thank you.</p><h2 id="language-support">Language Support</h2><p>See <a href="htt
|
|||
<td><a href="https://github.com/uncrustify/uncrustify"><code>Uncrustify</code></a> (Default)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bash</td>
|
||||
<td><code>Shell Script</code></td>
|
||||
<td><code>.bash</code>, <code>.sh</code></td>
|
||||
<td><a href="https://github.com/bemeurer/beautysh"><code>beautysh</code></a> (Default)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>C</td>
|
||||
<td><code>C</code>, <code>opencl</code></td>
|
||||
<td><code>.h</code>, <code>.c</code>, <code>.cl</code></td>
|
||||
|
@ -130,6 +136,12 @@ Thank you.</p><h2 id="language-support">Language Support</h2><p>See <a href="htt
|
|||
<td><a href="https://github.com/prettydiff/prettydiff"><code>Pretty Diff</code></a> (Default)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Clojure</td>
|
||||
<td><code>Clojure</code></td>
|
||||
<td><code>.clj</code>, <code>.cljs</code>, <code>.edn</code></td>
|
||||
<td><a href="https://github.com/snoe/node-cljfmt"><code>cljfmt</code></a> (Default)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>CoffeeScript</td>
|
||||
<td><code>CoffeeScript</code></td>
|
||||
<td><code>.coffee</code></td>
|
||||
|
@ -257,7 +269,7 @@ Thank you.</p><h2 id="language-support">Language Support</h2><p>See <a href="htt
|
|||
</tr>
|
||||
<tr>
|
||||
<td>JSX</td>
|
||||
<td><code>JSX</code>, <code>JavaScript (JSX)</code></td>
|
||||
<td><code>JSX</code>, <code>JavaScript (JSX)</code>, <code>Babel ES6 JavaScript</code></td>
|
||||
<td><code>.jsx</code>, <code>.js</code></td>
|
||||
<td><a href="https://github.com/prettydiff/prettydiff"><code>Pretty Diff</code></a> (Default)</td>
|
||||
</tr>
|
||||
|
@ -424,6 +436,12 @@ Thank you.</p><h2 id="language-support">Language Support</h2><p>See <a href="htt
|
|||
<td><a href="https://github.com/vvakame/typescript-formatter"><code>TypeScript Formatter</code></a> (Default)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>UX Markup</td>
|
||||
<td><code>UX</code></td>
|
||||
<td><code>.ux</code></td>
|
||||
<td><a href="https://github.com/prettydiff/prettydiff"><code>Pretty Diff</code></a> (Default)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vala</td>
|
||||
<td><code>Vala</code></td>
|
||||
<td><code>.vala</code>, <code>.vapi</code></td>
|
||||
|
|
|
@ -0,0 +1,123 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<title>Atom-Beautify Documentation</title>
|
||||
<script src='../../../javascript/application.js'></script>
|
||||
<script src='../../../javascript/search.js'></script>
|
||||
<link rel='stylesheet' href='../../../stylesheets/application.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='base' data-path='../../../'></div>
|
||||
<div id='header'>
|
||||
<div id='menu'>
|
||||
<a href='../../../extra/README.md.html' title='Atom-Beautify'>
|
||||
Atom-Beautify
|
||||
</a>
|
||||
»
|
||||
<a href='../../../alphabetical_index.html' title='Index'>
|
||||
Index
|
||||
</a>
|
||||
»
|
||||
<span class='title'>src</span>
|
||||
»
|
||||
<span class='title'>beautifiers</span>
|
||||
»
|
||||
<span class='title'>bash-beautify.coffee</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<h1>
|
||||
File:
|
||||
bash-beautify.coffee
|
||||
</h1>
|
||||
<table class='box'>
|
||||
<tr>
|
||||
<td>Defined in:</td>
|
||||
<td>src/beautifiers</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Classes:
|
||||
</td>
|
||||
<td>
|
||||
<a href='../../../class/BashBeautify.html'>
|
||||
BashBeautify
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='footer'>
|
||||
By
|
||||
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
|
||||
Codo
|
||||
</a>
|
||||
2.1.2
|
||||
✲
|
||||
Press H to see the keyboard shortcuts
|
||||
✲
|
||||
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
|
||||
✲
|
||||
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
|
||||
</div>
|
||||
<iframe id='search_frame'></iframe>
|
||||
<div id='fuzzySearch'>
|
||||
<input type='text'>
|
||||
<ol></ol>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<p>
|
||||
Quickly fuzzy find classes, mixins, methods, file:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>T</span>
|
||||
Open fuzzy finder dialog
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Control the navigation frame:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>L</span>
|
||||
Toggle list view
|
||||
</li>
|
||||
<li>
|
||||
<span>C</span>
|
||||
Show class list
|
||||
</li>
|
||||
<li>
|
||||
<span>I</span>
|
||||
Show mixin list
|
||||
</li>
|
||||
<li>
|
||||
<span>F</span>
|
||||
Show file list
|
||||
</li>
|
||||
<li>
|
||||
<span>M</span>
|
||||
Show method list
|
||||
</li>
|
||||
<li>
|
||||
<span>E</span>
|
||||
Show extras list
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can focus and blur the search input:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>S</span>
|
||||
Focus search input
|
||||
</li>
|
||||
<li>
|
||||
<span>Esc</span>
|
||||
Blur search input
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,123 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<title>Atom-Beautify Documentation</title>
|
||||
<script src='../../../javascript/application.js'></script>
|
||||
<script src='../../../javascript/search.js'></script>
|
||||
<link rel='stylesheet' href='../../../stylesheets/application.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='base' data-path='../../../'></div>
|
||||
<div id='header'>
|
||||
<div id='menu'>
|
||||
<a href='../../../extra/README.md.html' title='Atom-Beautify'>
|
||||
Atom-Beautify
|
||||
</a>
|
||||
»
|
||||
<a href='../../../alphabetical_index.html' title='Index'>
|
||||
Index
|
||||
</a>
|
||||
»
|
||||
<span class='title'>src</span>
|
||||
»
|
||||
<span class='title'>beautifiers</span>
|
||||
»
|
||||
<span class='title'>beautifysh.coffee</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<h1>
|
||||
File:
|
||||
beautifysh.coffee
|
||||
</h1>
|
||||
<table class='box'>
|
||||
<tr>
|
||||
<td>Defined in:</td>
|
||||
<td>src/beautifiers</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Classes:
|
||||
</td>
|
||||
<td>
|
||||
<a href='../../../class/BashBeautify.html'>
|
||||
BashBeautify
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='footer'>
|
||||
By
|
||||
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
|
||||
Codo
|
||||
</a>
|
||||
2.1.2
|
||||
✲
|
||||
Press H to see the keyboard shortcuts
|
||||
✲
|
||||
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
|
||||
✲
|
||||
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
|
||||
</div>
|
||||
<iframe id='search_frame'></iframe>
|
||||
<div id='fuzzySearch'>
|
||||
<input type='text'>
|
||||
<ol></ol>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<p>
|
||||
Quickly fuzzy find classes, mixins, methods, file:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>T</span>
|
||||
Open fuzzy finder dialog
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Control the navigation frame:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>L</span>
|
||||
Toggle list view
|
||||
</li>
|
||||
<li>
|
||||
<span>C</span>
|
||||
Show class list
|
||||
</li>
|
||||
<li>
|
||||
<span>I</span>
|
||||
Show mixin list
|
||||
</li>
|
||||
<li>
|
||||
<span>F</span>
|
||||
Show file list
|
||||
</li>
|
||||
<li>
|
||||
<span>M</span>
|
||||
Show method list
|
||||
</li>
|
||||
<li>
|
||||
<span>E</span>
|
||||
Show extras list
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can focus and blur the search input:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>S</span>
|
||||
Focus search input
|
||||
</li>
|
||||
<li>
|
||||
<span>Esc</span>
|
||||
Blur search input
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,123 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<title>Atom-Beautify Documentation</title>
|
||||
<script src='../../../javascript/application.js'></script>
|
||||
<script src='../../../javascript/search.js'></script>
|
||||
<link rel='stylesheet' href='../../../stylesheets/application.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='base' data-path='../../../'></div>
|
||||
<div id='header'>
|
||||
<div id='menu'>
|
||||
<a href='../../../extra/README.md.html' title='Atom-Beautify'>
|
||||
Atom-Beautify
|
||||
</a>
|
||||
»
|
||||
<a href='../../../alphabetical_index.html' title='Index'>
|
||||
Index
|
||||
</a>
|
||||
»
|
||||
<span class='title'>src</span>
|
||||
»
|
||||
<span class='title'>beautifiers</span>
|
||||
»
|
||||
<span class='title'>beautysh.coffee</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<h1>
|
||||
File:
|
||||
beautysh.coffee
|
||||
</h1>
|
||||
<table class='box'>
|
||||
<tr>
|
||||
<td>Defined in:</td>
|
||||
<td>src/beautifiers</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Classes:
|
||||
</td>
|
||||
<td>
|
||||
<a href='../../../class/BashBeautify.html'>
|
||||
BashBeautify
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='footer'>
|
||||
By
|
||||
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
|
||||
Codo
|
||||
</a>
|
||||
2.1.2
|
||||
✲
|
||||
Press H to see the keyboard shortcuts
|
||||
✲
|
||||
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
|
||||
✲
|
||||
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
|
||||
</div>
|
||||
<iframe id='search_frame'></iframe>
|
||||
<div id='fuzzySearch'>
|
||||
<input type='text'>
|
||||
<ol></ol>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<p>
|
||||
Quickly fuzzy find classes, mixins, methods, file:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>T</span>
|
||||
Open fuzzy finder dialog
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Control the navigation frame:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>L</span>
|
||||
Toggle list view
|
||||
</li>
|
||||
<li>
|
||||
<span>C</span>
|
||||
Show class list
|
||||
</li>
|
||||
<li>
|
||||
<span>I</span>
|
||||
Show mixin list
|
||||
</li>
|
||||
<li>
|
||||
<span>F</span>
|
||||
Show file list
|
||||
</li>
|
||||
<li>
|
||||
<span>M</span>
|
||||
Show method list
|
||||
</li>
|
||||
<li>
|
||||
<span>E</span>
|
||||
Show extras list
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can focus and blur the search input:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>S</span>
|
||||
Focus search input
|
||||
</li>
|
||||
<li>
|
||||
<span>Esc</span>
|
||||
Blur search input
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,125 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<title>Atom-Beautify Documentation</title>
|
||||
<script src='../../../../javascript/application.js'></script>
|
||||
<script src='../../../../javascript/search.js'></script>
|
||||
<link rel='stylesheet' href='../../../../stylesheets/application.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='base' data-path='../../../../'></div>
|
||||
<div id='header'>
|
||||
<div id='menu'>
|
||||
<a href='../../../../extra/README.md.html' title='Atom-Beautify'>
|
||||
Atom-Beautify
|
||||
</a>
|
||||
»
|
||||
<a href='../../../../alphabetical_index.html' title='Index'>
|
||||
Index
|
||||
</a>
|
||||
»
|
||||
<span class='title'>src</span>
|
||||
»
|
||||
<span class='title'>beautifiers</span>
|
||||
»
|
||||
<span class='title'>cljfmt</span>
|
||||
»
|
||||
<span class='title'>index.coffee</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<h1>
|
||||
File:
|
||||
index.coffee
|
||||
</h1>
|
||||
<table class='box'>
|
||||
<tr>
|
||||
<td>Defined in:</td>
|
||||
<td>src/beautifiers/cljfmt</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Classes:
|
||||
</td>
|
||||
<td>
|
||||
<a href='../../../../class/Cljfmt.html'>
|
||||
Cljfmt
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='footer'>
|
||||
By
|
||||
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
|
||||
Codo
|
||||
</a>
|
||||
2.1.2
|
||||
✲
|
||||
Press H to see the keyboard shortcuts
|
||||
✲
|
||||
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
|
||||
✲
|
||||
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
|
||||
</div>
|
||||
<iframe id='search_frame'></iframe>
|
||||
<div id='fuzzySearch'>
|
||||
<input type='text'>
|
||||
<ol></ol>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<p>
|
||||
Quickly fuzzy find classes, mixins, methods, file:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>T</span>
|
||||
Open fuzzy finder dialog
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Control the navigation frame:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>L</span>
|
||||
Toggle list view
|
||||
</li>
|
||||
<li>
|
||||
<span>C</span>
|
||||
Show class list
|
||||
</li>
|
||||
<li>
|
||||
<span>I</span>
|
||||
Show mixin list
|
||||
</li>
|
||||
<li>
|
||||
<span>F</span>
|
||||
Show file list
|
||||
</li>
|
||||
<li>
|
||||
<span>M</span>
|
||||
Show method list
|
||||
</li>
|
||||
<li>
|
||||
<span>E</span>
|
||||
Show extras list
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can focus and blur the search input:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>S</span>
|
||||
Focus search input
|
||||
</li>
|
||||
<li>
|
||||
<span>Esc</span>
|
||||
Blur search input
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,162 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<title>Atom-Beautify Documentation</title>
|
||||
<script src='../../../javascript/application.js'></script>
|
||||
<script src='../../../javascript/search.js'></script>
|
||||
<link rel='stylesheet' href='../../../stylesheets/application.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='base' data-path='../../../'></div>
|
||||
<div id='header'>
|
||||
<div id='menu'>
|
||||
<a href='../../../extra/README.md.html' title='Atom-Beautify'>
|
||||
Atom-Beautify
|
||||
</a>
|
||||
»
|
||||
<a href='../../../alphabetical_index.html' title='Index'>
|
||||
Index
|
||||
</a>
|
||||
»
|
||||
<span class='title'>src</span>
|
||||
»
|
||||
<span class='title'>languages</span>
|
||||
»
|
||||
<span class='title'>bash.coffee</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<h1>
|
||||
File:
|
||||
bash.coffee
|
||||
</h1>
|
||||
<table class='box'>
|
||||
<tr>
|
||||
<td>Defined in:</td>
|
||||
<td>src/languages</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Variables Summary</h2>
|
||||
<dl class='constants'>
|
||||
<dt id='scope-variable'>
|
||||
scope
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>['source.sh', 'source.bash']</code></pre>
|
||||
|
||||
</dd>
|
||||
<dt id='defaultIndentSize-variable'>
|
||||
defaultIndentSize
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>(softTabs ? tabLength : 1)</code></pre>
|
||||
|
||||
</dd>
|
||||
<dt id='module.exports-variable'>
|
||||
module.exports
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>{
|
||||
name: "Bash",
|
||||
namespace: "bash",
|
||||
|
||||
/*
|
||||
Supported Grammars
|
||||
*/
|
||||
grammars: ["Shell Script"],
|
||||
defaultBeautifier: "beautysh",
|
||||
|
||||
/*
|
||||
Supported extensions
|
||||
*/
|
||||
extensions: ["bash", "sh"],
|
||||
options: {
|
||||
indent_size: {
|
||||
type: 'integer',
|
||||
"default": defaultIndentSize,
|
||||
minimum: 0,
|
||||
description: "Indentation size/length"
|
||||
}
|
||||
}
|
||||
}</code></pre>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div id='footer'>
|
||||
By
|
||||
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
|
||||
Codo
|
||||
</a>
|
||||
2.1.2
|
||||
✲
|
||||
Press H to see the keyboard shortcuts
|
||||
✲
|
||||
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
|
||||
✲
|
||||
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
|
||||
</div>
|
||||
<iframe id='search_frame'></iframe>
|
||||
<div id='fuzzySearch'>
|
||||
<input type='text'>
|
||||
<ol></ol>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<p>
|
||||
Quickly fuzzy find classes, mixins, methods, file:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>T</span>
|
||||
Open fuzzy finder dialog
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Control the navigation frame:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>L</span>
|
||||
Toggle list view
|
||||
</li>
|
||||
<li>
|
||||
<span>C</span>
|
||||
Show class list
|
||||
</li>
|
||||
<li>
|
||||
<span>I</span>
|
||||
Show mixin list
|
||||
</li>
|
||||
<li>
|
||||
<span>F</span>
|
||||
Show file list
|
||||
</li>
|
||||
<li>
|
||||
<span>M</span>
|
||||
Show method list
|
||||
</li>
|
||||
<li>
|
||||
<span>E</span>
|
||||
Show extras list
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can focus and blur the search input:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>S</span>
|
||||
Focus search input
|
||||
</li>
|
||||
<li>
|
||||
<span>Esc</span>
|
||||
Blur search input
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,138 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<title>Atom-Beautify Documentation</title>
|
||||
<script src='../../../javascript/application.js'></script>
|
||||
<script src='../../../javascript/search.js'></script>
|
||||
<link rel='stylesheet' href='../../../stylesheets/application.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='base' data-path='../../../'></div>
|
||||
<div id='header'>
|
||||
<div id='menu'>
|
||||
<a href='../../../extra/README.md.html' title='Atom-Beautify'>
|
||||
Atom-Beautify
|
||||
</a>
|
||||
»
|
||||
<a href='../../../alphabetical_index.html' title='Index'>
|
||||
Index
|
||||
</a>
|
||||
»
|
||||
<span class='title'>src</span>
|
||||
»
|
||||
<span class='title'>languages</span>
|
||||
»
|
||||
<span class='title'>clojure.coffee</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<h1>
|
||||
File:
|
||||
clojure.coffee
|
||||
</h1>
|
||||
<table class='box'>
|
||||
<tr>
|
||||
<td>Defined in:</td>
|
||||
<td>src/languages</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Variables Summary</h2>
|
||||
<dl class='constants'>
|
||||
<dt id='module.exports-variable'>
|
||||
module.exports
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>{
|
||||
name: "Clojure",
|
||||
namespace: "clj",
|
||||
|
||||
/*
|
||||
Supported Grammars
|
||||
*/
|
||||
grammars: ["Clojure"],
|
||||
|
||||
/*
|
||||
Supported extensions
|
||||
*/
|
||||
extensions: ['clj', 'cljs', 'edn'],
|
||||
defaultBeautifier: "cljfmt"
|
||||
}</code></pre>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div id='footer'>
|
||||
By
|
||||
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
|
||||
Codo
|
||||
</a>
|
||||
2.1.2
|
||||
✲
|
||||
Press H to see the keyboard shortcuts
|
||||
✲
|
||||
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
|
||||
✲
|
||||
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
|
||||
</div>
|
||||
<iframe id='search_frame'></iframe>
|
||||
<div id='fuzzySearch'>
|
||||
<input type='text'>
|
||||
<ol></ol>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<p>
|
||||
Quickly fuzzy find classes, mixins, methods, file:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>T</span>
|
||||
Open fuzzy finder dialog
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Control the navigation frame:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>L</span>
|
||||
Toggle list view
|
||||
</li>
|
||||
<li>
|
||||
<span>C</span>
|
||||
Show class list
|
||||
</li>
|
||||
<li>
|
||||
<span>I</span>
|
||||
Show mixin list
|
||||
</li>
|
||||
<li>
|
||||
<span>F</span>
|
||||
Show file list
|
||||
</li>
|
||||
<li>
|
||||
<span>M</span>
|
||||
Show method list
|
||||
</li>
|
||||
<li>
|
||||
<span>E</span>
|
||||
Show extras list
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can focus and blur the search input:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>S</span>
|
||||
Focus search input
|
||||
</li>
|
||||
<li>
|
||||
<span>Esc</span>
|
||||
Blur search input
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -36,6 +36,16 @@
|
|||
<td>Defined in:</td>
|
||||
<td>src/languages</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Classes:
|
||||
</td>
|
||||
<td>
|
||||
<a href='../../../class/Languages.html'>
|
||||
Languages
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Variables Summary</h2>
|
||||
<dl class='constants'>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
/*
|
||||
Supported Grammars
|
||||
*/
|
||||
grammars: ["JSX", "JavaScript (JSX)"],
|
||||
grammars: ["JSX", "JavaScript (JSX)", "Babel ES6 JavaScript"],
|
||||
|
||||
/*
|
||||
Supported extensions
|
||||
|
|
|
@ -0,0 +1,139 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='UTF-8'>
|
||||
<title>Atom-Beautify Documentation</title>
|
||||
<script src='../../../javascript/application.js'></script>
|
||||
<script src='../../../javascript/search.js'></script>
|
||||
<link rel='stylesheet' href='../../../stylesheets/application.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='base' data-path='../../../'></div>
|
||||
<div id='header'>
|
||||
<div id='menu'>
|
||||
<a href='../../../extra/README.md.html' title='Atom-Beautify'>
|
||||
Atom-Beautify
|
||||
</a>
|
||||
»
|
||||
<a href='../../../alphabetical_index.html' title='Index'>
|
||||
Index
|
||||
</a>
|
||||
»
|
||||
<span class='title'>src</span>
|
||||
»
|
||||
<span class='title'>languages</span>
|
||||
»
|
||||
<span class='title'>ux_markup.coffee</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<h1>
|
||||
File:
|
||||
ux_markup.coffee
|
||||
</h1>
|
||||
<table class='box'>
|
||||
<tr>
|
||||
<td>Defined in:</td>
|
||||
<td>src/languages</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Variables Summary</h2>
|
||||
<dl class='constants'>
|
||||
<dt id='module.exports-variable'>
|
||||
module.exports
|
||||
=
|
||||
</dt>
|
||||
<dd>
|
||||
<pre><code class='coffeescript'>{
|
||||
name: "UX Markup",
|
||||
namespace: "ux",
|
||||
fallback: ['html'],
|
||||
|
||||
/*
|
||||
Supported Grammars
|
||||
*/
|
||||
grammars: ["UX"],
|
||||
|
||||
/*
|
||||
Supported extensions
|
||||
*/
|
||||
extensions: ["ux"],
|
||||
defaultBeautifier: "Pretty Diff"
|
||||
}</code></pre>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div id='footer'>
|
||||
By
|
||||
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
|
||||
Codo
|
||||
</a>
|
||||
2.1.2
|
||||
✲
|
||||
Press H to see the keyboard shortcuts
|
||||
✲
|
||||
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
|
||||
✲
|
||||
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
|
||||
</div>
|
||||
<iframe id='search_frame'></iframe>
|
||||
<div id='fuzzySearch'>
|
||||
<input type='text'>
|
||||
<ol></ol>
|
||||
</div>
|
||||
<div id='help'>
|
||||
<p>
|
||||
Quickly fuzzy find classes, mixins, methods, file:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>T</span>
|
||||
Open fuzzy finder dialog
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Control the navigation frame:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>L</span>
|
||||
Toggle list view
|
||||
</li>
|
||||
<li>
|
||||
<span>C</span>
|
||||
Show class list
|
||||
</li>
|
||||
<li>
|
||||
<span>I</span>
|
||||
Show mixin list
|
||||
</li>
|
||||
<li>
|
||||
<span>F</span>
|
||||
Show file list
|
||||
</li>
|
||||
<li>
|
||||
<span>M</span>
|
||||
Show method list
|
||||
</li>
|
||||
<li>
|
||||
<span>E</span>
|
||||
Show extras list
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can focus and blur the search input:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<span>S</span>
|
||||
Focus search input
|
||||
</li>
|
||||
<li>
|
||||
<span>Esc</span>
|
||||
Blur search input
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -57,6 +57,14 @@
|
|||
src/beautifiers
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/beautifiers/beautysh.coffee.html' target='main'>
|
||||
beautysh.coffee
|
||||
</a>
|
||||
<small class='namespace'>
|
||||
src/beautifiers
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/beautifiers/clang-format.coffee.html' target='main'>
|
||||
clang-format.coffee
|
||||
|
@ -65,6 +73,22 @@
|
|||
src/beautifiers
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<span>
|
||||
cljfmt
|
||||
</span>
|
||||
</li>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='file/src/beautifiers/cljfmt/index.coffee.html' target='main'>
|
||||
index.coffee
|
||||
</a>
|
||||
<small class='namespace'>
|
||||
src/beautifiers/cljfmt
|
||||
</small>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<li>
|
||||
<a href='file/src/beautifiers/coffee-fmt.coffee.html' target='main'>
|
||||
coffee-fmt.coffee
|
||||
|
@ -441,6 +465,14 @@
|
|||
src/languages
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/languages/bash.coffee.html' target='main'>
|
||||
bash.coffee
|
||||
</a>
|
||||
<small class='namespace'>
|
||||
src/languages
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/languages/c-sharp.coffee.html' target='main'>
|
||||
c-sharp.coffee
|
||||
|
@ -457,6 +489,14 @@
|
|||
src/languages
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/languages/clojure.coffee.html' target='main'>
|
||||
clojure.coffee
|
||||
</a>
|
||||
<small class='namespace'>
|
||||
src/languages
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/languages/coffeescript.coffee.html' target='main'>
|
||||
coffeescript.coffee
|
||||
|
@ -857,6 +897,14 @@
|
|||
src/languages
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/languages/ux_markup.coffee.html' target='main'>
|
||||
ux_markup.coffee
|
||||
</a>
|
||||
<small class='namespace'>
|
||||
src/languages
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/languages/vala.coffee.html' target='main'>
|
||||
vala.coffee
|
||||
|
|
|
@ -11589,27 +11589,27 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
|
|||
e.preventDefault();
|
||||
try {
|
||||
parent.frames.list.$('#search input').focus().select();
|
||||
} catch (undefined) {}
|
||||
} catch (error) {}
|
||||
try {
|
||||
return $('#search input').focus().select();
|
||||
} catch (undefined) {}
|
||||
} catch (error) {}
|
||||
});
|
||||
key('esc', function() {
|
||||
try {
|
||||
parent.frames.list.$('#search input').blur();
|
||||
parent.frames.main.$('#help').hide();
|
||||
parent.frames.main.$('#fuzzySearch').hide();
|
||||
} catch (undefined) {}
|
||||
} catch (error) {}
|
||||
try {
|
||||
parent.$("#search .active").click();
|
||||
parent.$('#help').hide();
|
||||
parent.$('#fuzzySearch').hide();
|
||||
} catch (undefined) {}
|
||||
} catch (error) {}
|
||||
try {
|
||||
$('#search input').blur();
|
||||
$('#help').hide();
|
||||
return $('#fuzzySearch').hide();
|
||||
} catch (undefined) {}
|
||||
} catch (error) {}
|
||||
});
|
||||
key('l', function() {
|
||||
var body;
|
||||
|
@ -11638,13 +11638,12 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
|
|||
return loadSearch('extra_list.html', 'extra_list_link');
|
||||
});
|
||||
key('h', function() {
|
||||
var error;
|
||||
try {
|
||||
return parent.frames.main.$('#help').toggle();
|
||||
} catch (error) {
|
||||
try {
|
||||
return $('#help').toggle();
|
||||
} catch (undefined) {}
|
||||
} catch (error) {}
|
||||
}
|
||||
});
|
||||
return key('t', function(e) {
|
||||
|
@ -11652,11 +11651,11 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
|
|||
try {
|
||||
$('#fuzzySearch').toggle();
|
||||
$('#fuzzySearch input').focus().select();
|
||||
} catch (undefined) {}
|
||||
} catch (error) {}
|
||||
try {
|
||||
parent.frames.main.$('#fuzzySearch').show();
|
||||
return parent.frames.main.$('#fuzzySearch input').focus().select();
|
||||
} catch (undefined) {}
|
||||
} catch (error) {}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -38,19 +38,19 @@
|
|||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Gofmt.html#beautify-dynamic' target='main' title='beautify'>
|
||||
<a href='class/Gherkin.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Gofmt)
|
||||
(Gherkin)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/OCPIndent.html#beautify-dynamic' target='main' title='beautify'>
|
||||
<a href='class/PerlTidy.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(OCPIndent)
|
||||
(PerlTidy)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -61,6 +61,14 @@
|
|||
(src/beautify.coffee)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/OCPIndent.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(OCPIndent)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/MarkoBeautifier.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
|
@ -85,14 +93,6 @@
|
|||
(LatexBeautify)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Rustfmt.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Rustfmt)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Autopep8.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
|
@ -102,43 +102,11 @@
|
|||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/JSCSFixer.html#beautify-dynamic' target='main' title='beautify'>
|
||||
<a href='class/Sqlformat.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(JSCSFixer)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/RubyBeautify.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(RubyBeautify)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/JSBeautify.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(JSBeautify)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/PHPCSFixer.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(PHPCSFixer)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Rubocop.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Rubocop)
|
||||
(Sqlformat)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -149,6 +117,30 @@
|
|||
(SassConvert)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/JSCSFixer.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(JSCSFixer)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/JSBeautify.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(JSBeautify)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Rustfmt.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Rustfmt)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/PHPCBF.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
|
@ -157,6 +149,14 @@
|
|||
(PHPCBF)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/StylishHaskell.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(StylishHaskell)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/PrettyDiff.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
|
@ -174,27 +174,35 @@
|
|||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Yapf.html#beautify-dynamic' target='main' title='beautify'>
|
||||
<a href='class/RubyBeautify.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Yapf)
|
||||
(RubyBeautify)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Sqlformat.html#beautify-dynamic' target='main' title='beautify'>
|
||||
<a href='class/TidyMarkdown.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Sqlformat)
|
||||
(TidyMarkdown)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/StylishHaskell.html#beautify-dynamic' target='main' title='beautify'>
|
||||
<a href='class/BashBeautify.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(StylishHaskell)
|
||||
(BashBeautify)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/TypeScriptFormatter.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(TypeScriptFormatter)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -205,6 +213,14 @@
|
|||
(ClangFormat)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Cljfmt.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Cljfmt)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/CoffeeFmt.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
|
@ -277,14 +293,6 @@
|
|||
(FortranBeautifier)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Gherkin.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Gherkin)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Beautifiers.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
|
@ -293,6 +301,14 @@
|
|||
(Beautifiers)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Gofmt.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Gofmt)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/HTMLBeautifier.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
|
@ -301,30 +317,6 @@
|
|||
(HTMLBeautifier)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/TidyMarkdown.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(TidyMarkdown)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/TypeScriptFormatter.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(TypeScriptFormatter)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Remark.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Remark)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Uncrustify.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
|
@ -333,14 +325,6 @@
|
|||
(Uncrustify)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/PuppetFix.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(PuppetFix)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/VueBeautifier.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
|
@ -350,11 +334,43 @@
|
|||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/PerlTidy.html#beautify-dynamic' target='main' title='beautify'>
|
||||
<a href='class/Rubocop.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(PerlTidy)
|
||||
(Rubocop)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Yapf.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Yapf)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Remark.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(Remark)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/PuppetFix.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(PuppetFix)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/PHPCSFixer.html#beautify-dynamic' target='main' title='beautify'>
|
||||
#beautify
|
||||
</a>
|
||||
<small>
|
||||
(PHPCSFixer)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -429,6 +445,22 @@
|
|||
(Beautifier)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Languages.html#constructor-dynamic' target='main' title='constructor'>
|
||||
#constructor
|
||||
</a>
|
||||
<small>
|
||||
(Languages)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Beautifiers.html#constructor-dynamic' target='main' title='constructor'>
|
||||
#constructor
|
||||
</a>
|
||||
<small>
|
||||
(Beautifiers)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/MessageView.html#constructor-dynamic' target='main' title='constructor'>
|
||||
#constructor
|
||||
|
@ -446,11 +478,11 @@
|
|||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Beautifiers.html#constructor-dynamic' target='main' title='constructor'>
|
||||
#constructor
|
||||
<a href='class/LoadingView.html#content-static' target='main' title='content'>
|
||||
.content
|
||||
</a>
|
||||
<small>
|
||||
(Beautifiers)
|
||||
(LoadingView)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -461,14 +493,6 @@
|
|||
(MessageView)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/LoadingView.html#content-static' target='main' title='content'>
|
||||
.content
|
||||
</a>
|
||||
<small>
|
||||
(LoadingView)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='file/src/beautify.coffee.html#debug-' target='main' title='debug'>
|
||||
~debug
|
||||
|
@ -517,14 +541,6 @@
|
|||
(Beautifiers)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Beautifier.html#findFile-dynamic' target='main' title='findFile'>
|
||||
#findFile
|
||||
</a>
|
||||
<small>
|
||||
(Beautifier)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Beautifiers.html#findFile-dynamic' target='main' title='findFile'>
|
||||
#findFile
|
||||
|
@ -533,6 +549,14 @@
|
|||
(Beautifiers)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Beautifier.html#findFile-dynamic' target='main' title='findFile'>
|
||||
#findFile
|
||||
</a>
|
||||
<small>
|
||||
(Beautifier)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Beautifiers.html#getBeautifierForLanguage-dynamic' target='main' title='getBeautifierForLanguage'>
|
||||
#getBeautifierForLanguage
|
||||
|
@ -581,6 +605,14 @@
|
|||
(Beautifiers)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Languages.html#getLanguages-dynamic' target='main' title='getLanguages'>
|
||||
#getLanguages
|
||||
</a>
|
||||
<small>
|
||||
(Languages)
|
||||
</small>
|
||||
</li>
|
||||
<li>
|
||||
<a href='class/Beautifiers.html#getOptions-dynamic' target='main' title='getOptions'>
|
||||
#getOptions
|
||||
|
|
|
@ -319,6 +319,75 @@ Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify)
|
|||
}
|
||||
```
|
||||
|
||||
#### [Bash](#bash)
|
||||
|
||||
**Supported Beautifiers**: [`beautysh`](#beautysh)
|
||||
|
||||
| Option | beautysh |
|
||||
| --- | --- |
|
||||
| `disabled` | :white_check_mark: |
|
||||
| `default_beautifier` | :white_check_mark: |
|
||||
| `beautify_on_save` | :white_check_mark: |
|
||||
|
||||
**Description**:
|
||||
|
||||
Options for language Bash
|
||||
|
||||
##### [Disable Beautifying Language](#disable-beautifying-language)
|
||||
|
||||
**Important**: This option is only configurable from within Atom Beautify's setting panel.
|
||||
|
||||
**Type**: `boolean`
|
||||
|
||||
**Description**:
|
||||
|
||||
Disable Bash Beautification
|
||||
|
||||
**How to Configure**
|
||||
|
||||
1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to
|
||||
*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*.
|
||||
2. Go into *Packages* and search for "*Atom Beautify*" package.
|
||||
3. Find the option "*Disable Beautifying Language*" and change it to your desired configuration.
|
||||
|
||||
##### [Default Beautifier](#default-beautifier)
|
||||
|
||||
**Important**: This option is only configurable from within Atom Beautify's setting panel.
|
||||
|
||||
**Default**: `beautysh`
|
||||
|
||||
**Type**: `string`
|
||||
|
||||
**Enum**: `beautysh`
|
||||
|
||||
**Description**:
|
||||
|
||||
Default Beautifier to be used for Bash
|
||||
|
||||
**How to Configure**
|
||||
|
||||
1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to
|
||||
*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*.
|
||||
2. Go into *Packages* and search for "*Atom Beautify*" package.
|
||||
3. Find the option "*Default Beautifier*" and change it to your desired configuration.
|
||||
|
||||
##### [Beautify On Save](#beautify-on-save)
|
||||
|
||||
**Important**: This option is only configurable from within Atom Beautify's setting panel.
|
||||
|
||||
**Type**: `boolean`
|
||||
|
||||
**Description**:
|
||||
|
||||
Automatically beautify Bash files on save
|
||||
|
||||
**How to Configure**
|
||||
|
||||
1. You can open the [Settings View](https://github.com/atom/settings-view) by navigating to
|
||||
*Edit > Preferences (Linux)*, *Atom > Preferences (OS X)*, or *File > Preferences (Windows)*.
|
||||
2. Go into *Packages* and search for "*Atom Beautify*" package.
|
||||
3. Find the option "*Beautify On Save*" and change it to your desired configuration.
|
||||
|
||||
#### [C](#c)
|
||||
|
||||
**Supported Beautifiers**: [`Uncrustify`](#uncrustify) [`clang-format`](#clang-format)
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# Displays information about the network configuration
|
||||
netinfo() {
|
||||
printf '--------------- Network Information ---------------\n'
|
||||
/sbin/ifconfig | awk /'inet addr/ {print $2}'
|
||||
/sbin/ifconfig | awk /'Bcast/ {print $3}'
|
||||
/sbin/ifconfig | awk /'inet addr/ {print $4}'
|
||||
/sbin/ifconfig | awk /'HWaddr/ {print $4,$5}'
|
||||
myIP =$(wget -qO- http://ipecho.net/plain)
|
||||
printf 'Public: %s\n' "$myIP"
|
||||
printf '---------------------------------------------------'
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
# Displays information about the network configuration
|
||||
netinfo() {
|
||||
printf '--------------- Network Information ---------------\n'
|
||||
/sbin/ifconfig | awk /'inet addr/ {print $2}'
|
||||
/sbin/ifconfig | awk /'Bcast/ {print $3}'
|
||||
/sbin/ifconfig | awk /'inet addr/ {print $4}'
|
||||
/sbin/ifconfig | awk /'HWaddr/ {print $4,$5}'
|
||||
myIP =$(wget -qO- http://ipecho.net/plain)
|
||||
printf 'Public: %s\n' "$myIP"
|
||||
printf '---------------------------------------------------'
|
||||
}
|
|
@ -288,6 +288,8 @@
|
|||
"nunjucks",
|
||||
"ux markup",
|
||||
"cljfmt",
|
||||
"bash",
|
||||
"beautysh",
|
||||
"glsl"
|
||||
],
|
||||
"devDependencies": {
|
||||
|
@ -295,10 +297,11 @@
|
|||
"handlebars": "^4.0.2"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "node script/build-options.js",
|
||||
"build-options": "node script/build-options.js",
|
||||
"postinstall": "npm run build-options",
|
||||
"docs": "npm run build-options && coffee docs/",
|
||||
"prepublish": "npm run docs",
|
||||
"docs": "coffee docs/",
|
||||
"lint": "coffeelint src/ spec/",
|
||||
"code-docs": "codo && open docs/code/index.html"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -11,6 +11,8 @@ _plus = require('underscore-plus');
|
|||
|
||||
require("coffee-script/register");
|
||||
|
||||
logger = require('../src/logger')(__filename)
|
||||
|
||||
Beautifiers = require("../src/beautifiers");
|
||||
|
||||
buildOptionsForBeautifiers = function(beautifiers, allLanguages) {
|
||||
|
@ -380,4 +382,4 @@ fs.writeFile(outputFilename, optionsStr, function(err) {
|
|||
} else {
|
||||
return console.log("Beautifier options successfully saved to " + outputFilename);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
"use strict"
|
||||
Beautifier = require('./beautifier')
|
||||
|
||||
module.exports = class BashBeautify extends Beautifier
|
||||
name: "beautysh"
|
||||
link: "https://github.com/bemeurer/beautysh"
|
||||
options: {
|
||||
Bash:
|
||||
indent_size: true
|
||||
}
|
||||
|
||||
beautify: (text, language, options) ->
|
||||
file = @tempFile("input", text)
|
||||
@run('beautysh', [ '-i', options.indent_size, '-f', file ], help: { link: "https://github.com/bemeurer/beautysh" })
|
||||
.then(=> @readFile file)
|
|
@ -73,6 +73,7 @@ module.exports = class Beautifiers extends EventEmitter
|
|||
'erl_tidy'
|
||||
'marko-beautifier'
|
||||
'formatR'
|
||||
'beautysh'
|
||||
]
|
||||
|
||||
###
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
scope = ['source.sh', 'source.bash']
|
||||
tabLength = atom?.config.get('editor.tabLength', scope: scope) ? 2
|
||||
softTabs = atom?.config.get('editor.softTabs', scope: scope) ? true
|
||||
defaultIndentSize = (if softTabs then tabLength else 1)
|
||||
|
||||
module.exports = {
|
||||
|
||||
name: "Bash"
|
||||
namespace: "bash"
|
||||
|
||||
###
|
||||
Supported Grammars
|
||||
###
|
||||
grammars: [
|
||||
"Shell Script"
|
||||
]
|
||||
|
||||
defaultBeautifier: "beautysh"
|
||||
|
||||
###
|
||||
Supported extensions
|
||||
###
|
||||
extensions: [
|
||||
"bash"
|
||||
"sh"
|
||||
]
|
||||
|
||||
options:
|
||||
indent_size:
|
||||
type: 'integer'
|
||||
default: defaultIndentSize
|
||||
minimum: 0
|
||||
description: "Indentation size/length"
|
||||
|
||||
}
|
|
@ -14,6 +14,7 @@ module.exports = class Languages
|
|||
languageNames: [
|
||||
"apex"
|
||||
"arduino"
|
||||
"bash"
|
||||
"c-sharp"
|
||||
"c"
|
||||
"clojure"
|
||||
|
|
Loading…
Reference in New Issue