Commit Graph

594 Commits

Author SHA1 Message Date
Glavin Wiechert dc1b66d1b9 Fixes #1030. Add support for alpha versions of autopep8
See https://github.com/Glavin001/atom-beautify/issues/1030#issuecomment-309371093
2017-06-20 00:40:36 -03:00
Glavin Wiechert 6db34cd9d8 Fixes #1725. Fix version parsing of PHP executable
See https://github.com/Glavin001/atom-beautify/issues/1725#issuecomment-309379935
2017-06-20 00:26:02 -03:00
Glavin Wiechert 3411fad895 Fixes #1730. Correctly parse PHPCBF version and improve handling of Executable 2017-06-20 00:10:34 -03:00
tanyadegurechaff d2eaba720d Add goimports beautifier for Go language 2017-06-20 01:27:36 +00:00
Glavin Wiechert e1d9da1df5 See #1708. Re-generate documentation for Fortran file extension changes 2017-06-19 22:20:49 -03:00
Glavin Wiechert 8b5363f7bf Fixes #1725. Improve PHP-CS-Fixer support with handling script path
Detect if the executable path is either .phar (PHP) or not and
run the executable PHP-CS-Fixer differently considering.
2017-06-19 02:36:42 -03:00
Glavin Wiechert b83fdd5fe6 Fix #1030. Autopep8 Executable did not handle older and newer versions
Older Autopep8 printed version to stderr, newer version to stdout.

See https://github.com/Glavin001/atom-beautify/issues/1030#issuecomment-309318598
2017-06-18 23:54:39 -03:00
Glavin Wiechert c360b256bd Merge branch 'master' into master 2017-06-17 23:28:15 -03:00
Glavin Wiechert 908b53cba8 Merge pull request #1707 from Glavin001/feature/executables
Close #1687. Add Executables with Docker support
2017-06-17 16:06:01 -03:00
Glavin Wiechert 6aee12ba80 See #1687. Add Docker executable support for Sass-convert beautifier 2017-06-16 20:54:29 -03:00
Glavin Wiechert cdccc2f36b See #1687. Add Docker volume support for all paths in Exectuable run arguments 2017-06-16 20:33:37 -03:00
Glavin Wiechert 40f1fe3c8d Fixes #1361. Add file extension to temporary files for Uncrustify beautifier 2017-06-16 20:33:19 -03:00
Glavin Wiechert 7899be966b Fix bug causing Executable to use Docker first, instead of builtin command 2017-06-16 01:22:59 -03:00
Glavin Wiechert 0b2b06a928 Improve error handling of beautify and testing 2017-06-16 01:22:19 -03:00
Glavin Wiechert 5378b0bb97 Update docs 2017-06-16 00:12:18 -03:00
Glavin Wiechert 59a7820723 Fix formatR, do not pipe stdout to file, unnecessarily 2017-06-12 00:26:14 -03:00
Glavin Wiechert 13601a38b3 Attempt to fix rscript for Linux 2017-06-11 22:22:56 -03:00
Glavin Wiechert 200f53ea38 Show verbose logs when testing 2017-06-11 15:37:22 -03:00
Glavin Wiechert 4203fb72da See #1687. Add docker images to supported executables 2017-06-11 15:22:35 -03:00
Edwin Khoo a4c978fbe3 Regenerate docs 2017-06-05 11:38:52 -04:00
Edwin Khoo 340076fa61 Fix typo in description for Python 2017-06-05 11:37:00 -04:00
hyst329 9a6f10d2ba Added Fortran 2003/2008 extension support 2017-06-05 10:54:59 +03:00
Edwin Khoo 5bd9d693d3 Regenerate docs 2017-06-05 01:04:15 -04:00
Glavin Wiechert beed2e37db Merge branch 'master' of github.com:Glavin001/atom-beautify into feature/executables 2017-06-05 01:51:36 -03:00
Glavin Wiechert baca098a91 Close #1687. Add Docker support to Executables.
Setup elm-format, php-cs-fixer, phpcbf, uncrustify with Docker.
2017-06-05 01:49:00 -03:00
Edwin Khoo 663583b569 Fix typos in language files 2017-06-05 00:42:33 -04:00
Edwin Khoo 5df107ed37 Fix typos 2017-06-04 20:00:25 -04:00
Glavin Wiechert 26bbef04a6 Fix elm-format tests, support older version format 2017-06-04 17:09:05 -03:00
Glavin Wiechert 788cc724dd Change log levels of some log statements 2017-06-04 16:04:06 -03:00
Glavin Wiechert dc5f4a20dc Switch elm-format to using Executables 2017-06-04 02:43:02 -03:00
Glavin Wiechert f945c38338 Add support for Whalebrew installed executables
Whalebrew mounts a Docker volume to the host's current working directory (cwd)
therefore the cwd needs to be the temp directory and all file paths which
are to be beautified need to be given to Whalebrew as relative to cwd.
Often this means the temporary directory is simply removed from the prefix
of the file paths, and the cwd = the temporary directory.
See https://github.com/bfirsh/whalebrew#how-it-works for details.
2017-06-04 00:53:20 -03:00
Glavin Wiechert 3e78dc8701 Switch Dfmt beautifier to using Executables 2017-06-02 18:22:32 -03:00
Glavin Wiechert 349edae0fd Switch Crystal beautifier to using Executables 2017-06-02 18:12:09 -03:00
Glavin Wiechert 738847c156 Switch clang-format to using Executables, update docs 2017-06-02 17:48:52 -03:00
Glavin Wiechert 02d4c8f404 Switch beautysh to using Executables 2017-06-02 17:33:18 -03:00
Glavin Wiechert d99b43cb16 Fix Uncrustify's Executable version parser, newer Uncrustify is different format 2017-06-02 17:31:36 -03:00
Glavin Wiechert a9553fd51e Switch autopep8 to using Executables 2017-06-01 04:29:51 -03:00
Glavin Wiechert ddea1a6bb4 Improve generated documentation for Executables 2017-06-01 03:15:56 -03:00
Glavin Wiechert 9144df29a1 Switch Uncrustify to using Exectuables 2017-06-01 02:59:55 -03:00
Glavin Wiechert cefa7afa6b See #1569. Change Lua beautifier to be preinstalled 2017-06-01 02:54:09 -03:00
Glavin Wiechert bee7b2573a Switch Fortran beautifier (using Emacs) to using Executables, other minor improvements 2017-06-01 02:47:39 -03:00
Glavin Wiechert 5648aa34a1 Remove homepage nad installation link from Executables required properties 2017-06-01 02:31:18 -03:00
Glavin Wiechert 01df888aae Switch formatR to using Executables 2017-06-01 02:30:56 -03:00
Glavin Wiechert dca093cd41 Add config support for Executables 2017-06-01 02:26:12 -03:00
Glavin Wiechert f05056b940 Fix executables not parsing version with default config 2017-06-01 01:21:01 -03:00
Jason Scragz 8b8595ee9c apply #1649 fix to other platforms besides win
fixes #1684
fixes #1487
2017-05-29 16:16:37 -07:00
Glavin Wiechert fcc32d3fab Generate config options (i.e. path) for Beautifier's Executables 2017-05-29 01:34:12 -03:00
Glavin Wiechert bc21afd424 Add Executable class to abstract CLI beautifiers 2017-05-28 18:21:10 -03:00
Steve Whittaker ec27053a29 Add `.rb` to the temp files passed to rubocop
Fixes #1652 and #1653. Rubocop is excluding files passed to it even if they are passed as command line parameters.
2017-05-28 09:15:40 -05:00
Glavin Wiechert 800066963c Merge pull request #1625 from hxsf/master
Fixed #1613 and #1588. Add EOL, scientific notiation, and adjust whitespace support
2017-05-28 04:42:40 -03:00
hxsf ce287977c8 remove do not change whitespace 2017-05-28 15:07:51 +08:00
Glavin Wiechert d9b97b3d88 Merge branch 'add-config-to-xml' of https://github.com/EliJDonahue/atom-beautify into EliJDonahue-add-config-to-xml 2017-05-28 02:28:35 -03:00
Glavin Wiechert c8a8f7b3cb Fix #116. Switch from setText to setTextViaDiff, preserve folds 2017-05-28 02:11:31 -03:00
Glavin Wiechert 015d78304d See #1603. Update docs 2017-05-28 01:22:22 -03:00
Glavin Wiechert 184af0079a Merge pull request #1603 from StoicPerlman/master
Add more perl filetypes
2017-05-28 01:03:17 -03:00
Glavin Wiechert 531f120137 Merge pull request #1617 from papatience/extensions
Add more LaTeX extensions
2017-05-28 00:42:32 -03:00
Glavin Wiechert 8ead568182 Merge pull request #1631 from edjubuh/patch-1
Don't specify file extension when requiring modules
2017-05-28 00:24:03 -03:00
Glavin Wiechert b0b193d710 Merge pull request #1661 from sbine/master
Improve PHP-CS-Fixer config file support
2017-05-28 00:21:28 -03:00
Glavin Wiechert 4a84c404be Merge pull request #1683 from scragz/master
Fix #1682. Removed --no-patch flag from phpcbf beautifier version 3
2017-05-28 00:15:03 -03:00
Jason Scragz e9a7835172 Fix #1682. Removed --no-patch flag from phpcbf beautifier version 3 on other platforms 2017-05-26 22:21:19 -07:00
Sara Bine c4bb1ee4ee Improve PHP-CS-Fixer config file support
Add a PHP-CS-Fixer setting to specify a custom config file. If no
setting is provided, check first the working directory then the project
root for `.php_cs` and `.php_cs.dist`.
Update the example link to PHP-CS-Fixer source to accommodate the new
code.
Fix capitalization in the "Allow risky rules" description.
2017-05-12 20:27:55 -06:00
Tony Brix 5662db5f6c add .php extension to temp files 2017-05-08 11:02:47 -05:00
Jeff Schwab 35b1c74fe3 Set default padding to 0, not null
This fixes https://github.com/Glavin001/atom-beautify/issues/1647 .
2017-05-06 19:35:20 -04:00
Glavin Wiechert 84ad7780a4 Update docs 2017-05-06 17:27:28 -03:00
Elliot Berman c8755850d9 Merge branch 'master' into patch-1 2017-05-06 16:15:02 -04:00
Glavin Wiechert f5702434b5 Merge pull request #1645 from UziTech/fix-php
Add PHPCBF Version setting
2017-05-06 16:38:40 -03:00
Glavin Wiechert 5d2e707434 Merge pull request #1644 from UziTech/patch-1
fix `undefined` when options has no description
2017-05-06 16:37:12 -03:00
Glavin Wiechert 346bf3c1af Close #27. Add commands for beautifying with specific language 2017-05-06 16:32:58 -03:00
Tony Brix 9ea17f755a npm run docs 2017-05-06 13:38:52 -05:00
Tony Brix add8333192 npm run docs 2017-05-06 13:28:00 -05:00
Tony Brix ce73ce2208 set PEAR as default standard 2017-05-06 13:27:42 -05:00
Tony Brix 04e3a826be npm run docs 2017-05-05 14:24:17 -05:00
Tony Brix fc10c7ee93 fix PHP settings 2017-05-05 14:15:27 -05:00
Tony Brix a344acd48f Add PHPCBF Version setting 2017-05-05 14:14:31 -05:00
Elliot Berman 5de45a4a6b Don't specify filetype when requiring 2017-04-26 22:39:37 -04:00
hxsf c53b92e3fb gen docs and options 2017-04-25 14:40:27 +08:00
hxsf 1e7b5cbe9f add eol support 2017-04-25 14:34:59 +08:00
hxsf 893e116fc4 fix bug #1588 2017-04-25 14:23:03 +08:00
Paul A. Patience 73134c73b0 Add more LaTeX extensions 2017-04-21 13:49:31 -04:00
Jonid Bendo 449d95b2ad added v2-clarification in desc 2017-04-21 16:44:53 +02:00
Jonid Bendo 267082dc33 autogenerated files 2017-04-21 16:07:32 +02:00
Jonid Bendo 6f2354d375 added option to language 2017-04-21 15:29:44 +02:00
Jonid Bendo 907ca37a49 added option
added option for risky rules
2017-04-20 17:45:53 +02:00
Jonid Bendo b57e5acba3 Update php-cs-fixer.coffee 2017-04-20 17:42:55 +02:00
Jonid Bendo 93ac2a03ee added allow-risky 2017-04-20 17:35:38 +02:00
Glavin Wiechert 69731d1ead Show Nginx Beautify as preinstalled in docs
See https://github.com/Glavin001/atom-beautify/pull/1494#issuecomment-295617352
2017-04-20 10:17:38 -03:00
Glavin Wiechert 652c0ceb1a See #1607. Add support for PHP-CS-Fixer 1, along with version 2. 2017-04-20 02:55:48 -03:00
Glavin Wiechert 45a93451b6 Closes #1179. Replace atom-beautify.general.analytics option with configuration option 2017-04-20 02:46:07 -03:00
Glavin Wiechert dda4672f93 Fix linting error 2017-04-19 22:35:50 -03:00
Sam Kleiner 48275e04d5 Add more perl filetypes 2017-04-17 13:34:42 -04:00
Glavin Wiechert 46a438d09e Fixes #1601 and #1598. Remove src/options.json from gitignore 2017-04-15 22:00:49 -03:00
Glavin Wiechert 48bd5584da See #312. Add align-yaml as YAML beautifier 2017-04-15 21:03:25 -03:00
Glavin Wiechert 36f09d0719 See #894. Set default tabLength to 4 and softTabs to true 2017-04-15 19:48:49 -03:00
Glavin Wiechert dfacbf0103 See #894. Remove test options 2017-04-15 19:33:51 -03:00
Glavin Wiechert 147f97d4c7 Fixes #894. Default options are extracted from Atom Editor options
This is for indent_size, indent_char, indent_with_tabs, and wrap_attributes_indent_size.
2017-04-15 19:09:27 -03:00
Glavin Wiechert 7990806008 Merge branch 'master' of github.com:Glavin001/atom-beautify into issue894 2017-04-15 17:16:52 -03:00
Glavin Wiechert 3c14757b4d See #1344. Remove Sass support from Vue beautifier 2017-04-15 16:20:29 -03:00
Glavin Wiechert 3435e16eb4 Fixes #1557. Fix Vue beautifier adding extra newlines 2017-04-15 16:03:56 -03:00
Glavin Wiechert 7a98e30eff Merge branch 'master' into atom-beautify/issue1457 2017-04-15 12:39:36 -03:00
Glavin Wiechert 3ea44935e5 Merge pull request #1511 from onigra/correspondence-to-php-cs-fixer-v2
Correspondence to PHP-CS-Fixer v2
2017-04-15 03:25:34 -03:00