Commit Graph

131 Commits

Author SHA1 Message Date
Glavin Wiechert 4f9981cd83 Merge pull request #845 from Focus/master
Adds LaTeX language support
2016-03-25 23:43:14 -03:00
Michael Hancock 18ae07eaff Added opencl language support
OpenCL language support is achieved here simply by attaching '.CL'
extension to the 'C' language module. OpenCL is C based however beautify
will not support beautification despite having C language support, due
to the different file extension.
2016-03-24 00:34:55 +00:00
Glavin Wiechert 73919f7902 Update Pretty Diff to v1.16.27 2016-03-03 19:48:22 -04:00
Glavin Wiechert 63bda7fa30 Remove Haskell tests because it takes so long to install 2016-03-03 19:43:45 -04:00
Focus 08fa230f71 Tests 2016-03-03 22:16:58 +00:00
Glavin Wiechert 3a6763a25c See #828, #757, #731, #750. Fix Riot.js support,
add support to Pretty diff beautifier
2016-02-25 23:30:34 -04:00
Eduardo Marín 3348c33aa4 riotjs tests added 2016-02-25 15:40:08 +01:00
Glavin Wiechert aedf6adfba See #733. Remove dfmt from being default beautifier for D language 2016-02-21 17:23:02 -04:00
Glavin Wiechert 1b54040540 Update dependencies and fix failing tests 2016-02-21 16:47:59 -04:00
Glavin Wiechert 33ae978204 See #817. Install MavensMate package for Apex testing 2016-02-21 16:46:27 -04:00
Glavin Wiechert 34a3297858 Merge branch 'master' of git://github.com/jdcrensh/atom-beautify into jdcrensh-master 2016-02-20 15:32:57 -04:00
Glavin Wiechert e43952c7d3 Merge pull request #744 from ra100/master
PHPCBF (PHP_CodeSniffer) + Remark for Markdown support
2016-02-20 15:27:52 -04:00
Glavin Wiechert 2b6b026cc6 Merge pull request #733 from LaurentTreguier/master
Adding dfmt support for D
2016-02-20 15:24:54 -04:00
Glavin Wiechert e90a6335e3 Merge branch 'cfml' of git://github.com/finalcut/atom-beautify into finalcut-cfml 2016-02-20 15:13:27 -04:00
Glavin Wiechert cceef0c912 Fix failing example tests for updated dependencies 2016-02-20 14:55:56 -04:00
Jon Crenshaw f4000cc990 Add examples for Apex language 2016-02-19 20:25:11 -08:00
Ra100 2dce172228 add: remark for markdown 2016-01-28 13:11:09 +01:00
Glavin Wiechert 99299e5d30 Fixes #736. Change unformatted option default value to match js-beautify 2016-01-12 14:27:30 -04:00
LaurentTreguier ec81974d2d Create test.d 2016-01-07 13:21:25 +01:00
LaurentTreguier b7f32bba9a Create test.d 2016-01-07 13:20:52 +01:00
Bill Rawlinson 149ce5570a change lyout of expected final coldfusion test file 2015-12-21 08:03:40 -05:00
Bill Rawlinson c7a792e4f9 added block for cfml 2015-12-18 14:34:08 -05:00
Bill Rawlinson c24b4b5cbc simply test file 2015-12-18 14:27:46 -05:00
Bill Rawlinson 311fcfd89f add expected result of test for coldfusion 2015-12-18 11:24:35 -05:00
Bill Rawlinson a7a7485699 create test source file for coldfusion
add a sort of ugly cfc for testing
2015-12-18 11:23:26 -05:00
Murphy Randle 31695b33c9 Add support for Elm 2015-12-10 18:45:33 -07:00
Glavin Wiechert bb91eab955 Upgrade Pretty Diff to v1.16.0 and fix failing tests 2015-12-10 21:41:35 -04:00
Mark Baas 51d7e82433 added example 2015-11-19 22:25:22 -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 92e7fe9c8a Merge branch 'master' of https://github.com/prettydiff/atom-beautify into prettydiff-master 2015-11-02 14:04:01 -04:00
Bob Long 5d575a7a5c haskell test case 2015-10-29 21:18:19 +00:00
Austin Cheney b4451f7e07 JSP support via beautifying as XML in Pretty Diff 2015-10-03 17:09:58 -05:00
Glavin Wiechert 8094016160 Fix all broken test examples 2015-09-25 18:35:48 -03:00
Austin Cheney 6f99dd6a51 resolved some minor changes 2015-09-22 13:47:06 -05:00
Glavin Wiechert b7ea432cea Update dependencies, tests, docs 2015-09-05 09:13:15 -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 30681e9a8a Merge branch 'feat/puppet' of https://github.com/kelvix/atom-beautify into kelvix-feat/puppet 2015-08-05 12:14:02 -03:00
Glavin Wiechert 50fae4654e Merge pull request #488 from MeetMe/gherkin-grammar
Add Gherkin grammar support
2015-08-05 12:13:22 -03:00
Glavin Wiechert eea0fb63ae Update test examples to pass testing with new Pretty Diff 2015-08-05 11:56:22 -03:00
Joe Hansche 8ac29a3fcf Add Gherkin language test(s) 2015-08-04 13:26:41 -04:00
Juan Garcia ae226e24fb puppet support via puppet-lint 2015-07-25 15:19:37 -05: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 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 573a949b6f Closes #346. Merge options for language namespace, fallbacks, _default 2015-05-19 15:02:23 -03:00
Glavin Wiechert 4fb0c604f6 Update autopep8 and update failing Python test to pass 2015-05-03 12:57:22 -03:00
Glavin Wiechert b5c3098778 Fixes #301. Fix autopep8 beautifier's arguments 2015-05-03 12:00:33 -03:00
Glavin Wiechert 0e1cdd2f85 Closes #72. Add another SCSS test file 2015-05-02 22:11:01 -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 b5bec0e0a7 Fix failing tests for LESS and SASS 2015-03-20 14:44:59 -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 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 062aecfb8d See #18. Disable CPP header test. 2014-12-28 16:29:26 -04:00
Glavin Wiechert e46001b48f See #18. Enable tests for CPP, Python, and SQL. 2014-12-28 16:20:01 -04:00
Glavin Wiechert 8cbc8741df See #18. Enable Markdown tests. 2014-12-28 15:28:41 -04:00
Glavin Wiechert b0f12654b2 See #18. Disable tests that do not yet pass.
- Need to add more dependencies to support those tests
2014-12-28 14:43:25 -04:00
Glavin Wiechert bc99f6c598 See #18. Most of the language tests are successful.
Tests that start with underscores (_) are hidden and not tested.
Those must eventually be solved.
2014-12-28 03:23:05 -04:00
Glavin Wiechert f8e0e445ae See #18. Beautify most of the expected tests.
I was unable to do Python and SQL, as I am having Python problems on my
laptop. Hopefully I will be able to figure this out soon.
2014-12-28 02:38:06 -04:00
Glavin Wiechert b147ecd9fa See #18. Implement foundation for Specs.
What's New:
- Directory structure for specs examples to be tested
- Dynamically generated specs for all tests/sample source code

TODO:
- Fix expected test output file contents to be correct
2014-12-28 02:29:03 -04:00
Bengt Lüers 3edc155279 Add nested example of ill-indented Markdown 2014-09-18 15:19:37 +02:00
Glavin Wiechert baf3e49b97 Closes #68. Support editorconfig files. 2014-09-09 01:26:51 -03:00
Glavin Wiechert 325ada7851 Closes #57. Customization in .jsbeautifyrc file now generates the config
(.cfg) file for Uncrustify beautification.
2014-08-08 17:42:23 -04:00
Glavin Wiechert 65ff7f9f7a Closes #35. Add more options for Python PEP8 beautifying.
Options:
- max line length
- indent size
- ignore (errors)

Also fixed typo causing very important bug,
such that languages were not loaded correctly and options were missing.
2014-06-27 22:04:17 -06:00
Glavin Wiechert 479034dae7 Closes #22. Use Atom Package Settings as configuration options.
- Fix issue for beautifying unsaved files.
2014-06-15 01:03:01 -03:00
Glavin Wiechert 78e0382c15 Closes #21. Parsing .jsbeautifyrc falls back to YAML, when JSON fails. 2014-06-14 20:31:37 -03:00
Glavin Wiechert 2e57630275 Closes #14. Completed support for SQL.
- Updated README
- SQL now can apply the indent_char and indent_size options.
2014-06-14 02:23:02 -03:00
donaldpipowitch 3ac78078ce updated README, added examples 2014-05-19 08:04:56 +02:00