Commit Graph

104 Commits

Author SHA1 Message Date
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 25b3ef0417 add examples for lua 2017-03-28 16:25:52 +08:00
Glavin Wiechert 41af3060e6 Disable failing PHP examples 2016-12-30 02:51:23 -04: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
Dan Vingo 9ed56bd351 Add Clojure support using cljfmt 2016-09-03 21:26:54 -04:00
Louis G. Vichy 80a99c29c5 Added Test and the language file 2016-08-13 04:32:30 -04:00
Glavin Wiechert d4a9a761da Remove failing YAML front matter test 2016-07-09 00:03:25 -03:00
Glavin Wiechert dfb45c026a Fix failing tests 2016-07-06 14:58:28 -03:00
Joost van Doorn 7096ceb195 Lua beautifier
Simple perl script beautifier for lua, by @pkulchenko
2016-06-07 20:17:34 +02:00
Glavin Wiechert aae09ea463 Merge pull request #956 from patrick-steele-idem/marko-v3
Marko v3
2016-06-07 10:54:14 -03:00
Ra100 b11dc80abc Fix Tidy Markdown and Rubocop examples expected output 2016-05-20 10:14:43 +02:00
Patrick Steele-Idem e4168688d6 Updated marko tests 2016-04-29 00:26:07 -06:00
Glavin Wiechert c9d423c6a4 Fix failing tests 2016-04-23 23:26:57 -03:00
Glavin Wiechert 513ebd807c Closes #945. Update TypeScript Formatter beautifier 2016-04-23 23:24:55 -03:00
Glavin Wiechert ef8ca9798b Update markdown examples 2016-04-23 17:13:54 -03:00
Glavin Wiechert e5e37dc2c1 Update tidy-markdown and fix related tests 2016-04-23 16:37:07 -03:00
Glavin Wiechert 02f02a41e6 Resolve failing tests with updated dependencies 2016-04-01 17:22:12 -03:00
Glavin Wiechert 1b54040540 Update dependencies and fix failing tests 2016-02-21 16:47:59 -04:00
Glavin Wiechert 99299e5d30 Fixes #736. Change unformatted option default value to match js-beautify 2016-01-12 14:27:30 -04:00
Glavin Wiechert bb91eab955 Upgrade Pretty Diff to v1.16.0 and fix failing tests 2015-12-10 21:41:35 -04:00
Glavin Wiechert f9fc66ae73 Update Pretty Diff to v1.15.16 & fix JSX test 2015-11-14 13:30:04 -04:00
Glavin Wiechert f36a1d15e2 Merge branch 'master' of https://github.com/hayatae/atom-beautify into hayatae-master 2015-11-02 14:11:58 -04:00
Glavin Wiechert 9a3a23fc2a Update Pretty Diff to v1.15.7 and fix broken JSX and TSS tests 2015-11-02 14:00:15 -04:00
Jeff Wheeler dc641c48bc PR #594 Fixing test for issue #524 2015-10-08 19:36:05 -04:00
Glavin Wiechert 8094016160 Fix all broken test examples 2015-09-25 18:35:48 -03:00
Glavin Wiechert 00b15f3b59 Fixes #496. Update Pretty Diff and fix adding two spaces incorrectly
Also fix the related unit tests.
2015-08-10 10:57:53 -03:00
Glavin Wiechert eea0fb63ae Update test examples to pass testing with new Pretty Diff 2015-08-05 11:56:22 -03:00
Glavin Wiechert 4372b419e8 Closes #410. Add space_after_anon_function option to Pretty Diff
- "space_after_anon_function option" is renamed to "space" for Pretty
  Diff. See http://prettydiff.com/documentation.xhtml#space
- Fix broken test
- Update docs
2015-06-25 09:10:47 -03:00
Glavin Wiechert a2efade4b3 Update dependencies, tests, docs 2015-06-25 09:06:05 -03:00
Glavin Wiechert 4d8d09a601 Closes #264. Choose Pretty Diff beautifier as default for ERB
- Add indent_size option to htmlbeautifier
- Make Pretty Diff default beautifier for ERB
2015-06-11 18:20:24 -03:00
Glavin Wiechert 658f5b23d9 Fix typo in beautify-languages-spec causing failing tests to pass 2015-06-10 13:11:20 -03:00
Alex Wilson 7526a1864d Enable typescript-formatter defaults. 2015-05-21 22:58:06 -06:00
Glavin Wiechert d1dd3b2059 Closes #349. Add Visualforce language and use Pretty Diff beautifier 2015-05-21 16:44:19 -03:00
Glavin Wiechert d0ee5fb538 See #144. Add JSX language tests 2015-05-20 13:40:59 -03:00
Glavin Wiechert 25b1d5b1f5 Update and fix Titanium Style Sheets tests 2015-05-20 12:19:12 -03:00
Glavin Wiechert f78fa314cd Closes #351. Update TypeScript beautification tests 2015-05-20 12:18:38 -03:00
Glavin Wiechert 573a949b6f Closes #346. Merge options for language namespace, fallbacks, _default 2015-05-19 15:02:23 -03:00
Glavin Wiechert 94fc870b84 Closes #323. Add language Swig with grammar HTML (Swig) 2015-05-18 18:08:06 -03:00
Glavin Wiechert 49570d9e02 Update expected text for failing "tss" test
See https://travis-ci.org/Glavin001/atom-beautify/builds/62638621
2015-05-14 22:11:25 -03:00
Glavin Wiechert 57ffa6741f Update to PHP-CS-Fixer 1.7 and fix broken PHP tests 2015-05-05 12:42:25 -03:00
Glavin Wiechert 8bcf4efcfa Fixes #305. Beautify input in single temp file for HTMLBeautifier
- Enable HTMLBeautifier tests for Travis CI
2015-05-04 02:32:25 -03:00
Glavin Wiechert 969f307175 Update PHP tests to new PHP-CS-Fixer expected style 2015-05-03 14:04:52 -03:00
Glavin Wiechert cc9b8e8ff2 See #294. Add missing argument to PHP-CS-Fixer beautifier
And enable tests for Travis CI
2015-05-03 12:50:45 -03:00
Glavin Wiechert 4eed4cfc21 See #292. Add more Markdown with YAML Front Matter tests 2015-05-03 11:39:46 -03:00
Glavin Wiechert 1fd94e871b Closes #192. Add coffee-fmt beautifier for CoffeeScript language 2015-05-03 01:57:17 -03:00
Glavin Wiechert 0a0ba673e8 Closes #176. Add gofmt beautifier for Golang language 2015-05-03 01:23:29 -03:00
Glavin Wiechert 57e3ef4a48 Fixes #283. Update Coffee-Formatter and add more CoffeeScript tests 2015-05-02 23:07:45 -03:00
Glavin Wiechert 38b760ee6a Merge branch 'master' of git://github.com/jney/atom-beautify into jney-master
Conflicts:
	lib/langs/ruby-beautify.coffee
	lib/language-options.coffee
2015-05-02 20:53:53 -03:00
Glavin Wiechert 9211a03c16 See #282. Improve Beautifier options definition handling
What's new:
- Beautifier options definition supports:
    - boolean - enable/disable
    - string - rename and enable
    - function - transform and enable
    - array - apply complex transformation to multiple options and
      output single option result
- Show "Supported by <beautifiers>" for each language option
    - Beautifiers have a name
    - Beautifier options definition is used to determine if
    language option is supported by a beautifier
- Remove SQL test, since sqlformat is inconsistant
2015-05-01 02:32:02 -03:00