Commit Graph

703 Commits

Author SHA1 Message Date
Steven Zeck b3c9c3c2ab Add support for ocp-indent as an executable and Docker image docs 2017-11-11 13:45:30 -06:00
Christian Kjær 8ffae7ac2f
Merge branch 'master' into master 2017-11-08 09:11:37 +09:00
Faheel Ahmad d2b92d2b8a Update options and docs 2017-11-03 20:12:18 +05:30
Faheel Ahmad 93aae32f8c Add option for sqlformat to re-indent 2017-11-03 20:11:32 +05:30
Steven Zeck 11f54a3e7c
Merge branch 'master' into terraform-support 2017-10-29 17:17:01 -05:00
Steven Zeck 3ec28ea375
Remove isPreInstalled attribute 2017-10-29 17:13:46 -05:00
Christian Kjaer Laustsen 7121eef0be Run docs and add examples 2017-10-28 12:53:31 +02:00
Christian Kjaer Laustsen 0044fab625 Add hindent and brittany beautifiers for haskell 2017-10-28 12:41:20 +02:00
nathdwek 42183d1b5e Python: formater->formatter 2017-10-19 17:41:26 +02:00
Steven Zeck 4522232642 Add Settings option to Atom Beautify menu to access package settings 2017-10-18 18:44:52 -05:00
Steven Zeck 2ec771f203 Allow 0 for minor and patch versions of docker 2017-10-13 23:00:51 -05:00
Brian Bugh 8eb5923a42 Merge branch 'master' into fix-rubocop-issues-1773-793 2017-10-10 16:35:28 -05:00
Malte Brodersen cf74a98212 remove space 2017-10-10 17:49:09 +02:00
Malte Brodersen 91f7adb824 update to run 2017-10-10 17:36:29 +02:00
Malte Brodersen 11f3571538 rerun create docs 2017-10-10 16:51:13 +02:00
Malte Brodersen 34b09fdd69 update options 2017-10-10 16:49:52 +02:00
Malte Brodersen 30d2264229 fix space 2017-10-09 22:20:02 +02:00
Malte Brodersen cc08dbd6c6 run docs 2017-10-09 22:09:06 +02:00
Malte Brodersen e5a38e388a remove uneeded diffs 2017-10-09 21:48:05 +02:00
Malte Brodersen 70ae361b7a remove uneeded diffs 2017-10-09 21:45:21 +02:00
Malte Brodersen 608846408d add terraform 2017-10-09 21:39:54 +02:00
Brian Bugh d4db008923 Fixed deprecation warning: path.dirname requires string 2017-10-08 07:29:26 -05:00
Brian Bugh 6f8036ba7a Replaced unnecessary filename/temp file with hard coded value 2017-10-07 21:33:41 -05:00
Brian Bugh 5f36431b1d Moved main code into then() for actual promise resolution 2017-10-07 21:26:34 -05:00
Brian Bugh 2d595f2a20 Fixed fallback for rubocop executable 2017-10-07 21:08:35 -05:00
Brian Bugh bd93afa64c Restored !configFile? 2017-10-07 20:01:47 -05:00
Glavin Wiechert f8509fc2ee Update prettydiff to 2.2.7, change UX Markup to xml 2017-10-07 22:00:45 -03:00
Brian Bugh 8188719685 Fixed beautify handling when context.filePath is not set 2017-10-07 16:13:49 -05:00
Brian Bugh c842af63bc Removed configFile variable definition 2017-10-07 15:51:19 -05:00
Brian Bugh 851a24f160 Removed getActiveTextEditor() 2017-10-07 15:28:39 -05:00
Glavin Wiechert 153a507290 Change fallback for UX Markup from xml back to html 2017-10-07 14:25:17 -03:00
Glavin Wiechert 42d4d18404 Merge branch 'prettydiff2' of https://github.com/prettydiff/atom-beautify into prettydiff-prettydiff2 2017-10-07 14:14:31 -03:00
Glavin Wiechert ee0dc5e646 Update docs
Fix #1857 #1860
2017-10-07 12:45:13 -03:00
Glavin Wiechert 8dc63b9237 Merge pull request #1798 from Kijan/patch-1
Add Tabletop Simulator Lua Scripting to Lua language
2017-10-05 23:09:27 -03:00
Steven Zeck 71d9707b69 Fix deprecation warning closing #1833 2017-09-18 13:29:26 -05:00
Brian Bugh 529cec83b0 Merge branch 'master' into fix-rubocop-issues-1773-793 2017-09-13 11:01:54 -05:00
Steven Zeck 7bd7348323 Fix for #1721 2017-08-10 20:56:14 -05:00
Kijan 1135a43d21 Update lua.coffee
Tabletop Simulator Lua added
2017-08-07 23:17:47 +02:00
Brian Bugh a719fa2241 Handles rubocop internal error 2017-08-02 14:12:08 -05:00
Brian Bugh ea0e0677e5 Reverted relativizePaths change 2017-07-25 11:58:28 -05:00
Brian Bugh 82706a4dc8 Performance and experience refactor 2017-07-25 11:52:03 -05:00
Brian Bugh 4f8f4d68f8 Improved Rubocop configuration and temp files 2017-07-23 17:55:08 -05:00
Cyril Plisko 3ba6b0ac56 Enable rustfmt-nightly to pass the filter
rustfmt-nightly was forked from rustfmt 0.9 and its
version numbering has been reset to 0.1.0.
This commit updates the version check to reject rustfmt only
if its 0.[1-4].x version is not follwed by '-nightly' suffix.
2017-07-16 16:09:43 +03:00
Cyril Plisko 065f9d4a30 Update rustfmt URL 2017-07-16 15:36:34 +03:00
kamontat 5480df416d Fixed error 2017-07-15 22:01:22 +07:00
kamontat 816596fab0 remove on test and change method name 2017-07-15 21:58:25 +07:00
Glavin Wiechert 7864205a3f Merge branch 'master' of github.com:Glavin001/atom-beautify 2017-07-14 09:39:53 -03:00
Glavin Wiechert 149770ab42 Fixes #1732 Fix typo in improvement of deprecation messge for old options 2017-07-14 09:39:50 -03:00
Glavin Wiechert 3991234619 Merge pull request #1751 from Nil-Zil/master
Fix for latexindent v3
2017-07-14 09:37:12 -03:00
Glavin Wiechert 49982c6ce7 Fixes #1732. Improve deprecation message for old options for new Executables 2017-07-01 01:34:46 -03:00
Austin Cheney 10c5e26771 update 2017-06-30 20:03:43 -05:00
Austin Cheney 46e02741c0 adjustments from Glavin's guidance 2017-06-30 19:41:11 -05:00
Austin Cheney 7178248945 fixing a 1 character typo 2017-06-30 11:41:28 -05:00
Austin Cheney d57c90c2e3 converting prettydiff to prettydiff2 2017-06-30 11:31:34 -05:00
nil 08f3ff3b91 Fix for latexindent v3 2017-06-26 10:42:27 -04:00
Glavin Wiechert 3745c27fe8 Improve command not found error message 2017-06-21 22:42:57 -03:00
Glavin Wiechert 13a72d9a93 See #1726. Add Docker image for goimports executable 2017-06-21 21:30:17 -03:00
Glavin Wiechert 4a93f3b4ee Merge branch 'goimports' of https://github.com/tanyadegurechaff/atom-beautify into tanyadegurechaff-goimports 2017-06-21 21:22:03 -03:00
Glavin Wiechert 75f63293d4 Fixes #1728. Remove Shell-Env from Executable, use Atom's process.env instead
Atom has builtin a fix for the process.env being out of sync with
the user's actual environment variables. It is similar to how Shell-Env works
which Atom-Beautify was using. Now we no longer need it.

However, there is still an issue when running specs. Thus, Atom-Beautify
specs still patch process.env with Shell-Env.
See https://discuss.atom.io/t/specs-do-not-load-shell-environment-variables-activationhooks-core-loaded-shell-environment/44199
for details.
2017-06-21 20:39:40 -03:00
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