Glavin Wiechert
99299e5d30
Fixes #736 . Change unformatted option default value to match js-beautify
2016-01-12 14:27:30 -04: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
Glavin Wiechert
bc99f6c598
See #18 . Most of the language tests are successful.
...
Tests that start with underscores (_) are hidden and not tested.
Those must eventually be solved.
2014-12-28 03:23:05 -04:00
Glavin Wiechert
b147ecd9fa
See #18 . Implement foundation for Specs.
...
What's New:
- Directory structure for specs examples to be tested
- Dynamically generated specs for all tests/sample source code
TODO:
- Fix expected test output file contents to be correct
2014-12-28 02:29:03 -04:00
Donald Pipowitch
bb9d241ebb
refactored package, added keymaps and menus
2014-03-04 08:07:45 +01:00