Commit Graph

65 Commits

Author SHA1 Message Date
Glavin Wiechert b41daabaa6 Closes #297, #265. Add missing Pretty Diff options for CSS/SCSS/Sass/LESS 2015-06-08 18:34:56 -03:00
Glavin Wiechert ce503cb80a Retrieve/use absolute path of executable within Beautifier::run
See #375. Will help with debugging Windows CI
2015-06-08 11:20:52 -03:00
Glavin Wiechert 52d0538f41 Closes #309. Add language Twig and use Pretty Diff beautifier. 2015-06-06 15:10:35 -03:00
Glavin Wiechert 7c69428a99 See #311. Show installation instructions when beautifiers are missing
- autopep8
- perltidy
- ruby-beautify
- sqlformat
- uncrustify
2015-06-06 13:58:16 -03:00
Glavin Wiechert b0d8d7dd1e See #358. Add Rustfmt beautifier for Rust language support 2015-06-06 13:45:56 -03:00
Glavin Wiechert 5469dd56bd Show installation and setup instructions when cannot find php-cs-fixer
See #311. Closes #288.
2015-06-06 13:44:58 -03:00
Glavin Wiechert c9159f2a92 Closes #311. Show more informative error when beautifier not found 2015-06-06 13:36:47 -03:00
Jan-Cornelius Molnar 9024f2b2f7 Merge remote-tracking branch 'upstream/master' 2015-06-01 23:19:03 +02:00
Jan-Cornelius Molnar b45e9d2078 moved all fortran beautifier files into common directory. 2015-06-01 23:17:49 +02:00
Glavin Wiechert 5c663cd9e0 See #58. Add package options to autogenerated documentation 2015-06-01 16:50:09 -03:00
Glavin Wiechert f10f414296 Merge branch 'master' of github.com:Glavin001/atom-beautify 2015-06-01 16:03:05 -03:00
Glavin Wiechert 9e90708a55 See #58. Add automatic documentation generation for Options
npm run docs
2015-06-01 15:52:33 -03:00
Jan-Cornelius Molnar 1d88194bce Fixed reference to gnu.
Added small test for fortran.
2015-06-01 20:01:34 +02:00
Jan-Cornelius Molnar c75ad31778 Migrated Fortran support to new layout. 2015-06-01 19:48:37 +02:00
Ramón Cahenzli 6788312d5c Fixing faux possessive 'it is' -> 'its'. 2015-06-01 13:58:02 +02:00
Glavin Wiechert 9fe8506532 Fixes #370. Nest EditorConfig options under _default namespace
- Add test for using EditorConfig
- Apply transformations to EditorConfig options in promise
  - Handle indent_style for space and tab
2015-05-28 12:01:24 -03:00
Glavin Wiechert 3036222690 See #370. Resolve promises in allOptions for Help Debug Editor 2015-05-28 11:48:36 -03:00
Glavin Wiechert fd00de7067 Fixes #338. Restore cursor and scroll position for beautify on save 2015-05-27 21:32:55 -03:00
Glavin Wiechert 7ac05d1a66 See #372. Fix deprecation, call ::getActiveTextEditor instead
Closes #366.
2015-05-27 20:54:24 -03:00
Glavin Wiechert ecd1012458 See #372. Fix deprecation, switch to using atom-space-pen-views 2015-05-27 20:54:19 -03:00
Glavin Wiechert 28d2068bcd Fixes #370. Allow Promises in allOptions for beautification 2015-05-27 18:05:30 -03:00
Alex Wilson 7526a1864d Enable typescript-formatter defaults. 2015-05-21 22:58:06 -06:00
Glavin Wiechert d1dd3b2059 Closes #349. Add Visualforce language and use Pretty Diff beautifier 2015-05-21 16:44:19 -03:00
Glavin Wiechert 559c2ecbd7 Fixes #353. Fix support for extensions with getLanguages 2015-05-20 13:37:47 -03:00
Glavin Wiechert 60b86df3ba Merge pull request #348 from luisrudge/patch-1
Add .js to the extensions supported by the JSX language
2015-05-20 13:14:20 -03:00
Glavin Wiechert bb3b9c99a7 Fixes #288. Add custom command for PHP-CS-Fixer on Windows 2015-05-20 12:46:26 -03:00
Glavin Wiechert 3913267804 Closes #350. Add grammar HTML (Angular) to Embedded JavaScript language 2015-05-20 12:27:14 -03:00
Glavin Wiechert f78fa314cd Closes #351. Update TypeScript beautification tests 2015-05-20 12:18:38 -03:00
ewgeniux 25e2a754d5 fix typescript support 2015-05-20 11:06:21 +03:00
Luís Rudge 98d0d5ac3c fixes #144 for good 2015-05-19 16:14:11 -03:00
Glavin Wiechert 573a949b6f Closes #346. Merge options for language namespace, fallbacks, _default 2015-05-19 15:02:23 -03:00
Glavin Wiechert 5fd07cff9c Update coffee-fmt to v0.10.2 and beautify internal source code 2015-05-19 09:40:59 -03:00
Glavin Wiechert 94fc870b84 Closes #323. Add language Swig with grammar HTML (Swig) 2015-05-18 18:08:06 -03:00
Glavin Wiechert 5d085f0f5c Add debugging logs to JS-Beautify and Coffee-Fmt beautifiers 2015-05-18 16:58:52 -03:00
Glavin Wiechert 2c04729e5c Merge branch 'master' of github.com:Glavin001/atom-beautify 2015-05-18 15:52:48 -03:00
Glavin Wiechert de405880fd Closes #332. Remove deprecated "Beautify: Beautify Editor" command 2015-05-18 15:50:35 -03:00
Glavin Wiechert 623f34ad89 See #144. Add JavaScript (JSX) grammar to JSX language 2015-05-14 21:55:00 -03:00
Glavin Wiechert 1335313dc6 Beautify internal files, beautify.coffee and beautifiers/index.coffee 2015-05-07 19:22:01 -03:00
Glavin Wiechert b73d398cf4 Fixes #314. Beauify On Save will save then beautify the file on disk 2015-05-07 19:13:25 -03:00
Glavin Wiechert 66c1522dcc Closes #178. Change commands' namespace from "beautify" to "atom-beautify" 2015-05-06 13:00:51 -03:00
Glavin Wiechert a94721e1b5 Closes #308. Beautify On Save is opt-in for each language
Deprecate old global beautifyOnSave option
2015-05-06 12:35:34 -03:00
Glavin Wiechert d1b0e6d66d See #296. Add package option for setting logger level 2015-05-06 12:34:58 -03:00
Glavin Wiechert 2b7bbb35a7 See #317. Use Warning notification, improve message for unsupported lang 2015-05-05 14:46:18 -03:00
Glavin Wiechert d58f688dab Closes #317. Switch from addFatalError to addError for showing errors
Fatal Error notifications were scaring the users
2015-05-05 13:08:50 -03:00
Glavin Wiechert bdb1fc0d38 Fixes #289. Remove deprecated subscription call to TextBuffer.on
Also `beautify on save` is checked on every save,
not just on Atom Beautify activation / startup.
2015-05-05 13:01:58 -03:00
Glavin Wiechert 8bcf4efcfa Fixes #305. Beautify input in single temp file for HTMLBeautifier
- Enable HTMLBeautifier tests for Travis CI
2015-05-04 02:32:25 -03:00
Glavin Wiechert 1dfac5bbab Closes #296. Add logging to `Help Debug Editor` command 2015-05-04 02:12:02 -03:00
Glavin Wiechert 88c58a20bb See #296. Add Logging API to Beautifier 2015-05-03 14:50:33 -03:00
Glavin Wiechert cc9b8e8ff2 See #294. Add missing argument to PHP-CS-Fixer beautifier
And enable tests for Travis CI
2015-05-03 12:50:45 -03:00
Glavin Wiechert 141bca7aba Add support for beautifiers ignoring CLI return code
Rubocop always returns an error code (1) instead of a good code (0) so
the beautifier has now been configured to ignore the return code / exit
status for only Rubocop beautifier. Other beautifiers will properly
return error when an bad return code is received.
2015-05-03 12:22:24 -03:00