Glavin Wiechert
bc21afd424
Add Executable class to abstract CLI beautifiers
2017-05-28 18:21:10 -03:00
Dan Vingo
9ed56bd351
Add Clojure support using cljfmt
2016-09-03 21:26:54 -04:00
Aidi Stan
86f83c80aa
Fix AppVeyor CI
2016-08-16 14:05:06 +08:00
Joost van Doorn
7096ceb195
Lua beautifier
...
Simple perl script beautifier for lua, by @pkulchenko
2016-06-07 20:17:34 +02:00
Glavin Wiechert
4cdb738d28
See #898 . Add more tests for migrate settings helper
2016-04-07 11:35:15 -03: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
400f019576
See #713 . Add tests for extracting configuration from package settings
2016-03-30 01:28:48 -03:00
Glavin Wiechert
43a3647e31
Disable language tests on examples
2016-03-30 01:26:55 -03: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
5fe5f3603f
See #817 . Remove MavensMate package
2016-02-21 17:23:23 -04:00
Glavin Wiechert
33ae978204
See #817 . Install MavensMate package for Apex testing
2016-02-21 16:46:27 -04:00
Glavin Wiechert
34a3297858
Merge branch 'master' of git://github.com/jdcrensh/atom-beautify into jdcrensh-master
2016-02-20 15:32:57 -04:00
Glavin Wiechert
2b6b026cc6
Merge pull request #733 from LaurentTreguier/master
...
Adding dfmt support for D
2016-02-20 15:24:54 -04:00
Jon Crenshaw
718184554a
Add Apex language support
...
Include support for Salesforce's Java-like "Apex" language
2016-02-17 21:54:08 -08:00
Glavin Wiechert
99299e5d30
Fixes #736 . Change unformatted option default value to match js-beautify
2016-01-12 14:27:30 -04:00
LaurentTreguier
e4f97f70b9
Update beautify-languages-spec.coffee
2016-01-07 13:22:24 +01:00
Glavin Wiechert
50bb7d737e
Remove Atom package language-tss dependency for testing
2015-11-02 13:59:57 -04:00
Sebastian Schlatow
a58ebf889d
Add SVG support
2015-07-07 00:08:09 +02:00
Glavin Wiechert
2dbf680d76
Increase timeout duration to 60 seconds for language beautification tests
2015-06-14 11:36:42 -03:00
Glavin Wiechert
590dbc805e
See #390 . Use global php-cs-fixer on Windows without running within php
...
By using [node-which](https://github.com/isaacs/node-which )
I believe I am able to get rid of the `php` command running
`php-cs-fixer` as an argument.
`which` will find the `php-cs-fixer` program by looking through
the `PATH` environment variable listed directories.
This will resolve `php-cs-fixer` to an absolute path to the executable
and that will be used to run the command.
This dramatically cleans up the `PHP-CS-Fixer beautifier` code and specs, too!
Doing some Windows tests now.
2015-06-12 01:22:14 -03:00
Glavin Wiechert
5094d76930
Fix typo in beautify-languages-spec, calling text.replace when not string
2015-06-11 23:50:24 -03:00
Glavin Wiechert
0df387dac3
Beautify all spec/ files to pass linting with Coffeelint
2015-06-11 23:10:00 -03:00
Glavin Wiechert
6b7b3d6401
Fix failing PHP-CS-Fixer Beautifier specs, disable some on Windows
2015-06-11 22:07:56 -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
7c9281e4b4
Fix PHP-CS-Fixer beautifier specs for missing php/php-cs-fixer
2015-06-11 21:16:05 -03:00
Glavin Wiechert
8ff76bc41d
Fix typo in php-cs-fixer spec, mocking env should be object
2015-06-11 18:51:36 -03:00
Glavin Wiechert
2663b41505
See #394 . Improve error message when program cannot be found
2015-06-11 17:37:23 -03:00
Glavin Wiechert
68070d5b4b
Fix showing of options when a test fails when running specs
2015-06-10 17:30:44 -03:00
Glavin Wiechert
01d7f2f9bb
Show options when a test fails when running specs
2015-06-10 17:02:22 -03:00
Glavin Wiechert
9afde9bfd1
Clean up logging, remove atom-typescript from specs
2015-06-10 16:45:34 -03:00
Glavin Wiechert
d6297bdefc
Replace invisible chars (space, tab, newline) w/ visible chars in specs
2015-06-10 16:12:19 -03:00
Glavin Wiechert
658f5b23d9
Fix typo in beautify-languages-spec causing failing tests to pass
2015-06-10 13:11:20 -03:00
Glavin Wiechert
d78b3590ca
See #375 . Set log level to verbose for running specs on Windows
2015-06-08 11:24:32 -03:00
Glavin Wiechert
945732057d
Add missing package dependencies for atom-typescript package
2015-06-06 16:56:01 -03:00
Glavin Wiechert
4a1184eba5
Install atom-typescript as dependent Atom package for tests
2015-06-06 16:05:41 -03:00
Glavin Wiechert
c9159f2a92
Closes #311 . Show more informative error when beautifier not found
2015-06-06 13:36:47 -03:00
Glavin Wiechert
4e12ce9c6c
Add check for when Language or Beautifier is not found in tests
2015-05-21 16:43:37 -03:00
Glavin Wiechert
573a949b6f
Closes #346 . Merge options for language namespace, fallbacks, _default
2015-05-19 15:02:23 -03:00
Glavin Wiechert
94fc870b84
Closes #323 . Add language Swig with grammar HTML (Swig)
2015-05-18 18:08:06 -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
65ef42fadb
Properly handle errors in spec tests with Promises
2015-05-03 12:20:31 -03:00
Glavin Wiechert
0a0ba673e8
Closes #176 . Add gofmt beautifier for Golang language
2015-05-03 01:23:29 -03:00
Glavin Wiechert
0b1d0216d9
All tests should pass with new internal API
2015-04-30 13:23:41 -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
6204ebbff6
Closes #122 . Add Titanium style Sheets (TSS) support
...
See #238 .
2015-04-12 12:58:16 -03:00
Peter Shin
aa06255e6f
Added support Marko templates.
2015-02-21 12:27:39 -08: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
314c267d9b
See #18 . Use default config options instead of Atom Editor for specs
2014-12-28 16:18:30 -04:00