Commit Graph

100 Commits

Author SHA1 Message Date
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 9b7abdc707 Disable failing LESS/Sass tests using Pretty Diff
See https://github.com/prettydiff/prettydiff/issues/106 for details
2015-06-10 18:23:07 -03:00
Glavin Wiechert 01d7f2f9bb Show options when a test fails when running specs 2015-06-10 17:02:22 -03:00
Glavin Wiechert 658f5b23d9 Fix typo in beautify-languages-spec causing failing tests to pass 2015-06-10 13:11:20 -03:00
Glavin Wiechert 198f0770dd Closes #341. Add indent_size option to Rubocop beautifier 2015-06-10 13:10:16 -03:00
Glavin Wiechert b41daabaa6 Closes #297, #265. Add missing Pretty Diff options for CSS/SCSS/Sass/LESS 2015-06-08 18:34:56 -03:00
Glavin Wiechert 52d0538f41 Closes #309. Add language Twig and use Pretty Diff beautifier. 2015-06-06 15:10:35 -03:00
Glavin Wiechert b0d8d7dd1e See #358. Add Rustfmt beautifier for Rust language support 2015-06-06 13:45:56 -03:00
Jan-Cornelius Molnar 1d88194bce Fixed reference to gnu.
Added small test for fortran.
2015-06-01 20:01:34 +02:00
Glavin Wiechert 9fe8506532 Fixes #370. Nest EditorConfig options under _default namespace
- Add test for using EditorConfig
- Apply transformations to EditorConfig options in promise
  - Handle indent_style for space and tab
2015-05-28 12:01:24 -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 4fb0c604f6 Update autopep8 and update failing Python test to pass 2015-05-03 12:57:22 -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 b5c3098778 Fixes #301. Fix autopep8 beautifier's arguments 2015-05-03 12:00:33 -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 0e1cdd2f85 Closes #72. Add another SCSS test file 2015-05-02 22:11:01 -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
Glavin Wiechert 0b1d0216d9 All tests should pass with new internal API 2015-04-30 13:23:41 -03:00
Glavin Wiechert 613a7599c8 Fix SQL beautification tests 2015-04-19 21:24:59 -03:00
Glavin Wiechert 6204ebbff6 Closes #122. Add Titanium style Sheets (TSS) support
See #238.
2015-04-12 12:58:16 -03:00
Glavin Wiechert ca9b20c43d Temporarily disable failing PHP tests
Until new tests for PHP-CS-Fixer 1.6
can be made
2015-04-07 14:49:28 -03:00
Glavin Wiechert b5bec0e0a7 Fix failing tests for LESS and SASS 2015-03-20 14:44:59 -03:00
Ryan Rushton 239b3678ae add php-cs-fixer to travis
enable test 1 and 2.
test 3 does not seem to pass
2015-03-19 23:11:44 -07:00
Glavin Wiechert d91421b628 See #216 and #122. Add another Titanium Style Sheet (disabled) test 2015-03-16 02:27:49 -03:00
Glavin Wiechert 2f012e296a See #122. Add Titanium Style Sheet example (disabled) test 2015-03-16 02:04:00 -03:00
filipesilva fdd1668c20 Updated options for js-beautify 2015-03-07 21:55:52 +00:00
Peter Shin 8d870d0a25 Correcting new line. 2015-02-21 13:10:37 -08:00
Peter Shin aa06255e6f Added support Marko templates. 2015-02-21 12:27:39 -08:00
Glavin Wiechert fc376b860e Disable failing Python beautify test. 2015-02-08 22:22:50 -04:00
Glavin Wiechert c916f51650 Disable failing Uncrustify tests for C and C++ 2015-02-08 21:53:45 -04:00
Glavin Wiechert a50c5a3c4c Clean up LESS/SCSS Unit Tests and update Prettydiff
Fixes #181 and fixes #180.
2015-02-02 12:26:40 -04:00
Glavin Wiechert 0b20005e9a See #169. Fix Markdown YAML Front Matter Test 2
My local pandoc was not the same as Travis CI's
and so my beautifications were always different and tests would not
match. I used `brew install pandoc` and am now in sync at v1.13.2
2015-01-03 02:10:28 -04:00
Glavin Wiechert eb1471d23b Closes #172, #146. Update to new Atom Config API.
What's new:
- Add settings descriptions
- Update options for js-beautify (JS, CSS, HTML)
- Update Spec to support new changes
2015-01-03 01:58:52 -04:00
Glavin Wiechert a2292201a3 Remove newline in expected output for Markdown YAML Front Matter test 2
Fixes https://travis-ci.org/Glavin001/atom-beautify/builds/45710683
2015-01-02 16:18:43 -04:00
Glavin Wiechert bddf667c82 See #171, #169. Add more tests for CSS & Markdown w/ YAML Front Matter 2015-01-02 15:01:07 -04:00
Glavin Wiechert f280469e77 Fixes #169. Remove JS-Yaml and use YAML-Front-Matter, resolving conflict 2015-01-02 01:30:24 -04:00