Commit Graph

126 Commits

Author SHA1 Message Date
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