Commit Graph

64 Commits

Author SHA1 Message Date
Glavin Wiechert 79fcdd9111 Closes #105. Add options to mute errors.
New options:
- muteUnsupportedLanguageErrors
- muteAllErrors
2014-09-28 16:22:29 -03:00
Bengt Lüers ad662271c1 implement normalizing markdown through pandoc 2014-09-15 23:12:06 +02:00
Glavin Wiechert fefb25bf38 Closes #91. Add configuration option for custom Uncrustify path 2014-09-15 00:04:28 -03:00
thedadams 86a709f24b Fixed a dumb mistake. 2014-09-14 18:20:27 -07:00
thedadams 13fa9e3113 Forgot to comment out the debug outputs. 2014-09-14 18:15:48 -07:00
Donnie Adams 2d095c9a9e Added support for specifying a path to the "uncrustify" command. 2014-09-14 17:31:37 -07:00
Dirk Raeder 7c56d84385 Fix support for editorconfig with indent style = 'tab'
Replace non-existant config with editorConfigOptions
2014-09-12 08:34:26 +02:00
Glavin Wiechert 31b217859e Closes #84. Improve the error message panel to only appear on new error 2014-09-10 17:07:42 -03:00
Glavin Wiechert 490cd7ee05 Fixes #85. Add support for Windows for upwards recursive .jsbeautifyrc
See #37.
2014-09-10 16:27:24 -03:00
Glavin Wiechert 2cd3bef6e0 Fixes #68. Fix error when beautifying file that is "untitled". 2014-09-10 10:25:43 -03:00
Glavin Wiechert baf3e49b97 Closes #68. Support editorconfig files. 2014-09-09 01:26:51 -03:00
Glavin Wiechert 738deace29 Closes #37. Support upwards recursive .jsbeautifyrc fallback.
Priority hierarchy:
- Atom editor settings
- Atom Beautify package settings
- Home directory .jsbeautifyrc file configuration
- Closest EditorConfig file (see #68)
- Project options (from closest .jsbeautifyrc file to the beautified
  editor's file to root, "/")
2014-09-09 00:29:39 -03:00
Glavin Wiechert 6652e7f703 Closes #80. Add HTML Embedded Ruby (ERB) support. 2014-09-08 18:50:54 -03:00
Glavin Wiechert d595ea7479 Fix typo from .bash_rc to .bashrc 2014-09-08 18:50:27 -03:00
Glavin Wiechert 516c356238 Fixes #81. Beautify on Save now retains `this` scope when beautifying
Bug created when developing issue #56.
2014-09-08 16:25:06 -03:00
Glavin Wiechert ffa2249c3e See #56. Add Atom-Message-Panel to display Unsupported Language messages 2014-09-08 01:02:23 -03:00
Glavin Wiechert 6b2b306b9d See #56. Add "Beautification in progress" view. 2014-09-08 00:28:10 -03:00
Glavin Wiechert 05ee8f22b3 See #56. Work on MessageView UI. 2014-09-07 23:58:01 -03:00
Glavin Wiechert 0804cade1f See #56. Start implementing of Message View. 2014-09-07 19:41:05 -03:00
Glavin Wiechert 9c1965dec6 Closes #78. Improve startup performance.
@Glavin001 stats:
- Before: 226ms
- After: 60ms
2014-09-07 19:32:08 -03:00
Glavin Wiechert 528c7dc281 Fixes #76. Add package option "Beautify Entire File On Save" 2014-09-07 18:28:42 -03:00
Ryan Wilson e599387d20 prevent extra cursor appearing at end of file
Reference:
https://github.com/Glavin001/atom-beautify/issues/73
2014-09-03 15:04:06 -07:00
jamiehall a2fbf0c47d Replacing node-parse with sqlparse (python dependency). Options: sql_indent_size(default: 2), sql_identifiers(default: lower. Options: lower, upper, capitalize). sql_sqlformat_path (path to sqlformat command if not on path). This resolves #63 2014-08-17 16:01:53 +02:00
Glavin Wiechert 112fde45c3 Fixes #60. Fix setCursors that was freezing Atom when Beautifying. 2014-08-15 15:37:02 -03:00
Glavin Wiechert 09c6770cd2 Closes #60. Convert package scripts from JavaScript to CoffeeScript. 2014-08-10 18:51:44 -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 8d90b30448 See #47. Update configuration to allow users to disable analytics. 2014-08-03 23:51:40 -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 fabed8fad3 Closes #47. Switch Analytics from Google Analytics to Segment.io 2014-08-03 16:12:07 -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 d8fb27289d Closes #47. Add Google Analytics. 2014-07-12 12:02:21 -03:00
Glavin Wiechert 4271bfe8d7 Closes #46. Use ActivationEvents to speed up loading time. 2014-07-09 22:19:53 -03: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 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 54e61a816f Fixes #9. Nested options in .jsbeautifyrc are properly handled. 2014-06-14 19:57:55 -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
Glavin Wiechert a40988b1c1 See #14. Working SQL beautifier. TODO: Use config options. 2014-06-14 01:28:02 -03:00
Glavin Wiechert 59b7deac37 Merge branch 'master' of github.com:Glavin001/atom-beautify 2014-06-14 01:00:27 -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 4013550e98 Improve readability of code that merges in options. 2014-06-13 13:45:57 -03:00
Glavin Wiechert a2dc4bd7db See #15. Remove shelljs dependency and fixed typos. 2014-06-13 12:53:17 -03:00
Glavin Wiechert eacf2329da Closes #20. Add Sass and LESS support. Update README. 2014-06-13 01:25:39 -03:00