Commit Graph

569 Commits

Author SHA1 Message Date
Guan Gui aec0a682b5
Fixed JS Beautify JSX bug by adding e4x option 2017-02-27 22:14:09 +11:00
Taylon Silmer 2285525c64 Get isort configuration from project 2017-02-21 09:37:14 -03:00
re6exp 678fc18146 Support for additional wrap attributes options of js-beautify (html): force-aligned and force-expand-multiline. 2017-02-19 10:45:02 +03:00
Taylon Silmer 7627a9239a Fix coffeelint errors 2017-02-14 11:31:05 -02:00
Taylon Silmer e314fdf099 Add ESLint beautifier 2017-02-13 14:58:31 -02:00
onigra cd2ae5d0f7 Disable cache
Because 'Failed to write file ".php_cs.cache", "no reason available".'
error occurs
2017-02-11 23:32:05 +09:00
onigra b63965bbde Modify php-cs-fixer path description 2017-02-11 21:57:45 +09:00
onigra 17cd9ce63f Change config file option 2017-02-11 21:55:06 +09:00
onigra 42cc955930 Add rules option
Merged fixers and level options
2017-02-11 21:53:35 +09:00
onigra 1731401306 fix indent 2017-02-11 21:16:07 +09:00
onigra c48989d9a9 DRY php-cs-fixer options 2017-02-11 21:16:02 +09:00
onigra bf7586c858 DRY @run options 2017-02-11 21:15:55 +09:00
onigra 87ed01e7be Enable PHP-CS-Fixer Path option except Windows 2017-02-11 21:15:42 +09:00
Guilherme Fróes Silva 05f339bc9d Adding CUDA 2017-02-07 19:20:13 -02:00
Denys Vitali 5a4349d486 Fix trailing semicolon 2017-01-30 16:36:46 +01:00
Denys Vitali afee0a47c9 Add support for nginx 2017-01-30 15:38:05 +01:00
Glavin Wiechert 46d49750e4 See #1432. Improves JS-Beautify beautifier so it will throw error when missing language
See #1458, #1471, #1483, #136, #1452
2017-01-24 21:59:11 -04:00
Deforder 77da64f4f0 Change logic to prevent eol feature override setting value
New logic + document (only insertion)
2017-01-24 21:26:19 +07:00
Deforder fa266a2e26 Removed unuse function 2017-01-14 18:09:57 +07:00
Deforder c7d20d0c10 Updated change without Docs 2017-01-14 15:58:01 +07:00
Deforder 97d62680e4 Revert "Added Overrided EOL option for JS , JSX"
This reverts commit c48eaf967e.
2017-01-14 14:47:27 +07:00
Deforder c48eaf967e Added Overrided EOL option for JS , JSX 2017-01-14 10:21:56 +07:00
s4l1h 6f9f36ac4a reverte prettydiff version 1.16.27 2017-01-13 23:21:46 +03:00
s4l1h 40a1a4237a Latest version prettydiff 2017-01-13 14:31:50 +03:00
s4l1h bf91dd2d7a Golang template support added doc. 2017-01-13 01:48:16 +03:00
s4l1h 63947d851e Golang template support. 2017-01-13 01:27:28 +03:00
Austin Cheney 8b5fad4769 Fixes #405 2017-01-05 15:35:36 -06:00
Glavin Wiechert d6a6fcde94 See #894. WIP no default value for certain Atom-Beautify language options 2017-01-03 02:07:35 -04:00
Glavin Wiechert 1fc3dbb99a See #1327. Add JavaScript to Vue language fallback options 2017-01-02 02:46:52 -04:00
Glavin Wiechert 7ad325b5ec See #1201. Crystal beautifier does not support any options 2017-01-01 00:43:57 -04:00
Jose Agustin Villalobos 30ada34bd0 Fix JS beautify on JSX and EJS 2016-12-30 15:10:12 -04:00
Glavin Wiechert ad8171e756 Fixes #977. Check for view.component before calling view.setScrollTop(value) 2016-12-30 02:44:26 -04:00
Glavin Wiechert cb052d868b See #1212. Update docs for new hh_format beautifier. 2016-12-30 01:58:15 -04:00
Glavin Wiechert 4b1a1a8292 Fix changes from review of #1212. 2016-12-30 01:55:33 -04:00
Glavin Wiechert 55216a8cef Merge branch 'master' of https://github.com/beefsack/atom-beautify into beefsack-master 2016-12-30 01:44:32 -04:00
Glavin Wiechert 236ad309ba Set Pretty Diff as default beautifier for JSX 2016-12-29 21:27:06 -04:00
Glavin Wiechert 57ff6eb6c9 Add JavaScript with JSX grammar to JSX language 2016-12-29 21:26:53 -04:00
Glavin Wiechert f26e8119cb Closes #1403. Add .ejs extension to EJS language 2016-12-29 20:08:03 -04:00
Glavin Wiechert 674c5ca69f Merge branch 'master' into master_bash_beautifier 2016-12-29 19:34:07 -04:00
Jose Agustin Villalobos 08b6aadecb Add JSX option to to JS Beautify 2016-12-29 13:08:34 -04:00
Jose Agustin Villalobos e0a01f4ed6 Add EJS options to JS Beautify 2016-12-29 01:54:04 -04:00
Glavin Wiechert acfad3f7d0 Merge pull request #1397 from cadenasgmbh/master
Added language support for GLSL via clang-format
2016-12-29 00:17:38 -04:00
Glavin Wiechert 8067b04676 Merge pull request #1380 from Foadsf/patch-1
f95 file extension was added
2016-12-29 00:12:05 -04:00
Glavin Wiechert c168c71e84 Merge pull request #1335 from bochoven/patch-1
Added plist and recipe to XML extensions
2016-12-29 00:10:07 -04:00
Glavin Wiechert 8fac5094e7 Merge pull request #1326 from phumberdroz/language_EJS
added EJS as Grammar since JavaScript Template is not longer used by …
2016-12-29 00:05:00 -04:00
Glavin Wiechert 591e51359f Switch debug info command to create new TextEditor instead of Gist 2016-12-18 18:04:01 -04:00
Pascal Häusler 640c71c2b9 Added language support for GLSL via clang-format 2016-12-05 15:05:43 +01:00
Foadsf 1bc7481c57 f95 file extension was added 2016-11-24 20:21:23 +01:00
guyskk d85bd22bcb add pybeautifier 2016-11-20 09:27:47 +00:00
Arjen van Bochoven c174b7bc9f Added plist and recipe to XML extensions
.recipe is used by autopkg for plists
2016-11-07 21:50:49 +01:00
guyskk b6c3d7dad3 fix #585: Add option to disable the loading notification 2016-11-06 14:56:46 +00:00
Pierre Humberdroz 8fa437a844 added EJS as Grammar since JavaScript Template is not longer used by the EJS Atom Plugin 2016-11-04 00:09:39 +01:00
Daniel Brodin 85d0f19e37 Use local phpcs config file if available. 2016-10-25 10:19:26 +02:00
Eli Donahue 794ecdeb09 Add '.config' extension to XML language 2016-10-19 09:58:28 -04:00
Victor Uriarte 288c11a5eb Cast remark's vfile to string
Another change on the API was the change of the return type.  It now return a vfile instead of a string.

Old:
d1c52a3b28/doc/remark.3.md (remarkprocessfile-options-done)

New:
https://github.com/wooorm/unified#processorprocessfilevalue-options-done
2016-10-08 11:57:46 -07:00
Victor Uriarte 0c28d39fe6 Update to new remark api.
Change was documented on v5.0 release

https://github.com/wooorm/remark/commit/8108fe5
2016-10-08 11:57:46 -07:00
SpacePossum e66613128d Link to the official PHP-CS-Fixer repository 2016-10-06 19:16:25 +02:00
quilicicf 306dd569b4 🆕 Add indent_size capability for beautysh 2016-09-27 22:39:56 +02:00
Glavin Wiechert db5469b73e Closes #1224, see #1209. Improve error handling of Debug helper 2016-09-25 15:32:33 -03:00
Glavin Wiechert 803c35dfa4 Close #1181. Fix error "Cannot read property 'setScrollTop' of null" 2016-09-25 14:52:44 -03:00
quilicicf b5790461cd 💚🚿 Fix build and take code review comments 2016-09-25 18:06:21 +02:00
quilicicf df89047046 🆕 Add beautysh as bash/shell beautifier 2016-09-23 18:59:28 +02:00
Michael Alexander d4506b844a Ignore empty output from hh_format 2016-09-22 13:46:01 +10:00
Michael Alexander 3be57b6c56 Use STDOUT instead of in-place 2016-09-22 13:37:22 +10:00
Michael Alexander afc0919252 Added hh_format beautifier 2016-09-22 12:57:42 +10:00
Glavin Wiechert 3ff25744f5 Merge pull request #1186 from gandm/language-babel
Add JavaScript and JSX language support for language-babel grammar.
2016-09-16 18:26:56 -03:00
gandm 880282d9be Revert addition of 'Babel ES6 JavaScript' to JavaScript language. 2016-09-16 11:09:40 +01:00
qwemaze b1d023a6fe Add PrettyDiff's bracepadding support 2016-09-15 01:26:46 +05:00
Glavin Wiechert 0f82daa55c Clean up some PR code 2016-09-11 21:14:44 -03:00
Glavin Wiechert 2c57253bd3 Merge branch 'fuse-ux' of https://github.com/louisgv/atom-beautify into louisgv-fuse-ux 2016-09-11 20:59:27 -03:00
Glavin Wiechert 84aa091a38 Merge branch 'language/nunjucks' of https://github.com/rtablada/atom-beautify into rtablada-language/nunjucks 2016-09-11 20:43:21 -03:00
Glavin Wiechert d1968da8ee Merge branch 'master' of https://github.com/dvingo/atom-beautify 2016-09-11 20:36:36 -03:00
Glavin Wiechert 243fa4167c Merge pull request #1135 from StevenIsaacs/uncrustify-config-path
Change path to uncrustify config file to be relative to the project rather than the open file.
2016-09-11 19:58:22 -03:00
Ryan Tablada 5b083d21c6 Add support for Nunjucks using PrettyDiff 2016-09-11 16:41:42 -05:00
gandm 5f7722e74c Add JavaScript and JSX language support for language-babel grammar. 2016-09-10 21:22:11 +01:00
Dan Vingo c222dd760a Use system independent separator 2016-09-04 00:19:59 -04:00
Dan Vingo e3bfb6c383 Use node module bin for cljmt 2016-09-04 00:15:37 -04:00
Dan Vingo 9ed56bd351 Add Clojure support using cljfmt 2016-09-03 21:26:54 -04:00
Sebastian DiLorenzo f748204e55 deleting r-beautifier folder, changing name of r-beautifier.r to formatR.r, changing name to formatR in index.coffee, generating docs. 2016-09-02 11:15:30 +02:00
Sebastian DiLorenzo 48fa8dd634 fixing merge conflicts 2016-08-29 11:35:41 +02:00
Aidi Stan 69aefcd1cb Fix Sass beautification and close #1088
- Remove the incomplete Sass support provided by Pretty Diff and CSScomb
- Change the default beautifier of Sass to SassConvert
2016-08-28 12:24:24 +08:00
Aidi Stan bef88cf4dc Add a new beautifier SassConvert for CSS, SCSS and Sass 2016-08-26 14:02:15 +08:00
Glavin Wiechert f7ddbf1085 Improve and update docs 2016-08-26 01:32:59 -03:00
Sebastian DiLorenzo 9d31e3bb6d Added namechanges to formatR as per Glavins suggestion. Hopefully fixed example (old default was 2 tabs rather than 4) 2016-08-25 09:55:05 +02:00
Sebastian DiLorenzo 32daae825f fixed settings and travis missing bracket 2016-08-24 17:05:58 +02:00
Sebastian DiLorenzo a8ceae0626 Adding travis R install and fixed merge 2016-08-24 12:06:56 +02:00
Glavin Wiechert 94fc58dc5d Merge pull request #1127 from emileber/json-warning
Added notification for both YAML and JSON .jsbeautifyrc parse error
2016-08-22 09:44:32 -03:00
Aidi Stan 7ebc41be64 Implement Vue Beautifier 2016-08-16 10:26:53 +08:00
StevenIsaacs 88305ae1c6 Restored the "link:" line. 2016-08-14 09:07:26 -07:00
StevenIsaacs 9ff43dafcc When the configuration for the uncrustify config file path has no path
atom-beautify had the annoying habit of prepending the path to the
file open in the editor pane. This meant that in order to use a
project specific configuration every directory would need to contain
a config file -- unnacceptable. This changes the scheme to prepend
the path to the project when no path is specified making it possible
to have a single configuration file for an entire project and also
being able to maintain the configuration under source control.
2016-08-14 09:00:29 -07:00
Louis G. Vichy 80a99c29c5 Added Test and the language file 2016-08-13 04:32:30 -04:00
Louis G. Vichy 2fa06c0203 Added Fusetool's UX view scripting language. 2016-08-13 04:31:49 -04:00
Sebastian DiLorenzo 7da7b1cf0e changing name to formatR, changing link to formatRs github, attempting to create insert_size option. 2016-08-11 14:58:22 +02:00
Sebastian DiLorenzo dd81733329 added code to r-beautifier.r that installs formatR if the package does not exist. 2016-08-10 15:26:32 +02:00
ebergeron ac11278bf4 Added notification for both YAML and JSON .jsbeautifyrc parse error 2016-08-09 22:40:32 -04:00
Sebastian DiLorenzo 1bc8d13f93 first try adding r to atom-beautify 2016-08-09 16:06:26 +02:00
Glavin Wiechert 9b3bf1b458 Merge pull request #1092 from Glavin001/Glavin001-patch-1
Close #1008. Update HTML.unformatted default value to match js-beautify
2016-08-05 11:29:23 -04:00
Glavin Wiechert 7bad8c2b14 Merge pull request #1085 from albell/master
CSS: Add newline between selectors by default
2016-07-30 22:22:16 -03:00
Glavin Wiechert c7178fef26 Close #1008. Update HTML.unformatted default value to match js-beautify 2016-07-26 11:14:43 -03:00
Glavin Wiechert 4ba714940d Close #1086. Add User-Agent to Google Analytics 2016-07-22 21:35:44 -03:00
Alex Bell 7cd21c770d CSS: Add newline between selectors by default 2016-07-22 14:21:47 -07:00
Alejandro López Almeida a942add1e6 Issue #1077 2016-07-21 23:41:52 -06:00
Glavin Wiechert 0212f49c83 Close #1061. Help Debug Editor command creates Gist (no Clipboard) 2016-07-19 01:17:21 -03:00
Tony Brix 24555bcd75 check for env.path case-insesitive in windows 2016-07-11 16:40:23 -05:00
Arman Yessenamanov 5b2e0a1ab3 Fix phpcbf hanging issue by closing stdin 2016-07-11 19:58:59 +06:00
Glavin Wiechert 4a8f8d52e8 Merge pull request #1037 from smcouch/master
Add "F90" extension
2016-07-09 00:13:59 -03:00
Glavin Wiechert 5d604a47e2 Merge pull request #1048 from pixelbacon/patch-1
Added .gsp file extension
2016-07-09 00:08:40 -03:00
Glavin Wiechert 5e8d3b832c Merge branch 'master' of github.com:Glavin001/atom-beautify 2016-07-06 14:59:53 -03:00
Glavin Wiechert 359e46e3bf Disable debugging mode of Universal Analytics 2016-07-06 14:58:37 -03:00
Ɛərɪn VonderHaar d89aa46d22 Update installation instructions link for elm-format 2016-07-05 19:20:47 -07:00
Michael Minor 5cb458424a Added .gsp file extension 2016-07-05 15:17:06 -05:00
Glavin Wiechert 41ebc5ed93 Close #596. Improve README documentation 2016-07-02 19:28:01 -03:00
Sean Couch 26ab686591 Add "F90" extension
Now works for Fortran files ending in ".F90"
2016-06-30 18:22:19 -04:00
Glavin Wiechert 21c0ce7cde Improve analytics, switch from Segment to Google Analytics 2016-06-27 23:52:48 -03:00
Glavin Wiechert ce02903f89 Add help link to ocp-indent beautifier 2016-06-24 15:31:45 -03:00
Glavin Wiechert f6f85e4a2f Fix issue where beautifier.run would not resolve promisified args 2016-06-24 15:31:11 -03:00
Glavin Wiechert 708faecad3 Merge pull request #973 from JoostvDoorn/lua
Lua beautifier
2016-06-23 19:38:27 -03:00
Glavin Wiechert c217a63ea1 Merge pull request #1011 from mweberaw/master
fixed order of home-dir expansion and project resolution
2016-06-23 19:36:36 -03:00
Glavin Wiechert efb0dff34e Merge pull request #1021 from ziacik/fix-typescript-formatter
Fix incorrent enforcement of tabs to spaces conversion in typescript
2016-06-23 19:35:16 -03:00
Glavin Wiechert f43ad7f78e Merge pull request #1025 from WhoBrokeTheBuild/master
Added "h" as a extension to the C language
2016-06-23 19:33:43 -03:00
Glavin Wiechert 7c7ab64fba Merge pull request #1023 from UziTech/UziTech-phpcbf-bat-fix
run "phpcbf.bat" instead of "php phpcbf.bat"
2016-06-23 19:26:14 -03:00
Leonard Hecker 5cee65780f Changed rustfmt beautifier to use context.filePath 2016-06-24 00:13:47 +02:00
Leonard Hecker 458fdb62e2 Severely improved support for rustfmt 0.5
rustfmt will now be run within the actual working directory instead of
a temporary one. This will allow rustfmt to correctly look up
referenced modules.
2016-06-22 14:30:25 +02:00
Leonard Hecker 852c356551 Fixed minor issue in clang-format 2016-06-22 14:28:23 +02:00
Leonard Hecker 8faa197bca Fixed spawn() resolving too early
When the "exit" event is triggered, child process stdio streams might
still be open and not flushed yet. This can lead to a loss of
stdout/stderr data.
2016-06-22 14:16:47 +02:00
Stephen Lane-Walsh 4b0cfc41a3 Added "h" as a extension to the C language
This may cause problems with the CPP language, however
2016-06-20 18:13:36 -04:00
Tony Brix 1c4d48893f run "phpcbf.bat" instead of "php phpcbf.bat"
If phpcbfPath is an executable then run it instead of running it as an argument to php
2016-06-16 20:19:25 -05:00
František Žiačik d005a96ae2 Fix incorrent enforcement of tabs to spaces conversion in typescript 2016-06-15 11:55:36 +02:00
Sina Sharifzade dd6080e435 Checks file path exists or not 2016-06-09 20:08:44 +04:30
Sina Sharifzade ee3d9b30af Checks file path exists or not 2016-06-09 19:27:43 +04:30
Sina Sharifzade 7a41635165 Remove trailing semicolon 2016-06-09 18:49:18 +04:30
Mathias Weber c45b860292 fixed order of home-dir expansion and project resolution
The uncrutify config path was first resolved against the current project folder.
This would `expand-home-dir` to not expand the home folder.

This patch should fix issues #747 and #818.
2016-06-09 16:02:38 +02:00
Sina Sharifzade aa00043818 Add .php_cs file support to php-cs-fixer beautifier 2016-06-09 18:00:03 +04:30
Joost van Doorn 7096ceb195 Lua beautifier
Simple perl script beautifier for lua, by @pkulchenko
2016-06-07 20:17:34 +02:00
Glavin Wiechert aae09ea463 Merge pull request #956 from patrick-steele-idem/marko-v3
Marko v3
2016-06-07 10:54:14 -03:00
Patrick Steele-Idem b5f130db0f Added `html` as a fallback so that settings would be inherited if not set 2016-06-01 13:10:22 -06:00
Ra100 d03bad31da Fix compatibility with atom 1.9.x #979
Due to changes between atom 1.8 and 1.9 is editor.viewRegistry not availbale,
it has to be changed to atom.views.
2016-05-18 10:48:26 +02:00
Glavin Wiechert 6c360a0442 Closes #936. Add details about opening Command Palette 2016-05-04 18:32:59 -03:00
Patrick Steele-Idem 9ff770c3f0 Fixed marko indent 2016-04-29 00:06:36 -06:00
Patrick Steele-Idem af9cc40dec Improved Marko v3 support 2016-04-28 23:09:55 -06:00
Leonard Hecker f536d97fd6 Removed cross-spawn dependency
This might fix the "spawn cmd.exe ENOENT" issue on Windows.
2016-04-28 15:57:58 +02:00
Glavin Wiechert 513ebd807c Closes #945. Update TypeScript Formatter beautifier 2016-04-23 23:24:55 -03:00
Glavin Wiechert 0cf2ee5954 Merge branch 'master' of https://github.com/petrui/atom-beautify into petrui-master 2016-04-23 16:47:22 -03:00
Glavin Wiechert 6ea9788255 Merge branch 'master' of https://github.com/fdelbos/atom-beautify into fdelbos-master 2016-04-23 16:41:20 -03:00
Glavin Wiechert 8ce6e5d376 Merge pull request #943 from ayoubdev/master
[PrettyDiff] Fixed Indent Tabs configuration ignored (issue: #910: ht…
2016-04-23 16:38:36 -03:00
ayoubdev 0152863484 [PrettyDiff] Fixed Indent Tabs configuration ignored (issue: #910: https://github.com/Glavin001/atom-beautify/issues/910) 2016-04-23 18:49:20 +02:00
Garret Wilson 268e1f5d80 Fix issue #707 by adding Atom-based EOL detection
Determines the default line ending based upon the Atom configuration
`line-ending-selector.defaultLineEnding`. If the Atom configuration
indicates "OS Default", the `process.platform` is queried, returning
CRLF for Windows systems and LF for all other systems.
2016-04-22 19:16:55 -07:00
Glavin Wiechert 4eb8607c47 Fixes #924. Prevent infinite loop with beautify on save
With the option `Ensure Single Trailing Newline` option enabled
in the Whitespace package, Atom would append a newline character after
beautification had occured and when the beautified code was saved it
would be changed and never settle on a stable text that would not change
the previously saved text in the editor. Thus an infinite loop on save.
2016-04-19 20:16:16 -03:00
Glavin Wiechert a730f33ff2 Fixes #924. Beautify On Save changes the TextEditor not the file
It seems that in a recent update of Atom, Atom-Beautify's beautify on
save feature would actually crash Atom and in some cases even delete all
of the contents of the file!

After some investigation, it looks like writing directly to the file
with fs.write may have been the culprit and crashing Atom.
2016-04-19 19:22:23 -03:00
Frederic Delbos 8b237edbee add ocaml language 2016-04-19 23:15:36 +02:00
Petru Ilies 58f7a868d7 Merge remote-tracking branch 'upstream/master' 2016-04-18 10:35:46 +03:00
Glavin Wiechert c950557438 Change cross-spawn dependency to be optionalDependency
Closes #573, #795, #922, #858, #925, #761, #902, #740.

If cross-spawn fails to install, atom-beautify will still continue to
install and work without it, with degraded support for Windows, such as
ignoring PATHEXT.
2016-04-16 19:55:13 -03:00
Glavin Wiechert 83ecac5d7e See #924. Add more verbose debugging to beautifyFilePath 2016-04-16 16:18:10 -03:00
Glavin Wiechert 78c2cc5480 See #864. Fix Logger to use renamed loggerLevel setting key 2016-04-16 16:16:56 -03:00
Glavin Wiechert c0b3ba3557 See #919. Remove options from analytics tracking
Originally tracking `options` was intended to help with debugging errors, and making sure Atom-Beautify was working for the users.
However, we now have that `Help Debug Editor` command that users can use on their own when submitting an Issue for Atom-Beautify on GitHub.
Thus, tracking the `options` is not being used for analytics (yet) and it is more advantageous to remove to reduce the information being tracked.
2016-04-14 23:24:56 -03:00
Glavin Wiechert b23f2816cc Merge pull request #899 from janmolnar/master
running provided emacs binary directly instead of running it via pyth…
2016-04-14 22:02:46 -03:00
ewgenius 4788deaa6d adding Pug extension and grammar
*.pug files can't be beautified
2016-04-13 08:18:29 +03:00
Glavin Wiechert aeb39566ab Closes #905. Add Handlebars support to Pretty Diff beautifier 2016-04-12 00:30:05 -03:00
Jan-Cornelius Molnar 55445d66ad fixed non empty check of emacs path 2016-04-10 17:31:49 +02:00
Mark Tofan 992999b347 Seems that Crystal dosen't have Windows support yet. 2016-04-08 22:38:07 +03:00
Petru Ilies 3fe678ce31 Merge branch 'master' of github.com:Glavin001/atom-beautify 2016-04-08 19:30:38 +03:00
Glavin Wiechert 11069f6b42 See #898. Improve notification for unsupported settings
Also update Lodash dependency.
2016-04-08 09:57:19 -03:00
Glavin Wiechert 4cdb738d28 See #898. Add more tests for migrate settings helper 2016-04-07 11:35:15 -03:00
Mark Tofan 0df1d8a5df Added support for Crystal language 2016-04-07 00:00:20 +03:00
Jan-Cornelius Molnar e949efa908 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/beautifiers/fortran-beautifier/index.coffee
2016-04-06 22:45:37 +02:00
Jan-Cornelius Molnar d79eda0756 running provided emacs binary directly instead of running it via python which does not work well on windows.
listening to emacs return codes.
2016-04-06 22:21:43 +02:00
Glavin Wiechert 14700008b1 Merge pull request #885 from Alhadis/deprecation-fix
Fix deprecation warnings triggered by TextEditor methods
2016-04-01 22:38:52 -03:00
Alhadis bbae6043d5 Fix deprecation warnings triggered by TextEditor methods 2016-04-02 11:05:16 +11:00
Glavin Wiechert 5b3e28b250 See #875. Add test for looking upwards .jsbeautifyrc files 2016-04-01 18:59:07 -03:00
Glavin Wiechert afa27fd50b See #864. Add Migration command from old option keys to new keys
Old:
    { LANG_OPTION: 'VALUE' }
New:
    { LANG: { OPTION: 'VALUE' }}
2016-04-01 16:57:30 -03:00
Glavin Wiechert fa9dd8dd4f Merge branch 'master' into better-settings 2016-04-01 10:40:26 -03:00
Glavin Wiechert d48768e503 Closes #199. Add Jade/Pug beautify support 2016-03-30 10:34:49 -03:00
Glavin Wiechert 50ad73d324 Fixes #879. Fix circular structure in JSON config/settings 2016-03-30 10:29:40 -03:00
Glavin Wiechert caabb95ed7 See #713. Properly extract configuration from package settings 2016-03-30 01:27:54 -03:00
Glavin Wiechert f65453d7bb See #876, #679. Build beautifier options postinstall instead of activate 2016-03-29 15:49:51 -03:00
Glavin Wiechert 232a91bb20 Merge branch 'master' of github.com:Glavin001/atom-beautify into better-settings 2016-03-29 14:41:43 -03:00
Dheepak Krishnamurthy 337d308296 Remove --style flag from yapf
The --style flag accepts different types of input. From their documentation - "accepts one of the predefined styles (e.g., pep8 or google), a path to a configuration file that specifies the desired style, or a dictionary of key/value pairs."

By not explicitly specifying the --style flag, yapf will look for the following, in that order

1. In the [style] section of a .style.yapf file in either the current directory or one of its parent directories.
2. In the [yapf] secionf of a setup.cfg file in either the current directory or one of its parent directories.
3. In the ~/.config/yapf/style file in your home directory.
2016-03-25 23:12:02 -06:00
Glavin Wiechert 4f9981cd83 Merge pull request #845 from Focus/master
Adds LaTeX language support
2016-03-25 23:43:14 -03:00
Michael Hancock 18ae07eaff Added opencl language support
OpenCL language support is achieved here simply by attaching '.CL'
extension to the 'C' language module. OpenCL is C based however beautify
will not support beautification despite having C language support, due
to the different file extension.
2016-03-24 00:34:55 +00:00
Glavin Wiechert 0121920317 See #717. Remove unsupported options for Coldfusion language 2016-03-21 13:56:01 -03:00
Glavin Wiechert ba25e1bce3 See #405, #782. Improve description of Beautify Entire File On Save option 2016-03-21 13:48:19 -03:00
Glavin Wiechert 9d88fe880d See #713. Update options documentation generator for new settings structure 2016-03-21 13:46:52 -03:00
Glavin Wiechert 74526b6821 See #713. Extract General options from package settings 2016-03-21 11:44:52 -03:00
Glavin Wiechert 2be35ca657 See #713. Delete options that do not have a supported beautifier 2016-03-21 11:21:30 -03:00
Glavin Wiechert bc8c2a835b See #713. Include options from language's fallback 2016-03-21 11:00:12 -03:00
Glavin Wiechert 48718d532c See #713. Nest language config options under Language group 2016-03-21 10:43:31 -03:00
Glavin Wiechert 99073d1e02 Fixes #758. Add XTemplate support to Pretty Diff beautifier 2016-03-21 10:39:48 -03:00
Glavin Wiechert 0c3f02d3da Fixes #766. Change default beautifier of Riotjs to Pretty Diff 2016-03-21 10:38:54 -03:00
Glavin Wiechert 433ba8e9b5 See #713. Change key from _general to general for settings 2016-03-21 01:51:30 -03:00
Glavin Wiechert 5c3d21cc70 Revert "Revert "Organize settings/options into groups that will be collapsable""
This reverts commit d97b2d2e4d.
2016-03-21 01:48:29 -03:00
Focus 75ca70bc1f Tabs changed to literal and default to using tabs 2016-03-05 10:07:23 +00:00
Glavin Wiechert bd6e735f08 See #839, #844. Add test for unique language namespaces
Removed check in Beautifiers#buildOptionsForBeautifiers
2016-03-03 20:06:23 -04:00
Glavin Wiechert d637317826 Update Lodash to v4.6.1 2016-03-03 19:49:20 -04:00
Focus ff377a7a3a Implemented options and a clean layout 2016-03-03 21:06:05 +00:00
Glavin Wiechert 3f51b02e25 Fixes #839. Throw error if languages have same namespace
Also fix XTemplate & Riot.js
2016-03-02 12:47:28 -04:00
Focus a4ff384dbf Implements #384 2016-03-02 16:45:56 +00:00
Focus df6599f2c6 Basic implementation for latex with latexindent.pl 2016-03-02 15:35:56 +00:00
Glavin Wiechert 3a6763a25c See #828, #757, #731, #750. Fix Riot.js support,
add support to Pretty diff beautifier
2016-02-25 23:30:34 -04:00
Glavin Wiechert d97b2d2e4d Revert "Organize settings/options into groups that will be collapsable"
This reverts commit f2968b797f.
2016-02-25 23:20:36 -04:00
Glavin Wiechert 792238560b Merge branches 'better-settings' and 'master' of github.com:Glavin001/atom-beautify 2016-02-25 15:20:16 -04:00