Commit Graph

149 Commits

Author SHA1 Message Date
Emanuele Tonello e138cd4dcd add option to specify path for rubocop and usage in relative beautifier 2015-11-19 17:45:07 +10:00
Glavin Wiechert 6bbea4c04e Improved "Help Debug Editor" command. Result diff, shorten log path
What's new:
- Results also show a diff between original and beautified text
- File paths in logs are now shortened to remove atom-beautify/src and
  everything before that
- Confirmation message shows link to contribution guidelines.
    - /cc
      https://github.com/Glavin001/atom-beautify/issues/670#issuecomment-157946572
2015-11-19 01:45:22 -04:00
Glavin Wiechert 675a30c6ce See #535. Change on save check from editor.alive to editor.isAlive() 2015-11-14 13:42:19 -04:00
Clinton Bloodworth 4954dca13f Closes #535. Do not restore editor positions if editor is destroyed. 2015-11-13 14:54:51 -06:00
Daniel Diekmeier 897c426f59 Fix missing space in "tomarkup" 2015-11-10 14:05:54 +01:00
Glavin Wiechert f36a1d15e2 Merge branch 'master' of https://github.com/hayatae/atom-beautify into hayatae-master 2015-11-02 14:11:58 -04:00
Glavin Wiechert 92e7fe9c8a Merge branch 'master' of https://github.com/prettydiff/atom-beautify into prettydiff-master 2015-11-02 14:04:01 -04:00
Glavin Wiechert 266ad49ab4 Merge pull request #623 from danielbayley/master
Improve CSScomb support
2015-10-30 11:50:47 -03:00
Daniel Bayley 4a06a683c6 Improve CSScomb support
Add setting for custom config file path and support for CSON in addition to the standard JSON config.

Signed-off-by: Daniel Bayley <daniel.bayley@me.com>
2015-10-30 13:18:36 +00:00
Nikolay Kolev adb96e0807
Remove redundant comments 2015-10-29 20:25:22 -07:00
Bob Long c4b795bb0b Support stylish-haskell 2015-10-29 18:56:51 +00:00
Glavin Wiechert a8abbbb1a2 Fixes #428. Switch to event-kit, replacing emissary 2015-10-25 23:56:37 -03:00
Jeff Wheeler 1f2b525f58 See #524. Added support for methodchain setting in prettydiff. 2015-10-07 19:57:56 -04:00
Austin Cheney b4451f7e07 JSP support via beautifying as XML in Pretty Diff 2015-10-03 17:09:58 -05:00
Yang Zhang c89077819f Fix lint errors 2015-09-27 18:14:00 +08:00
Yang Zhang c56735f2fb Make explicit return of promises in clang-format beautifier 2015-09-26 22:25:28 +08:00
Yang Zhang 088cc39790 Enhance clang-format beautifier with better error check 2015-09-26 17:59:30 +08:00
Yang Zhang 56f3c9539f Merge branch 'master' of https://github.com/Glavin001/atom-beautify 2015-09-26 14:23:04 +08:00
Glavin Wiechert 013ecd6fe6 Fix linting code problems 2015-09-25 18:24:39 -03:00
Filipe Silva d1aa61840a Default prettydiff comments to indent
Close #561
2015-09-23 01:21:59 +01:00
Austin Cheney 5321f8c085 changing per request 2015-09-22 14:11:11 -05:00
Austin Cheney 6f99dd6a51 resolved some minor changes 2015-09-22 13:47:06 -05:00
Austin Cheney 7b9001e478 Push request for issue #559 2015-09-22 13:15:18 -05:00
Yang Zhang 185edce22e Disable options in clang-format formatter 2015-09-23 00:18:35 +08:00
Yang Zhang 9985f0677b Add two beautifiers: clang-format and yapf 2015-09-12 17:04:56 +08:00
Glavin Wiechert 971a87fcd8 See #524, #534. Add end_with_comma option to JavaScript using Pretty Diff 2015-09-10 16:08:58 -03:00
Glavin Wiechert 8854104f75 Merge branch 'master' of github.com:Glavin001/atom-beautify 2015-09-10 16:07:03 -03:00
Glavin Wiechert 795d18de90 See #524 and #543. Add no_lead_zero to CSS with Pretty Diff support 2015-09-10 16:05:19 -03:00
Florian Lefèvre 7c2ca2d647 Add JSBeautify extra_liners option in Settings View 2015-09-08 21:55:25 +02:00
Glavin Wiechert 4e528809f0 Closes #529. Improve documentation generation for package options
Show difference between Atom Beautify package option and
language config options in generated documentation
2015-08-31 19:25:40 -03:00
Machiste Quintana df569a9f4e Properly dispose of all subscriptions 2015-08-10 08:13:03 -04:00
Machiste Quintana fcdc684bde Properly dispose of most subscriptions 2015-08-10 08:05:20 -04:00
Juan Garcia 7d52e8da8b ahh, stop over complicating stuff please. thanks 2015-08-05 20:14:10 -05:00
Juan Garcia 345c472008 Merge branch 'master' into bug/nullgrammar 2015-08-05 19:02:46 -05:00
Glavin Wiechert b33f9b1745 Merge pull request #436 from tcl16/master
add language scopes to atom language config gets
2015-08-05 12:21:16 -03:00
Glavin Wiechert 0b7a9b516a Merge pull request #486 from kelvix/bug/perltidy
Fixes #479. Fix handling perltidy_profile option when it is an empty string
2015-08-05 12:20:15 -03:00
Glavin Wiechert 30681e9a8a Merge branch 'feat/puppet' of https://github.com/kelvix/atom-beautify into kelvix-feat/puppet 2015-08-05 12:14:02 -03:00
Glavin Wiechert 50fae4654e Merge pull request #488 from MeetMe/gherkin-grammar
Add Gherkin grammar support
2015-08-05 12:13:22 -03:00
Joe Hansche b13fa00d98 Remove the debug_lexer option, replace with loggerLevel check 2015-08-04 13:26:23 -04:00
Joe Hansche 758fe29253 Fix the way @tags are written out
Tags are typically separated by spaces, not newlines.

I suppose this could be an option
2015-08-04 13:25:28 -04:00
Joe Hansche ff6ee21db9 Add Gherkin grammar support
This resolves Glavin001/atom-beautify#377

Uses the https://github.com/cucumber/gherkin/tree/master/js node.js
package to use the official Lexer class.

The only known issue I've seen so far is that it does not format
tables properly -- the columns are not resized to match the widest
cell in each column.
2015-07-30 02:53:57 -04:00
Juan Garcia 49c6a113ad strange handling of null language for when a grammar we don't support is debugged 2015-07-29 22:27:40 -05:00
Juan Garcia 425a2cb081 fixes #479 2015-07-29 18:24:18 -05:00
Juan Garcia 632ca05f6c shoo console.log 2015-07-26 23:09:28 -05:00
Juan Garcia ba8584af34 coffee-linter installed no more guess work 2015-07-25 17:38:25 -05:00
Juan Garcia 0b2d519a69 lint spacing fixes 2015-07-25 16:44:44 -05:00
Juan Garcia ae226e24fb puppet support via puppet-lint 2015-07-25 15:19:37 -05:00
Juan Garcia 554ba8db83 🐛 fix the apparent race condition in moving to line 1 and displaying text 2015-07-22 21:08:53 -05:00
Jared Szechy 448888a653 Add Arduino language 2015-07-19 22:27:41 -04:00
Teemu Sirkiä cc3d2b188b Beautify Swig templates with handlebars instead of markup 2015-07-17 23:28:55 +03:00