Commit Graph

85 Commits

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