Commit Graph

594 Commits

Author SHA1 Message Date
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
Guan Gui aec0a682b5
Fixed JS Beautify JSX bug by adding e4x option 2017-02-27 22:14:09 +11:00
Taylon Silmer 2285525c64 Get isort configuration from project 2017-02-21 09:37:14 -03:00
re6exp 678fc18146 Support for additional wrap attributes options of js-beautify (html): force-aligned and force-expand-multiline. 2017-02-19 10:45:02 +03:00
Taylon Silmer 7627a9239a Fix coffeelint errors 2017-02-14 11:31:05 -02:00
Taylon Silmer e314fdf099 Add ESLint beautifier 2017-02-13 14:58:31 -02:00
onigra cd2ae5d0f7 Disable cache
Because 'Failed to write file ".php_cs.cache", "no reason available".'
error occurs
2017-02-11 23:32:05 +09:00
onigra b63965bbde Modify php-cs-fixer path description 2017-02-11 21:57:45 +09:00
onigra 17cd9ce63f Change config file option 2017-02-11 21:55:06 +09:00
onigra 42cc955930 Add rules option
Merged fixers and level options
2017-02-11 21:53:35 +09:00
onigra 1731401306 fix indent 2017-02-11 21:16:07 +09:00
onigra c48989d9a9 DRY php-cs-fixer options 2017-02-11 21:16:02 +09:00
onigra bf7586c858 DRY @run options 2017-02-11 21:15:55 +09:00
onigra 87ed01e7be Enable PHP-CS-Fixer Path option except Windows 2017-02-11 21:15:42 +09:00
Guilherme Fróes Silva 05f339bc9d Adding CUDA 2017-02-07 19:20:13 -02:00
Denys Vitali 5a4349d486 Fix trailing semicolon 2017-01-30 16:36:46 +01:00
Denys Vitali afee0a47c9 Add support for nginx 2017-01-30 15:38:05 +01:00
Glavin Wiechert 46d49750e4 See #1432. Improves JS-Beautify beautifier so it will throw error when missing language
See #1458, #1471, #1483, #136, #1452
2017-01-24 21:59:11 -04:00
Deforder 77da64f4f0 Change logic to prevent eol feature override setting value
New logic + document (only insertion)
2017-01-24 21:26:19 +07:00
Deforder fa266a2e26 Removed unuse function 2017-01-14 18:09:57 +07:00
Deforder c7d20d0c10 Updated change without Docs 2017-01-14 15:58:01 +07:00
Deforder 97d62680e4 Revert "Added Overrided EOL option for JS , JSX"
This reverts commit c48eaf967e.
2017-01-14 14:47:27 +07:00
Deforder c48eaf967e Added Overrided EOL option for JS , JSX 2017-01-14 10:21:56 +07:00
s4l1h 6f9f36ac4a reverte prettydiff version 1.16.27 2017-01-13 23:21:46 +03:00
s4l1h 40a1a4237a Latest version prettydiff 2017-01-13 14:31:50 +03:00
s4l1h bf91dd2d7a Golang template support added doc. 2017-01-13 01:48:16 +03:00
s4l1h 63947d851e Golang template support. 2017-01-13 01:27:28 +03:00
Austin Cheney 8b5fad4769 Fixes #405 2017-01-05 15:35:36 -06:00
Glavin Wiechert d6a6fcde94 See #894. WIP no default value for certain Atom-Beautify language options 2017-01-03 02:07:35 -04:00
Glavin Wiechert 1fc3dbb99a See #1327. Add JavaScript to Vue language fallback options 2017-01-02 02:46:52 -04:00
Glavin Wiechert 7ad325b5ec See #1201. Crystal beautifier does not support any options 2017-01-01 00:43:57 -04:00
Jose Agustin Villalobos 30ada34bd0 Fix JS beautify on JSX and EJS 2016-12-30 15:10:12 -04:00
Glavin Wiechert ad8171e756 Fixes #977. Check for view.component before calling view.setScrollTop(value) 2016-12-30 02:44:26 -04:00
Glavin Wiechert cb052d868b See #1212. Update docs for new hh_format beautifier. 2016-12-30 01:58:15 -04:00
Glavin Wiechert 4b1a1a8292 Fix changes from review of #1212. 2016-12-30 01:55:33 -04:00
Glavin Wiechert 55216a8cef Merge branch 'master' of https://github.com/beefsack/atom-beautify into beefsack-master 2016-12-30 01:44:32 -04:00
Glavin Wiechert 236ad309ba Set Pretty Diff as default beautifier for JSX 2016-12-29 21:27:06 -04:00
Glavin Wiechert 57ff6eb6c9 Add JavaScript with JSX grammar to JSX language 2016-12-29 21:26:53 -04:00
Glavin Wiechert f26e8119cb Closes #1403. Add .ejs extension to EJS language 2016-12-29 20:08:03 -04:00
Glavin Wiechert 674c5ca69f Merge branch 'master' into master_bash_beautifier 2016-12-29 19:34:07 -04:00
Jose Agustin Villalobos 08b6aadecb Add JSX option to to JS Beautify 2016-12-29 13:08:34 -04:00
Jose Agustin Villalobos e0a01f4ed6 Add EJS options to JS Beautify 2016-12-29 01:54:04 -04:00
Glavin Wiechert acfad3f7d0 Merge pull request #1397 from cadenasgmbh/master
Added language support for GLSL via clang-format
2016-12-29 00:17:38 -04:00
Glavin Wiechert 8067b04676 Merge pull request #1380 from Foadsf/patch-1
f95 file extension was added
2016-12-29 00:12:05 -04:00
Glavin Wiechert c168c71e84 Merge pull request #1335 from bochoven/patch-1
Added plist and recipe to XML extensions
2016-12-29 00:10:07 -04:00
Glavin Wiechert 8fac5094e7 Merge pull request #1326 from phumberdroz/language_EJS
added EJS as Grammar since JavaScript Template is not longer used by …
2016-12-29 00:05:00 -04:00
Glavin Wiechert 591e51359f Switch debug info command to create new TextEditor instead of Gist 2016-12-18 18:04:01 -04:00
Pascal Häusler 640c71c2b9 Added language support for GLSL via clang-format 2016-12-05 15:05:43 +01:00
Foadsf 1bc7481c57 f95 file extension was added 2016-11-24 20:21:23 +01:00
guyskk d85bd22bcb add pybeautifier 2016-11-20 09:27:47 +00:00
Arjen van Bochoven c174b7bc9f Added plist and recipe to XML extensions
.recipe is used by autopkg for plists
2016-11-07 21:50:49 +01:00
guyskk b6c3d7dad3 fix #585: Add option to disable the loading notification 2016-11-06 14:56:46 +00:00
Pierre Humberdroz 8fa437a844 added EJS as Grammar since JavaScript Template is not longer used by the EJS Atom Plugin 2016-11-04 00:09:39 +01:00
Daniel Brodin 85d0f19e37 Use local phpcs config file if available. 2016-10-25 10:19:26 +02:00
Eli Donahue 794ecdeb09 Add '.config' extension to XML language 2016-10-19 09:58:28 -04:00
Victor Uriarte 288c11a5eb Cast remark's vfile to string
Another change on the API was the change of the return type.  It now return a vfile instead of a string.

Old:
d1c52a3b28/doc/remark.3.md (remarkprocessfile-options-done)

New:
https://github.com/wooorm/unified#processorprocessfilevalue-options-done
2016-10-08 11:57:46 -07:00
Victor Uriarte 0c28d39fe6 Update to new remark api.
Change was documented on v5.0 release

https://github.com/wooorm/remark/commit/8108fe5
2016-10-08 11:57:46 -07:00
SpacePossum e66613128d Link to the official PHP-CS-Fixer repository 2016-10-06 19:16:25 +02:00
quilicicf 306dd569b4 🆕 Add indent_size capability for beautysh 2016-09-27 22:39:56 +02:00
Glavin Wiechert db5469b73e Closes #1224, see #1209. Improve error handling of Debug helper 2016-09-25 15:32:33 -03:00
Glavin Wiechert 803c35dfa4 Close #1181. Fix error "Cannot read property 'setScrollTop' of null" 2016-09-25 14:52:44 -03:00
quilicicf b5790461cd 💚🚿 Fix build and take code review comments 2016-09-25 18:06:21 +02:00
quilicicf df89047046 🆕 Add beautysh as bash/shell beautifier 2016-09-23 18:59:28 +02:00
Michael Alexander d4506b844a Ignore empty output from hh_format 2016-09-22 13:46:01 +10:00
Michael Alexander 3be57b6c56 Use STDOUT instead of in-place 2016-09-22 13:37:22 +10:00
Michael Alexander afc0919252 Added hh_format beautifier 2016-09-22 12:57:42 +10:00
Glavin Wiechert 3ff25744f5 Merge pull request #1186 from gandm/language-babel
Add JavaScript and JSX language support for language-babel grammar.
2016-09-16 18:26:56 -03:00
gandm 880282d9be Revert addition of 'Babel ES6 JavaScript' to JavaScript language. 2016-09-16 11:09:40 +01:00
qwemaze b1d023a6fe Add PrettyDiff's bracepadding support 2016-09-15 01:26:46 +05:00
Glavin Wiechert 0f82daa55c Clean up some PR code 2016-09-11 21:14:44 -03:00
Glavin Wiechert 2c57253bd3 Merge branch 'fuse-ux' of https://github.com/louisgv/atom-beautify into louisgv-fuse-ux 2016-09-11 20:59:27 -03:00
Glavin Wiechert 84aa091a38 Merge branch 'language/nunjucks' of https://github.com/rtablada/atom-beautify into rtablada-language/nunjucks 2016-09-11 20:43:21 -03:00
Glavin Wiechert d1968da8ee Merge branch 'master' of https://github.com/dvingo/atom-beautify 2016-09-11 20:36:36 -03:00
Glavin Wiechert 243fa4167c Merge pull request #1135 from StevenIsaacs/uncrustify-config-path
Change path to uncrustify config file to be relative to the project rather than the open file.
2016-09-11 19:58:22 -03:00
Ryan Tablada 5b083d21c6 Add support for Nunjucks using PrettyDiff 2016-09-11 16:41:42 -05:00
gandm 5f7722e74c Add JavaScript and JSX language support for language-babel grammar. 2016-09-10 21:22:11 +01:00