Commit Graph

31 Commits

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