Commit Graph

569 Commits

Author SHA1 Message Date
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
Glavin Wiechert 7e958d0db0 Update docs 2017-04-15 03:16:36 -03:00
Glavin Wiechert 22b33d1c91 Merge branch 'master' into master 2017-04-15 03:10:47 -03:00
Glavin Wiechert cdcb3e8137 Merge pull request #1522 from taylon/isort_config
Get isort configuration from project
2017-04-15 02:54:34 -03:00
Glavin Wiechert a1b19ba8aa See #1333 and #1437. fix vue nested templates formatted incorrectly 2017-04-15 02:47:17 -03:00
Glavin Wiechert 40a07b29e9 Merge pull request #1577 from kaven276/vue-sections-fix
vue section mark right
2017-04-15 02:35:49 -03:00
Glavin Wiechert 85a744fb98 See #505 and #1494. Fix options of Nginx beautifier 2017-04-15 02:26:52 -03:00
Glavin Wiechert 0066451ff5 Merge branch 'master' into master 2017-04-15 01:57:31 -03:00
Glavin Wiechert bc58ae9fe6 Merge pull request #1466 from s4l1h/master
Golang template support.
2017-04-15 01:47:58 -03:00
Glavin Wiechert 08ca36e67b Merge branch 'master' into use-local-phpcs-settings 2017-04-15 01:41:03 -03:00
Keith (Neon) 0d3649a9f7 Add Pretty Diff support for Mustache 2017-04-12 15:22:13 -04:00
Glavin Wiechert 644ff444cc Merge pull request #1507 from CodefroesPuc/patch-2
Adding CUDA language as extension of C++
2017-04-10 04:38:33 -03:00
Glavin Wiechert f3cd93a86b Merge pull request #1510 from onigra/fix-php-cs-fixer-path-option-except-windows
Fix php cs fixer path option except windows
2017-04-10 04:17:47 -03:00
Glavin Wiechert 276bd8c21f Merge pull request #1530 from guiguan/master
Fixed JS Beautify JSX bug by adding e4x option
2017-04-10 03:54:45 -03:00
Glavin Wiechert 61f52cf154 Change JSX default beautifier back to Pretty Diff 2017-04-10 03:53:45 -03:00
Glavin Wiechert b269279010 Merge branch 'master' into master 2017-04-10 03:52:35 -03:00
Glavin Wiechert c0c03c0c60 Merge branch 'master' of https://github.com/hxsf/atom-beautify into hxsf-master 2017-04-10 03:46:12 -03:00
Glavin Wiechert 80958a02cb Merge pull request #1513 from taylon/eslint
Add ESLint beautifier
2017-04-10 03:40:28 -03:00
Glavin Wiechert 1982d7f405 Fix linting issues 2017-04-10 03:05:03 -03:00
Glavin Wiechert 462447cad3 Merge branch 'master' of https://github.com/mjpuser/atom-beautify into mjpuser-master 2017-04-10 03:00:45 -03:00
Glavin Wiechert ba2198675c Add beautifiers information to README
See https://github.com/Glavin001/atom-beautify/issues/1525#issuecomment-292817161
2017-04-10 02:53:34 -03:00
Matthew Prestifilippo 86465ff084 Fix #1423 - extname is deprecated 2017-04-09 17:42:21 -04:00
Li Yong f9d643cc5f vue section mark right 2017-03-31 15:06:00 +08:00
hxsf 51af211063 'fix_indent' 2017-03-30 13:15:32 +08:00
hxsf 3c6479680b fixed bugs and add feature
+ bugs:
    - negative number: 'local a = -1' => 'local a =  - 1'
    - unequal: 'a ~= b' => 'a ~ = b'
    - change the comment: '-- a  b' => '-- a b'
+ feature:
    - remove space before comma, add add space after comma: '{a = 1 ,b = 2}' => '{a = 1, b = 2}'
2017-03-30 12:08:51 +08:00
hxsf 8c8afc407d add a simple Lua format base on js 2017-03-28 15:59:28 +08:00