Commit Graph

34 Commits

Author SHA1 Message Date
Glavin Wiechert e67425f0f9 Fixes #240. Change Debug command name to make `beautify editor` first 2015-03-20 13:33:17 -03:00
Glavin Wiechert 114e67a278 See #237. Fix bug in Debug command when Text Editor not selected 2015-03-16 10:37:19 -03:00
Glavin Wiechert 874d281dd6 Closes #237. Add debugging information command 2015-03-16 01:36:53 -03:00
Alejandro Paredes Alva d24a454ef7 Updates to Atoms new API
Small changes for the the new API
2015-01-27 11:58:49 +01:00
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 6e708a8922 Closes #166. Add check for an Active Editor when beautifying 2015-01-02 14:41:37 -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
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
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
Glavin Wiechert dda313fbfe Fixes #103. BeautifyEntireFileOnSave only applies when saving 2014-10-26 16:35:59 -03:00
Glavin Wiechert c0ee2bed96 Closes #127. Increase startup time by using ActivationEvents 2014-10-21 15:35:08 -03:00
Glavin Wiechert 79fcdd9111 Closes #105. Add options to mute errors.
New options:
- muteUnsupportedLanguageErrors
- muteAllErrors
2014-09-28 16:22:29 -03:00
Glavin Wiechert fefb25bf38 Closes #91. Add configuration option for custom Uncrustify path 2014-09-15 00:04:28 -03: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 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 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