Commit Graph

317 Commits

Author SHA1 Message Date
Glavin Wiechert a8abbbb1a2 Fixes #428. Switch to event-kit, replacing emissary 2015-10-25 23:56:37 -03:00
Yang Zhang 56f3c9539f Merge branch 'master' of https://github.com/Glavin001/atom-beautify 2015-09-26 14:23:04 +08:00
Glavin Wiechert 72db1efa83 Prepare 0.28.14 release 2015-09-22 21:26:44 -03:00
Glavin Wiechert 8bd0be76b3 Prepare 0.28.13 release 2015-09-22 17:20:45 -03:00
Yang Zhang 9985f0677b Add two beautifiers: clang-format and yapf 2015-09-12 17:04:56 +08:00
Glavin Wiechert 075be2cd40 Prepare 0.28.12 release 2015-09-10 16:10:00 -03:00
Glavin Wiechert b7ea432cea Update dependencies, tests, docs 2015-09-05 09:13:15 -03:00
Glavin Wiechert d8b1976dbc Prepare 0.28.11 release 2015-08-10 11:37:26 -03:00
Glavin Wiechert 00b15f3b59 Fixes #496. Update Pretty Diff and fix adding two spaces incorrectly
Also fix the related unit tests.
2015-08-10 10:57:53 -03:00
Glavin Wiechert b7978075d0 Prepare 0.28.10 release 2015-08-05 22:36:24 -03:00
Glavin Wiechert 0cb94bf8ed Prepare 0.28.9 release 2015-08-05 12:33:20 -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
Glavin Wiechert eea0fb63ae Update test examples to pass testing with new Pretty Diff 2015-08-05 11:56:22 -03: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
Glavin Wiechert 2e2b8dbaa9 Prepare 0.28.8 release 2015-07-17 20:56:04 -03:00
Sebastian Schlatow 0872cb2d96 Add svg to keywords 2015-07-07 01:26:40 +02:00
Glavin Wiechert ae47794790 Prepare 0.28.7 release 2015-06-26 09:50:14 -03:00
Clemens Damke 00505d51c8 Merge branch 'pr/1'
Conflicts:
	package.json
2015-06-25 20:40:55 +02:00
Glavin Wiechert a4a7cb30dd Prepare 0.28.6 release 2015-06-25 09:13:12 -03:00
Glavin Wiechert a2efade4b3 Update dependencies, tests, docs 2015-06-25 09:06:05 -03:00
Clemens Damke e56304625c add JSCS Fixer
- Cannot be configured via the settings UI yet.
- Only fixes files, that have a .jscsrc file in one of their parent
folders (up to the project root folder in Atom).
2015-06-25 01:36:02 +02:00
Glavin Wiechert 75fa934dbe Prepare 0.28.5 release 2015-06-14 12:15:47 -03:00
Glavin Wiechert c93b1f8696 Fix Windows spawn issues, switch to cross-spawn
Fixes #397. sqlformat should not be able to be found and used.

See https://github.com/joyent/node/issues/2318
2015-06-12 15:19:24 -03:00
Glavin Wiechert 17a470a23c Prepare 0.28.4 release 2015-06-12 03:36:04 -03:00
Glavin Wiechert 0df387dac3 Beautify all spec/ files to pass linting with Coffeelint 2015-06-11 23:10:00 -03:00
Glavin Wiechert b0d8dfa6fb Format all internal CoffeeScript code to indent_size=2
- Using Atom Beautify's Beautify Directory feature
- Using coffee-fmt
  - Only has one bug: https://github.com/sterpe/coffee-fmt/issues/16
2015-06-11 21:59:00 -03:00
Glavin Wiechert 817cab6ce4 Prepare 0.28.3 release 2015-06-11 18:21:39 -03:00
Glavin Wiechert 7a6b5a4b7b Prepare 0.28.2 release 2015-06-10 13:57:09 -03:00
Glavin Wiechert 73221fdf9a Update all package dependencies. 2015-06-10 13:56:41 -03:00
Glavin Wiechert 94553b0a23 Prepare 0.28.1 release 2015-06-10 10:41:33 -03:00
Glavin Wiechert cf348cb7fa Prepare 0.28.0 release 2015-06-08 19:16:07 -03:00
Glavin Wiechert 6eb0319e7e Prepare 0.27.13 release 2015-06-08 16:53:19 -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 ced44eed8d Prepare 0.27.12 release 2015-06-06 15:11:14 -03:00
Glavin Wiechert 1fb211199e Prepare 0.27.11 release 2015-06-06 14:05:30 -03:00
Glavin Wiechert 66867a78b2 Prepare 0.27.10 release 2015-06-01 18:34:28 -03:00
Jan-Cornelius Molnar 4fc7c724a5 updated docs. 2015-06-01 23:29:06 +02: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
Ramón Cahenzli 6788312d5c Fixing faux possessive 'it is' -> 'its'. 2015-06-01 13:58:02 +02:00
Glavin Wiechert 7eff3387b1 Prepare 0.27.9 release 2015-05-28 12:03:36 -03:00
Glavin Wiechert ac0421f530 Update package dependencies. 2015-05-28 11:48:11 -03:00
Glavin Wiechert 3528054b36 Prepare 0.27.8 release 2015-05-27 21:36:28 -03:00
Glavin Wiechert 8e4df8da90 See #372. Update engines field in package.json 2015-05-27 20:54:24 -03:00
Glavin Wiechert a8d900425a Prepare 0.27.7 release 2015-05-27 18:06:41 -03:00
Glavin Wiechert e5aea290c6 Prepare 0.27.6 release 2015-05-22 11:03:06 -03:00
Glavin Wiechert 85905d43f1 Prepare 0.27.5 release 2015-05-21 16:53:51 -03:00
Glavin Wiechert e0ca55f302 Prepare 0.27.4 release 2015-05-20 13:42:35 -03:00
Glavin Wiechert 6fdeec51b9 Prepare 0.27.3 release 2015-05-20 12:47:14 -03:00
Glavin Wiechert 9148d3eea5 Prepare 0.27.2 release 2015-05-19 15:22:49 -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 1fe0d002b8 Update package dependencies. 2015-05-18 16:58:11 -03:00
Glavin Wiechert de405880fd Closes #332. Remove deprecated "Beautify: Beautify Editor" command 2015-05-18 15:50:35 -03:00
Glavin Wiechert 1652bd9e0b Prepare 0.27.1 release 2015-05-07 19:22:28 -03:00
Glavin Wiechert 9d77e751c5 Prepare 0.27.0 release 2015-05-06 13:11:26 -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 52d67cd0f3 Prepare 0.26.5 release 2015-05-05 14:49:26 -03:00
Glavin Wiechert b1b887c6a9 Prepare 0.26.4 release 2015-05-04 02:37:07 -03:00
Glavin Wiechert 024a6c7bdc Prepare 0.26.3 release 2015-05-04 02:14:38 -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 060266c611 Prepare 0.26.2 release 2015-05-03 13:22:18 -03:00
Glavin Wiechert 1787be274b Prepare 0.26.1 release 2015-05-03 12:01:38 -03:00
Glavin Wiechert 95530edf2d Prepare 0.26.0 release 2015-05-03 02:08:17 -03:00
Glavin Wiechert 1fd94e871b Closes #192. Add coffee-fmt beautifier for CoffeeScript language 2015-05-03 01:57:17 -03:00
Glavin Wiechert 0a0ba673e8 Closes #176. Add gofmt beautifier for Golang language 2015-05-03 01:23:29 -03:00
Glavin Wiechert 81fde0c9ea Closes #209. Add CSScomb beautifier for CSS/LESS/SCSS/Sass languages.
To switch from `JS Beautify` (CSS) or `Pretty Diff` (SCSS/Sass/LESS) to
using `CSScomb`, you will go into Atom Beautify package settings and
find the option for `Language Config - <Your Desired Language: CSS, etc>
- Default Beautifier` and select `CSScomb`.

CSScomb looks for a `.csscomb.json` file in your Atom's first project
directory. If it does not find one, or if importing it fails, it will
fallback to `csscomb` predefined configuration.
2015-05-03 01:01:33 -03:00
Glavin Wiechert 57e3ef4a48 Fixes #283. Update Coffee-Formatter and add more CoffeeScript tests 2015-05-02 23:07:45 -03:00
Glavin Wiechert 4b5477e07b Prepare 0.25.0 release 2015-05-02 22:26:41 -03:00
Glavin Wiechert a30dc62510 See #282. Fix getLanguages for finding by name and namespace
- Was causing "Duplicate option" warnings
2015-05-01 03:53:25 -03:00
Glavin Wiechert 5797b4bb00 Major improvement to tests: display diff of original vs expected 2015-04-29 16:41:57 -03:00
Glavin Wiechert 7432334d08 See #282. Restructure internal API
Done:
- Create base Beautifier class
- All Languages are separate files
- Options are separated for each language
- Beautifiers reference applicable Languages/Options
- Atom Beautify builds and tests can run
  - 19 failures out of 34 tests

TODO:
- Render Language Options to Atom Package Settings
- Support for Language fallback option namespaces
- Support for chosing from multiple applicable beautifiers
2015-04-29 04:50:09 -03:00
Glavin Wiechert 4915c38b2a Prepare 0.24.1 release 2015-04-19 21:49:34 -03:00
Glavin Wiechert ca39ac08f2 Prepare 0.24.0 release 2015-04-12 12:59:18 -03:00
Glavin Wiechert 868505da0b Prepare 0.23.4 release 2015-04-07 14:06:07 -03:00
Glavin Wiechert 42e733d1ba Prepare 0.23.3 release 2015-04-07 14:01:54 -03:00
Glavin Wiechert 712cca71f0 Prepare 0.23.2 release 2015-04-05 09:52:10 -03:00
Glavin Wiechert 0386e385d9 Prepare 0.23.1 release 2015-03-25 14:14:31 -03:00
Glavin Wiechert 31aa5fdf31 Prepare 0.23.0 release 2015-03-20 14:48:27 -03:00
Glavin Wiechert a10b363884 Prepare 0.22.5 release 2015-03-20 14:06:58 -03:00
Glavin Wiechert c84f7656aa Fixes #245, fixes #180. Add Preserve new lines support for LESS/SCSS 2015-03-20 14:06:02 -03:00
Glavin Wiechert 347dc81fc6 Prepare 0.22.4 release 2015-03-20 13:34:31 -03:00
Glavin Wiechert e67425f0f9 Fixes #240. Change Debug command name to make `beautify editor` first 2015-03-20 13:33:17 -03:00
Glavin Wiechert 41bad3c891 Prepare 0.22.3 release 2015-03-16 10:37:42 -03:00
Glavin Wiechert 62a8667d11 Prepare 0.22.2 release 2015-03-16 02:20:54 -03:00
Glavin Wiechert a4f57a403f Update prettydiff dependency to 0.11.0 2015-03-16 02:20:10 -03:00
Glavin Wiechert 3c9db26134 Prepare 0.22.1 release 2015-03-16 01:54:57 -03:00
Glavin Wiechert bc14c04f84 Closes #235. Add tilda (~) support for Uncrustify config paths 2015-03-16 01:54:27 -03:00
Glavin Wiechert 7ea50c6131 Prepare 0.22.0 release 2015-03-16 01:39:16 -03:00
Glavin Wiechert 874d281dd6 Closes #237. Add debugging information command 2015-03-16 01:36:53 -03:00
Glavin Wiechert 77ec0b2e6f Prepare 0.21.6 release 2015-03-12 13:36:11 -03:00
Glavin Wiechert fddfd0b027 Prepare 0.21.5 release 2015-03-11 13:18:38 -03:00
Glavin Wiechert 469ca04e17 Prepare 0.21.4 release 2015-03-08 12:52:53 -03:00
Filipe Silva 7d8dc10310 Unbumped package.json 2015-03-08 10:46:59 +00:00
filipesilva fdd1668c20 Updated options for js-beautify 2015-03-07 21:55:52 +00:00
Peter Shin aa06255e6f Added support Marko templates. 2015-02-21 12:27:39 -08:00
Glavin Wiechert 6d68b5c7e6 Prepare 0.21.3 release 2015-02-08 22:40:16 -04:00
Glavin Wiechert dedecf8cff Merge branch 'master' of git://github.com/aparedes/atom-beautify into aparedes-master 2015-02-02 12:32:06 -04:00
Glavin Wiechert a50c5a3c4c Clean up LESS/SCSS Unit Tests and update Prettydiff
Fixes #181 and fixes #180.
2015-02-02 12:26:40 -04: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 9566a49743 Prepare 0.21.2 release 2015-01-06 11:41:53 -04:00
Glavin Wiechert 91798257ce Prepare 0.21.1 release 2015-01-03 11:37:38 -04:00
Glavin Wiechert 0d20a43538 Prepare 0.21.0 release 2015-01-03 02:24:26 -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 954a78cf6a Prepare 0.20.2 release 2015-01-02 15:28:51 -04:00
Glavin Wiechert 39d1e945a3 Prepare 0.20.1 release 2015-01-02 01:31:09 -04:00
Glavin Wiechert f280469e77 Fixes #169. Remove JS-Yaml and use YAML-Front-Matter, resolving conflict 2015-01-02 01:30:24 -04:00
Glavin Wiechert e507701d13 Prepare 0.20.0 release 2015-01-02 01:09:00 -04:00
Glavin Wiechert e328aca56d Update CHANGELOG for v0.20.0 2015-01-02 01:08:39 -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 20206a654c Prepare 0.19.0 release 2015-01-01 23:35:56 -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 827adb5d1a Prepare 0.18.0 release 2015-01-01 17:05:33 -04:00
Glavin Wiechert dc1e720e90 Fixes #149. Update prettydiff to fix interpolated text vars in SCSS 2015-01-01 16:54:44 -04:00
Glavin Wiechert 3550280502 Closes #159, #149. Update prettydiff to fix LESS and SCSS.
- SCSS Interpolated text variables
- LESS &:extend
2015-01-01 15:15:39 -04:00
Glavin Wiechert 259bb7083d Fixes #168. Update Coffee-Formatter to fix broken CoffeeScript beautifier 2015-01-01 14:45:45 -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
Glavin Wiechert fd8c70e9ba See #159. Add failing LESS code to test once fix is available.
See https://github.com/austincheney/prettydiff/issues/31
fix is not yet available on NPM.
2014-12-27 22:21:38 -04:00
Glavin Wiechert c9f3bbc8c7 Prepare 0.17.3 release 2014-12-27 19:56:02 -04:00
Glavin Wiechert ae9ff90435 Prepare 0.17.2 release 2014-12-14 15:57:26 -04:00
Glavin Wiechert ff4a5a3a71 Fixes #135. Switch from Git to npm Coffee-Formatter dependency. 2014-12-14 15:47:33 -04:00
Glavin Wiechert 5267b119ad Prepare 0.17.1 release 2014-11-19 20:42:38 -04:00
Glavin Wiechert 7097bd3c31 Prepare 0.17.0 release 2014-11-16 10:29:29 -04:00
Glavin Wiechert 9413e06609 Prepare 0.16.0 release 2014-11-16 10:04:22 -04:00
Glavin Wiechert 428ebe44f9 Fixes #140. Update js-beautify dependency to 1.5.4. 2014-11-16 10:00:02 -04:00
Glavin Wiechert a25ad22a8d Prepare 0.15.1 release 2014-10-26 16:38:58 -03:00
Glavin Wiechert 9ec22bf43f Prepare 0.15.0 release 2014-10-26 16:17:57 -03:00
Glavin Wiechert b699143c0a Update CHANGELOG, README, and package info for v0.15.0
See #127, #123.
2014-10-26 16:17:09 -03:00
Glavin Wiechert 7e5562aecd Prepare 0.14.1 release 2014-10-21 15:35:35 -03:00
Glavin Wiechert c0ee2bed96 Closes #127. Increase startup time by using ActivationEvents 2014-10-21 15:35:08 -03:00
Glavin Wiechert 38a198c8e3 Prepare 0.14.0 release 2014-10-16 21:47:27 -03:00
ewgenius dcc9e2d3b5 Add TypeScript support 2014-10-14 11:09:38 +04:00
Glavin Wiechert 6013e7eddc Prepare 0.13.4 release 2014-10-05 13:23:25 -03:00
Glavin Wiechert 9d52c30cdd Prepare 0.13.3 release 2014-10-05 10:18:59 -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 0f734aaf47 Prepare 0.13.2 release 2014-09-28 17:32:03 -03:00
Glavin Wiechert 403143e1aa Prepare 0.13.1 release 2014-09-28 16:37:34 -03:00
Glavin Wiechert 3f64cfc03c Prepare 0.13.0 release 2014-09-28 16:28:39 -03:00
Glavin Wiechert cd3656501c Prepare 0.12.0 release 2014-09-18 01:58:19 -03:00
Glavin Wiechert 05480f3a44 Merge branch 'markdown-pandoc' of https://github.com/Bengt/atom-beautify into Bengt-markdown-pandoc 2014-09-18 01:48:58 -03:00
Glavin Wiechert 38f71aed07 Prepare 0.11.1 release 2014-09-16 14:00:28 -03:00
Glavin Wiechert 80e1c03885 Closes #96. Update Pretty-Diff dependency to ^1.2.4 2014-09-16 13:59:00 -03:00
Bengt Lüers ad662271c1 implement normalizing markdown through pandoc 2014-09-15 23:12:06 +02:00
Glavin Wiechert 30e8ce5971 Prepare 0.11.0 release 2014-09-15 00:15:54 -03:00
Glavin Wiechert 04478b1619 Prepare 0.10.4 release 2014-09-12 14:27:05 -03:00
Glavin Wiechert d483a438a1 Prepare 0.10.3 release 2014-09-10 17:12:40 -03:00
Glavin Wiechert 2c4202b472 Prepare 0.10.2 release 2014-09-10 16:34:39 -03:00
Glavin Wiechert 3784722068 Prepare 0.10.1 release 2014-09-10 10:29:13 -03:00
Glavin Wiechert de52acfcf6 Prepare 0.10.0 release 2014-09-09 01:28:37 -03:00