From a7b579992306c967acfd702c64f505039e3abb33 Mon Sep 17 00:00:00 2001 From: Jan-Cornelius Molnar Date: Wed, 22 Apr 2015 02:08:08 +0200 Subject: [PATCH 1/8] Added emacs powered fortran beautification. --- lib/langs/emacs/emacs-fortran-beautify.lisp | 46 +++++++++++++++++++++ lib/langs/fortran-beautify.coffee | 37 +++++++++++++++++ lib/language-options.coffee | 16 +++++++ 3 files changed, 99 insertions(+) create mode 100644 lib/langs/emacs/emacs-fortran-beautify.lisp create mode 100644 lib/langs/fortran-beautify.coffee diff --git a/lib/langs/emacs/emacs-fortran-beautify.lisp b/lib/langs/emacs/emacs-fortran-beautify.lisp new file mode 100644 index 0000000..d7b838d --- /dev/null +++ b/lib/langs/emacs/emacs-fortran-beautify.lisp @@ -0,0 +1,46 @@ +(defun f90-batch-indent-region () + "Run `f90-batch-beatify-region' on the specified filename. +Use this from the command line, with `-batch'; +it won't work in an interactive Emacs. +For example, invoke \"emacs -batch -l ~/.emacs-batch-f90-indent -f f90-batch-indent-region file.f\"" + (if (not noninteractive) + (error "`f90-batch-indent-region' is to be used only with -batch")) + (let ((make-backup-files nil) + (version-control nil) + (auto-save-default nil) + (find-file-run-dired nil) + (kept-old-versions 259259) + (kept-new-versions 259259)) + (let ((error 0) + file + (files ())) + (while command-line-args-left + (setq file (expand-file-name (car command-line-args-left))) + (cond ((not (file-exists-p file)) + (message ">> %s does not exist!" file) + (setq error 1 + command-line-args-left (cdr command-line-args-left))) + ((file-directory-p file) + (setq command-line-args-left + (nconc (directory-files file) + (cdr command-line-args-left)))) + (t + (setq files (cons file files) + command-line-args-left (cdr command-line-args-left))))) + (while files + (setq file (car files) + files (cdr files)) + (condition-case err + (progn + (if buffer-file-name (kill-buffer (current-buffer))) + (find-file file) + (buffer-disable-undo (current-buffer)) + (set-buffer-modified-p nil) + (f90-mode) + (message (file-name-nondirectory buffer-file-name)) + ; compute indentation of first + ; line + (f90-indent-subprogram) + (f90-upcase-keywords) + (save-buffer) +)))))) diff --git a/lib/langs/fortran-beautify.coffee b/lib/langs/fortran-beautify.coffee new file mode 100644 index 0000000..233cade --- /dev/null +++ b/lib/langs/fortran-beautify.coffee @@ -0,0 +1,37 @@ +### +// Requires [f90ppr](http://www.ifremer.fr/ditigo/molagnon/fortran90/contenu.html) +### + +"use strict" +fs = require("fs") +temp = require("temp").track() + +getCmd = (inputPath, outputPath, options, cb) -> + if not options.emacs_script_path? + return new Error("'Emacs Script Path' not set!" + + " Please set this in the Atom Beautify package settings.") + + path = options.emacs_path + console.debug "[fortran-beautify] options: " + JSON.stringify(options) + + args = [ + '--batch' + "-l \"#{options.emacs_script_path}\"" + '-f f90-batch-indent-region' + "\"#{inputPath}\"" + ] + + if path + cmd = "python \"#{path}\" " + args.join(' ') + else + cmd = "emacs " + args.join(' ') + + console.debug "[fortran-beautify] cmd: " + cmd + + fs.symlinkSync(inputPath, outputPath) + + return cmd + +cliBeautify = require("./cli-beautify") +isStdout = false +module.exports = cliBeautify(getCmd, isStdout) diff --git a/lib/language-options.coffee b/lib/language-options.coffee index f725834..e6d132c 100644 --- a/lib/language-options.coffee +++ b/lib/language-options.coffee @@ -21,6 +21,7 @@ beautifyHTMLERB = null beautifyMarkdown = null beautifyTypeScript = null beautifyTSS = null +beautifyFortran = null Analytics = null # Misc @@ -64,6 +65,7 @@ module.exports = "pawn" "vala" "typescript" + "fortran" ] # Default options per language @@ -279,6 +281,17 @@ module.exports = default: "" description: "Specify a configuration file which will override the default name of .perltidyrc" + # Fortran + fortran_emacs_path: + type: 'string' + default: "" + description: "Path to the `emacs` executable" + + fortran_emacs_script_path: + type: 'string' + default: "" + description: "Path to the emacs script" + # PHP php_cs_fixer_path: type: 'string' @@ -511,6 +524,9 @@ module.exports = when "TypeScript" beautifyTypeScript ?= require("./langs/typescript-beautify") beautifyTypeScript text, self.getOptions("js", allOptions), beautifyCompleted + when "Fortran - Modern" + beautifyFortran ?= require("./langs/fortran-beautify") + beautifyFortran text, self.getOptions("fortran", allOptions), beautifyCompleted else unsupportedGrammar = true From 8cc84bf5c88bfb4ab537fc3337b4bbd6e560e182 Mon Sep 17 00:00:00 2001 From: Jan-Cornelius Molnar Date: Wed, 22 Apr 2015 02:09:59 +0200 Subject: [PATCH 2/8] corrected reference to gnu emacs --- lib/langs/fortran-beautify.coffee | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/langs/fortran-beautify.coffee b/lib/langs/fortran-beautify.coffee index 233cade..bd9c2ad 100644 --- a/lib/langs/fortran-beautify.coffee +++ b/lib/langs/fortran-beautify.coffee @@ -1,5 +1,5 @@ ### -// Requires [f90ppr](http://www.ifremer.fr/ditigo/molagnon/fortran90/contenu.html) +// Requires [emacs](https://www.gnu.org/software/emacs/) ### "use strict" @@ -12,7 +12,7 @@ getCmd = (inputPath, outputPath, options, cb) -> " Please set this in the Atom Beautify package settings.") path = options.emacs_path - console.debug "[fortran-beautify] options: " + JSON.stringify(options) + #console.debug "[fortran-beautify] options: " + JSON.stringify(options) args = [ '--batch' @@ -26,10 +26,8 @@ getCmd = (inputPath, outputPath, options, cb) -> else cmd = "emacs " + args.join(' ') - console.debug "[fortran-beautify] cmd: " + cmd - + #console.debug "[fortran-beautify] cmd: " + cmd fs.symlinkSync(inputPath, outputPath) - return cmd cliBeautify = require("./cli-beautify") From 6d34a4a1fb1852efd6e24a8ece718dbe333f0957 Mon Sep 17 00:00:00 2001 From: Jan-Cornelius Molnar Date: Thu, 7 May 2015 22:04:44 +0200 Subject: [PATCH 3/8] emacs lisp script is loaded from package if not specified otherwise. --- lib/langs/fortran-beautify.coffee | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/lib/langs/fortran-beautify.coffee b/lib/langs/fortran-beautify.coffee index bd9c2ad..1fbebfa 100644 --- a/lib/langs/fortran-beautify.coffee +++ b/lib/langs/fortran-beautify.coffee @@ -5,24 +5,26 @@ "use strict" fs = require("fs") temp = require("temp").track() +path = require("path") getCmd = (inputPath, outputPath, options, cb) -> - if not options.emacs_script_path? - return new Error("'Emacs Script Path' not set!" + - " Please set this in the Atom Beautify package settings.") - - path = options.emacs_path #console.debug "[fortran-beautify] options: " + JSON.stringify(options) + emacs_path = options.emacs_path + emacs_script_path = options.emacs_script_path + + if not emacs_script_path + emacs_script_path = path.resolve(__dirname, "emacs/emacs-fortran-beautify.lisp") + args = [ '--batch' - "-l \"#{options.emacs_script_path}\"" + "-l \"#{emacs_script_path}\"" '-f f90-batch-indent-region' "\"#{inputPath}\"" ] - if path - cmd = "python \"#{path}\" " + args.join(' ') + if emacs_path + cmd = "python \"#{emacs_path}\" " + args.join(' ') else cmd = "emacs " + args.join(' ') From 12ba8bc83461ecf67fc531e622f1b8cafee7a053 Mon Sep 17 00:00:00 2001 From: Jan-Cornelius Molnar Date: Thu, 7 May 2015 22:12:38 +0200 Subject: [PATCH 4/8] Update README.md Added Fortran to Readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c70b718..c93b7ae 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,8 @@ Thank you. [Glavin Wiechert](https://github.com/Glavin001) - Requires [Uncrustify](http://sourceforge.net/projects/uncrustify/) - [x] [D](https://github.com/Glavin001/atom-beautify/issues/57) - Requires [Uncrustify](http://sourceforge.net/projects/uncrustify/) +- [x] [Fortran](https://github.com/Glavin001/atom-beautify/issues/300) + - Requires [GNU Emacs](http://www.gnu.org/software/emacs/) - [x] [Pawn](https://github.com/Glavin001/atom-beautify/issues/57) - Requires [Uncrustify](http://sourceforge.net/projects/uncrustify/) - [x] [Vala](https://github.com/Glavin001/atom-beautify/issues/57) From c75ad317784f459a78548aff71d305666e8fcd9e Mon Sep 17 00:00:00 2001 From: Jan-Cornelius Molnar Date: Mon, 1 Jun 2015 19:48:37 +0200 Subject: [PATCH 5/8] Migrated Fortran support to new layout. --- .../emacs/emacs-fortran-beautify.lisp | 46 +++++++++++++++++ src/beautifiers/fortran-emacs-beautify.coffee | 51 +++++++++++++++++++ src/beautifiers/index.coffee | 1 + src/languages/fortran.coffee | 34 +++++++++++++ src/languages/index.coffee | 3 +- 5 files changed, 134 insertions(+), 1 deletion(-) create mode 100644 src/beautifiers/emacs/emacs-fortran-beautify.lisp create mode 100644 src/beautifiers/fortran-emacs-beautify.coffee create mode 100644 src/languages/fortran.coffee diff --git a/src/beautifiers/emacs/emacs-fortran-beautify.lisp b/src/beautifiers/emacs/emacs-fortran-beautify.lisp new file mode 100644 index 0000000..d7b838d --- /dev/null +++ b/src/beautifiers/emacs/emacs-fortran-beautify.lisp @@ -0,0 +1,46 @@ +(defun f90-batch-indent-region () + "Run `f90-batch-beatify-region' on the specified filename. +Use this from the command line, with `-batch'; +it won't work in an interactive Emacs. +For example, invoke \"emacs -batch -l ~/.emacs-batch-f90-indent -f f90-batch-indent-region file.f\"" + (if (not noninteractive) + (error "`f90-batch-indent-region' is to be used only with -batch")) + (let ((make-backup-files nil) + (version-control nil) + (auto-save-default nil) + (find-file-run-dired nil) + (kept-old-versions 259259) + (kept-new-versions 259259)) + (let ((error 0) + file + (files ())) + (while command-line-args-left + (setq file (expand-file-name (car command-line-args-left))) + (cond ((not (file-exists-p file)) + (message ">> %s does not exist!" file) + (setq error 1 + command-line-args-left (cdr command-line-args-left))) + ((file-directory-p file) + (setq command-line-args-left + (nconc (directory-files file) + (cdr command-line-args-left)))) + (t + (setq files (cons file files) + command-line-args-left (cdr command-line-args-left))))) + (while files + (setq file (car files) + files (cdr files)) + (condition-case err + (progn + (if buffer-file-name (kill-buffer (current-buffer))) + (find-file file) + (buffer-disable-undo (current-buffer)) + (set-buffer-modified-p nil) + (f90-mode) + (message (file-name-nondirectory buffer-file-name)) + ; compute indentation of first + ; line + (f90-indent-subprogram) + (f90-upcase-keywords) + (save-buffer) +)))))) diff --git a/src/beautifiers/fortran-emacs-beautify.coffee b/src/beautifiers/fortran-emacs-beautify.coffee new file mode 100644 index 0000000..44f7403 --- /dev/null +++ b/src/beautifiers/fortran-emacs-beautify.coffee @@ -0,0 +1,51 @@ +### +Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer +### + +"use strict" +Beautifier = require('./beautifier') +path = require("path") + +module.exports = class FortranBeautifier extends Beautifier + name: "Fortran Beautifier" + + options: { + Fortran: true + } + + beautify: (text, language, options) -> + @debug('fortran-beautifier', options) + + console.debug 'fortran-beautifier' + options + + emacs_path = options.emacs_path + emacs_script_path = options.emacs_script_path + + if not emacs_script_path + emacs_script_path = path.resolve(__dirname, "emacs/emacs-fortran-beautify.lisp") + + @debug('fortran-beautifier', 'emacs script path: ' + emacs_script_path) + + args = [ + '--batch' + '-l' + emacs_script_path + '-f' + 'f90-batch-indent-region' + tempFile = @tempFile("temp", text) + ] + + if emacs_path + args.unshift("#{emacs_path}") + + @run("python", args, {ignoreReturnCode: true}) + .then(=> + @readFile(tempFile) + ) + else + @debug('fortran-beautifier', "running emacs with args " + args) + + @run("emacs", args, {ignoreReturnCode: true}) + .then(=> + @readFile(tempFile) + ) diff --git a/src/beautifiers/index.coffee b/src/beautifiers/index.coffee index 1a89980..5e5832a 100644 --- a/src/beautifiers/index.coffee +++ b/src/beautifiers/index.coffee @@ -39,6 +39,7 @@ module.exports = class Beautifiers 'htmlbeautifier' 'csscomb' 'gofmt' + 'fortran-emacs-beautify' 'js-beautify' 'perltidy' 'php-cs-fixer' diff --git a/src/languages/fortran.coffee b/src/languages/fortran.coffee new file mode 100644 index 0000000..16162a6 --- /dev/null +++ b/src/languages/fortran.coffee @@ -0,0 +1,34 @@ +module.exports = { + + name: "Fortran" + namespace: "fortran" + + ### + Supported Grammars + ### + grammars: [ + "Fortran - Modern" + ] + + ### + Supported extensions + ### + extensions: [ + "f90" + ] + + ### + + ### + options: + # JavaScript + emacs_path: + type: 'string' + default: "" + description: "Path to the `emacs` executable" + emacs_script_path: + type: 'string' + default: "" + description: "Path to the emacs script" + +} diff --git a/src/languages/index.coffee b/src/languages/index.coffee index 76077eb..e59c787 100644 --- a/src/languages/index.coffee +++ b/src/languages/index.coffee @@ -29,6 +29,7 @@ module.exports = class Languages "ejs" "erb" "go" + "fortran" "handlebars" "html" "java" @@ -86,4 +87,4 @@ module.exports = class Languages _.filter(@languages, (language) -> _.isEqual(language.namespace, namespace)) _.filter(@languages, (language) -> _.contains(language.grammars, grammar)) _.filter(@languages, (language) -> _.contains(language.extensions, extension)) - ) \ No newline at end of file + ) From 1d88194bce2103b0942d72e71906a60818c79a79 Mon Sep 17 00:00:00 2001 From: Jan-Cornelius Molnar Date: Mon, 1 Jun 2015 20:01:34 +0200 Subject: [PATCH 6/8] Fixed reference to gnu. Added small test for fortran. --- examples/nested-jsbeautifyrc/fortran/expected/test.f90 | 3 +++ examples/nested-jsbeautifyrc/fortran/original/test.f90 | 3 +++ src/beautifiers/fortran-emacs-beautify.coffee | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 examples/nested-jsbeautifyrc/fortran/expected/test.f90 create mode 100644 examples/nested-jsbeautifyrc/fortran/original/test.f90 diff --git a/examples/nested-jsbeautifyrc/fortran/expected/test.f90 b/examples/nested-jsbeautifyrc/fortran/expected/test.f90 new file mode 100644 index 0000000..5471c49 --- /dev/null +++ b/examples/nested-jsbeautifyrc/fortran/expected/test.f90 @@ -0,0 +1,3 @@ +PROGRAM hello + PRINT *, "Hello World!" +END PROGRAM hello diff --git a/examples/nested-jsbeautifyrc/fortran/original/test.f90 b/examples/nested-jsbeautifyrc/fortran/original/test.f90 new file mode 100644 index 0000000..d36c708 --- /dev/null +++ b/examples/nested-jsbeautifyrc/fortran/original/test.f90 @@ -0,0 +1,3 @@ +program hello + print *, "Hello World!" + end program hello diff --git a/src/beautifiers/fortran-emacs-beautify.coffee b/src/beautifiers/fortran-emacs-beautify.coffee index 44f7403..aaf0821 100644 --- a/src/beautifiers/fortran-emacs-beautify.coffee +++ b/src/beautifiers/fortran-emacs-beautify.coffee @@ -1,5 +1,5 @@ ### -Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer +Requires https://www.gnu.org/software/emacs/ ### "use strict" From b45e9d2078330eac93d56ae978de97e67124f41a Mon Sep 17 00:00:00 2001 From: Jan-Cornelius Molnar Date: Mon, 1 Jun 2015 23:17:49 +0200 Subject: [PATCH 7/8] moved all fortran beautifier files into common directory. --- .../emacs-fortran-formating-script.lisp} | 0 .../index.coffee} | 8 ++------ src/beautifiers/index.coffee | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) rename src/beautifiers/{emacs/emacs-fortran-beautify.lisp => fortran-beautifier/emacs-fortran-formating-script.lisp} (100%) rename src/beautifiers/{fortran-emacs-beautify.coffee => fortran-beautifier/index.coffee} (80%) diff --git a/src/beautifiers/emacs/emacs-fortran-beautify.lisp b/src/beautifiers/fortran-beautifier/emacs-fortran-formating-script.lisp similarity index 100% rename from src/beautifiers/emacs/emacs-fortran-beautify.lisp rename to src/beautifiers/fortran-beautifier/emacs-fortran-formating-script.lisp diff --git a/src/beautifiers/fortran-emacs-beautify.coffee b/src/beautifiers/fortran-beautifier/index.coffee similarity index 80% rename from src/beautifiers/fortran-emacs-beautify.coffee rename to src/beautifiers/fortran-beautifier/index.coffee index aaf0821..fcada97 100644 --- a/src/beautifiers/fortran-emacs-beautify.coffee +++ b/src/beautifiers/fortran-beautifier/index.coffee @@ -3,7 +3,7 @@ Requires https://www.gnu.org/software/emacs/ ### "use strict" -Beautifier = require('./beautifier') +Beautifier = require('../beautifier') path = require("path") module.exports = class FortranBeautifier extends Beautifier @@ -16,13 +16,11 @@ module.exports = class FortranBeautifier extends Beautifier beautify: (text, language, options) -> @debug('fortran-beautifier', options) - console.debug 'fortran-beautifier' + options - emacs_path = options.emacs_path emacs_script_path = options.emacs_script_path if not emacs_script_path - emacs_script_path = path.resolve(__dirname, "emacs/emacs-fortran-beautify.lisp") + emacs_script_path = path.resolve(__dirname, "emacs-fortran-formating-script.lisp") @debug('fortran-beautifier', 'emacs script path: ' + emacs_script_path) @@ -43,8 +41,6 @@ module.exports = class FortranBeautifier extends Beautifier @readFile(tempFile) ) else - @debug('fortran-beautifier', "running emacs with args " + args) - @run("emacs", args, {ignoreReturnCode: true}) .then(=> @readFile(tempFile) diff --git a/src/beautifiers/index.coffee b/src/beautifiers/index.coffee index 5e5832a..32acbfc 100644 --- a/src/beautifiers/index.coffee +++ b/src/beautifiers/index.coffee @@ -39,7 +39,7 @@ module.exports = class Beautifiers 'htmlbeautifier' 'csscomb' 'gofmt' - 'fortran-emacs-beautify' + 'fortran-beautifier' 'js-beautify' 'perltidy' 'php-cs-fixer' From 4fc7c724a54a90dbbc800edabfdb1f2e610d4a0f Mon Sep 17 00:00:00 2001 From: Jan-Cornelius Molnar Date: Mon, 1 Jun 2015 23:29:06 +0200 Subject: [PATCH 8/8] updated docs. --- docs/options.md | 49 ++++++++ package.json | 309 ++++++++++++++++++++++-------------------------- 2 files changed, 193 insertions(+), 165 deletions(-) diff --git a/docs/options.md b/docs/options.md index da25b2d..e109d97 100644 --- a/docs/options.md +++ b/docs/options.md @@ -162,6 +162,24 @@ Retain empty lines. Consecutive empty lines will be converted to a single empty **Description**: Path to uncrustify config file. i.e. uncrustify.cfg (Supported by Uncrustify) +### Fortran - Emacs path + +**Key**: `fortran_emacs_path` + +**Type**: `string` + +**Description**: + +Path to the `emacs` executable (Supported by Fortran Beautifier) +### Fortran - Emacs script path + +**Key**: `fortran_emacs_script_path` + +**Type**: `string` + +**Description**: + +Path to the emacs script (Supported by Fortran Beautifier) ### HTML - Indent inner html **Key**: `html_indent_inner_html` @@ -924,6 +942,37 @@ Default Beautifier to be used for Go **Description**: Automatically beautify Go files on save +### Language Config - Fortran - Disable Beautifying Language + +**Key**: `language_fortran_disabled` + +**Type**: `boolean` + +**Description**: + +Disable Fortran Beautification +### Language Config - Fortran - Default Beautifier + +**Key**: `language_fortran_default_beautifier` + +**Default**: `Fortran Beautifier` + +**Type**: `string` + +**Enum**: `Fortran Beautifier` + +**Description**: + +Default Beautifier to be used for Fortran +### Language Config - Fortran - Beautify On Save + +**Key**: `language_fortran_beautify_on_save` + +**Type**: `boolean` + +**Description**: + +Automatically beautify Fortran files on save ### Language Config - Handlebars - Disable Beautifying Language **Key**: `language_handlebars_disabled` diff --git a/package.json b/package.json index eb9f415..9a93454 100644 --- a/package.json +++ b/package.json @@ -1,173 +1,152 @@ { - "name": "atom-beautify", - "main": "./src/beautify", - "version": "0.27.9", - "private": true, - "description": "Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, and SQL in Atom", - "repository": { - "type": "git", - "url": "https://github.com/Glavin001/atom-beautify" + "name": "atom-beautify", + "main": "./src/beautify", + "version": "0.27.9", + "private": true, + "description": "Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, and SQL in Atom", + "repository": { + "type": "git", + "url": "https://github.com/Glavin001/atom-beautify" + }, + "bugs": { + "url": "https://github.com/Glavin001/atom-beautify/issues" + }, + "license": "MIT", + "author": { + "name": "Glavin Wiechert", + "email": "glavin.wiechert@gmail.com", + "url": "https://github.com/Glavin001" + }, + "contributors": [ + { + "name": "Donald Pipowitch", + "email": "pipo@senaeh.de", + "url": "https://github.com/donaldpipowitch" }, - "bugs": { - "url": "https://github.com/Glavin001/atom-beautify/issues" + { + "name": "László Károlyi", + "url": "https://github.com/karolyi" }, - "license": "MIT", - "author": { - "name": "Glavin Wiechert", - "email": "glavin.wiechert@gmail.com", - "url": "https://github.com/Glavin001" + { + "name": "Marco Tanzi", + "url": "https://github.com/mtanzi" }, - "contributors": [{ - "name": "Donald Pipowitch", - "email": "pipo@senaeh.de", - "url": "https://github.com/donaldpipowitch" - }, { - "name": "László Károlyi", - "url": "https://github.com/karolyi" - }, { - "name": "Marco Tanzi", - "url": "https://github.com/mtanzi" - }, { - "name": "gvn lazar suntop", - "url": "https://github.com/gvn" - }, { - "name": "Vadim K.", - "url": "https://github.com/vadirn" - }, { - "name": "Filipe Silva", - "url": "https://github.com/filipesilva" - }, { - "name": "Ramón Cahenzli", - "url": "https://github.com/psy-q" - }], - "engines": { - "atom": ">=0.174.0 <2.0.0" + { + "name": "gvn lazar suntop", + "url": "https://github.com/gvn" }, - "dependencies": { - "analytics-node": "^1.2.2", - "async": "^1.0.0", - "atom-message-panel": "^1.2.4", - "atom-space-pen-views": "^2.0.5", - "bluebird": "^2.9.26", - "coffee-fmt": "0.10.2", - "coffee-formatter": "^0.1.2", - "csscomb": "^3.1.5", - "diff": "^1.4.0", - "editorconfig": "^0.12.2", - "emissary": "^1.3.3", - "event-kit": "^1.2.0", - "expand-home-dir": "0.0.2", - "extend": "^2.0.1", - "js-beautify": "^1.5.6", - "lodash": "3.9.3", - "loophole": "^1.0.0", - "node-dir": "^0.1.8", - "node-uuid": "^1.4.3", - "prettydiff": "^1.11.21", - "space-pen": "^5.1.1", - "strip-json-comments": "^1.0.2", - "temp": "^0.8.1", - "tidy-markdown": "^0.3.2", - "typescript-formatter": "~0.3.2", - "underscore-plus": "^1.6.6", - "winston": "^1.0.0", - "yaml-front-matter": "^3.2.3" + { + "name": "Vadim K.", + "url": "https://github.com/vadirn" }, - "activationCommands": { - "atom-workspace": [ - "atom-beautify:help-debug-editor", - "atom-beautify:beautify-editor", - "core:save", - "core:save-as" - ], - ".tree-view .file .name": [ - "atom-beautify:beautify-file" - ], - ".tree-view .directory .name": [ - "atom-beautify:beautify-directory" - ] + { + "name": "Filipe Silva", + "url": "https://github.com/filipesilva" }, - "keywords": [ - "atom", - "beautify", - "beautifier", - "js-beautify", - "format", - "pretty", - "html", - "handlebars", - "mustache", - "xml", - "css", - "javascript", - "json", - "css", - "sass", - "scss", - "less", - "sql", - "markdown", - "php", - "python", - "ruby", - "coffeescript", - "typescript", - "c", - "c++", - "cpp", - "objective-c", - "c-sharp", - "c#", - "uncrustify", - "java", - "pawn", - "vala", - "d", - "erb", - "editorconfig", - "yaml", - "front matter", - "jekyll", - "marko", - "go", - "golang" - ], - "dependencies": { - "analytics-node": "^1.2.2", - "async": "^1.0.0", - "atom-message-panel": "^1.2.4", - "atom-space-pen-views": "^2.0.5", - "bluebird": "^2.9.26", - "coffee-fmt": "0.10.2", - "coffee-formatter": "^0.1.2", - "csscomb": "^3.1.5", - "diff": "^1.4.0", - "editorconfig": "^0.12.2", - "emissary": "^1.3.3", - "event-kit": "^1.2.0", - "expand-home-dir": "0.0.2", - "extend": "^2.0.1", - "js-beautify": "^1.5.6", - "lodash": "3.9.3", - "loophole": "^1.0.0", - "node-dir": "^0.1.8", - "node-uuid": "^1.4.3", - "prettydiff": "^1.11.21", - "space-pen": "^5.1.1", - "strip-json-comments": "^1.0.2", - "temp": "^0.8.1", - "tidy-markdown": "^0.3.2", - "typescript-formatter": "~0.3.2", - "underscore-plus": "^1.6.6", - "winston": "^1.0.0", - "yaml-front-matter": "^3.2.3" - }, - "devDependencies": { - "coffee-script": "^1.9.3", - "handlebars": "^3.0.3" - }, - "scripts": { - "prepublish": "npm run docs", - "docs": "coffee docs/" + { + "name": "Ramón Cahenzli", + "url": "https://github.com/psy-q" } -} \ No newline at end of file + ], + "engines": { + "atom": ">=0.174.0 <2.0.0" + }, + "dependencies": { + "analytics-node": "^1.2.2", + "async": "^1.1.0", + "atom-message-panel": "^1.2.4", + "atom-space-pen-views": "^2.0.5", + "bluebird": "^2.9.26", + "coffee-fmt": "0.10.2", + "coffee-formatter": "^0.1.2", + "csscomb": "^3.1.5", + "diff": "^1.4.0", + "editorconfig": "^0.12.2", + "emissary": "^1.3.3", + "event-kit": "^1.2.0", + "expand-home-dir": "0.0.2", + "extend": "^2.0.1", + "handlebars": "^3.0.3", + "js-beautify": "^1.5.6", + "lodash": "3.9.3", + "loophole": "^1.0.0", + "node-dir": "^0.1.8", + "node-uuid": "^1.4.3", + "prettydiff": "^1.11.21", + "space-pen": "^5.1.1", + "strip-json-comments": "^1.0.2", + "temp": "^0.8.1", + "tidy-markdown": "^0.3.2", + "typescript-formatter": "~0.3.2", + "underscore-plus": "^1.6.6", + "winston": "^1.0.0", + "yaml-front-matter": "^3.2.3" + }, + "activationCommands": { + "atom-workspace": [ + "atom-beautify:help-debug-editor", + "atom-beautify:beautify-editor", + "core:save", + "core:save-as" + ], + ".tree-view .file .name": [ + "atom-beautify:beautify-file" + ], + ".tree-view .directory .name": [ + "atom-beautify:beautify-directory" + ] + }, + "keywords": [ + "atom", + "beautify", + "beautifier", + "js-beautify", + "format", + "pretty", + "html", + "handlebars", + "mustache", + "xml", + "css", + "javascript", + "json", + "css", + "sass", + "scss", + "less", + "sql", + "markdown", + "php", + "python", + "ruby", + "coffeescript", + "typescript", + "c", + "c++", + "cpp", + "objective-c", + "c-sharp", + "c#", + "uncrustify", + "java", + "pawn", + "vala", + "d", + "erb", + "editorconfig", + "yaml", + "front matter", + "jekyll", + "marko", + "go", + "golang" + ], + "devDependencies": { + "coffee-script": "^1.9.3", + "handlebars": "^3.0.3" + }, + "scripts": { + "prepublish": "npm run docs", + "docs": "coffee docs/" + } +}