Commit Graph

256 Commits

Author SHA1 Message Date
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