Commit Graph

99 Commits

Author SHA1 Message Date
Glavin Wiechert c110ca72a4 Fixes #173. Remove @ prefix from showError call 2015-01-03 11:36:34 -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 c4c847948d Fixes #171. Fix typo for CSS indent_char 2015-01-02 15:09:54 -04:00
Glavin Wiechert 6e708a8922 Closes #166. Add check for an Active Editor when beautifying 2015-01-02 14:41:37 -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
Glavin Wiechert e7a980045d Closes #169. Add YAML Front Matter support to Markdown beautification 2015-01-02 00:53:55 -04:00
Glavin Wiechert bd278968b4 Closes #36. Add right-click beautification of directory (sub-files) 2015-01-01 23:34:04 -04:00
Glavin Wiechert 31d49c5acf Update Editor Beautification to use the centralized options manager 2014-12-28 19:17:40 -04:00
Glavin Wiechert c9ede3d59d See #18. Force install of Coffee-Formatter for testing. 2014-12-28 18:59:15 -04:00
Glavin Wiechert e678fdf759 See #36. Add right-click Beautification of single files in Tree view 2014-12-28 18:17:46 -04:00
Glavin Wiechert 314c267d9b See #18. Use default config options instead of Atom Editor for specs 2014-12-28 16:18:30 -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 264821c30a Fix feature, disabling language beautification, where disabledLanguages = null
This is only really applicable to the Spec testing,
such as by Travis CI.

Fixes #141.
2014-12-28 02:25:17 -04:00
Glavin Wiechert 974897b6f8 Improve handling options in Python beautifier.
See #35.
2014-12-28 02:22:44 -04:00
Glavin Wiechert b7a34b6178 Improve SQL Beautifier to support missing config options.
Fixes #67.
2014-12-28 02:21:06 -04:00
Glavin Wiechert 77f58bbfc7 Throw error if trying to beautify Perl without setting Perl Tidy path
See #138, #33.
2014-12-28 02:19:36 -04:00
Glavin Wiechert 60f6a9bd07 Improve CLI Beautify class to handle more error catching 2014-12-28 02:17:15 -04:00
Glavin Wiechert 9b38dc3bad Fixes #148. Fix PHP for when filters are not set. 2014-12-27 19:51:27 -04:00
Alejandro Paredes Alva 3499c11120 User settings instead of default
Fixes the issue of only getting the default settings from
atom.config.getSettings() to get the user settings from
atom.config.get()
2014-12-19 17:00:02 +01:00
Glavin Wiechert c6c6d95a3e Closes #107. Add PHP options for filters and directory_filters 2014-11-19 20:41:26 -04:00
Glavin Wiechert ba1e00fb80 See #141, #118. Fix bug in disabling beautification by language
Also add documentation on `disabledLanguages` package option
2014-11-16 10:28:20 -04:00
Glavin Wiechert f0ed7ac5ad Merge pull request #141 from MetaMemoryT/disable-languages-option
disable beautification of specific languages
2014-11-16 10:17:49 -04:00
Glavin Wiechert ba7d9ce799 Merge pull request #139 from wok/master
Add support for HTML (Rails) and Ruby on Rails grammar
2014-11-16 10:15:18 -04:00
Sean Usick 18b04595e5 disable beautification of specific languages
Created option to disable beautification of specific languages.  This is
useful when a particular language formatter is broken, but you still
want beautifyEntireFileOnSave for other languages.
2014-11-15 18:24:33 -06:00
Wolfgang Kölbl e828a62fd1 Add support for HTML (Rails) and Ruby on Rails grammer 2014-11-07 09:46:10 +02:00
Theo Willows f64d2bae20 Perl support (using perltidy) (see Glavin001/atom-beautify#33) 2014-11-05 13:46:06 +01:00
Glavin Wiechert dda313fbfe Fixes #103. BeautifyEntireFileOnSave only applies when saving 2014-10-26 16:35:59 -03:00
Glavin Wiechert ecbbbaec29 Closes #123. Add Mustache support. 2014-10-26 16:11:44 -03:00
Glavin Wiechert c0ee2bed96 Closes #127. Increase startup time by using ActivationEvents 2014-10-21 15:35:08 -03:00
ewgenius dcc9e2d3b5 Add TypeScript support 2014-10-14 11:09:38 +04:00
Glavin Wiechert 120315f90d Fixes #110. Fixes Handlebars missing beautification
When converting JavaScript to CoffeeScript the case for Handlebars
did not fallback to the HTML case.
2014-10-05 13:20:15 -03:00
Glavin Wiechert fbc58a648d See #113, #114, #115, Attempt to resolve Unsafe-Eval error 2014-10-05 10:15:57 -03:00
Glavin Wiechert ccc8802f36 Fixes #96. Fix support for Alphasort option for LESS/SCSS properties 2014-09-28 17:28:51 -03:00
Glavin Wiechert 7e828be199 Fixes #102. Fix error when beautifying Python using custom autopep8 path
Credit goes to @thedadams for creating issue
https://github.com/Glavin001/atom-beautify/issues/102
with solution.
2014-09-28 16:33:23 -03:00
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