Commit Graph

22 Commits

Author SHA1 Message Date
Glavin Wiechert c6a4101893 Fixes #70. Update Pretty-Diff dep. from ^1.0.23 to ^1.2.1 2014-09-08 19:11:17 -03:00
Glavin Wiechert 6652e7f703 Closes #80. Add HTML Embedded Ruby (ERB) support. 2014-09-08 18:50:54 -03:00
Glavin Wiechert 1130b58114 See #71. Add example JS file using reserved words to test #71 2014-09-07 19:55:25 -03:00
Glavin Wiechert 4f5c75c5e3 See #77. Add example of broken SCSS case. 2014-09-07 19:48:48 -03:00
Glavin Wiechert 7dbff2cbc1 See #61. Add LESS example with Mixins to test. 2014-09-07 19:38:24 -03:00
Glavin Wiechert 43616d94e2 See #67. Update README and add new SQL example. 2014-08-30 15:44:38 -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 5d6751cb4b See #57. Add Uncrustify beautifier for multiple language support.
Uncrustify Language support:
- C
- C++
- C#
- Objective-C
- Java
- D
- Pawn
- Vala

Closes #45. Add Java Support.

Currently, use the configPath option to set an absolute or relative path
(relative to the currently beautified file) to specific the .cfg file
for Uncrustify to use as configuration options.
2014-08-08 13:38:28 -04:00
Glavin Wiechert 1f0fb9c0db Closes #44. Switch to using Pretty Diff for SASS, as well.
See #54. Use indent_size and indent_character options.
2014-08-03 23:35:48 -04:00
Glavin Wiechert 3c9836f920 Closes #31. Add CoffeeScript support. 2014-08-03 23:31:34 -04:00
Glavin Wiechert 7fdde0f8a6 See #51. Work on improving PHP support and deubgging errors. 2014-08-03 16:22:48 -04:00
Glavin Wiechert 010863f5cc Fixes #54. LESS beautifier using PrettyDiff now fixed.
The `lang` option was incorrectly set to `less`,
it should have been (now is) set to `css`.
2014-08-03 15:33:13 -04:00
Glavin Wiechert 5bff9ebc48 Closes #54. Switch to using Pretty Diff for LESS support.
Fixes #53. Fixes #52.
2014-08-01 20:06:24 -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 88651447a7 Closes #25. Add Ruby support. 2014-06-16 00:09:12 -03:00
Glavin Wiechert 612c7dc17c Closes #24. Add Python (PEP 8) support.
- Add reusable cli-beautify for external, non-Node beautifiers.
2014-06-15 23:11:01 -03:00
Glavin Wiechert 1e16af9012 Closes #26. Add PHP support.
- Update README for setup and usage.
- Add PHP example code
- Tested on Mac
2014-06-15 18:37:11 -03:00
Glavin Wiechert 54e61a816f Fixes #9. Nested options in .jsbeautifyrc are properly handled. 2014-06-14 19:57:55 -03:00
Glavin Wiechert 74e392b410 Add example SQL query for #14. 2014-06-14 01:31:00 -03:00
Glavin Wiechert 978a6c5a43 See #14. Add JSON support.
JSON is processed as if it were JavaScript.
I have tested it (see examples/simple-jsbeautifyrc/test.json)
and it works as expected and supports comments!
2014-06-14 00:59:19 -03:00
Glavin Wiechert b530eda6e3 Closes #13. Add Handlebars support. 2014-06-13 00:16:39 -03:00
donaldpipowitch 3ac78078ce updated README, added examples 2014-05-19 08:04:56 +02:00