Glavin Wiechert
1fd94e871b
Closes #192 . Add coffee-fmt beautifier for CoffeeScript language
2015-05-03 01:57:17 -03:00
Glavin Wiechert
319ea8b558
See #176 . Remove installing Golang in Travis CI
...
It is already installed.
See https://travis-ci.org/Glavin001/atom-beautify/builds/61006636
2015-05-03 01:55:33 -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
5309497150
Closes #282 . Update CHANGELOG to v0.25.0
2015-05-02 22:18:49 -03:00
Glavin Wiechert
0e1cdd2f85
Closes #72 . Add another SCSS test file
2015-05-02 22:11:01 -03:00
Glavin Wiechert
7e22cd3944
Update CHANGELOG to v0.24.1
2015-05-02 21:01:01 -03:00
Glavin Wiechert
4a5bcc192b
Merge branch 'jney-master' into new-api
2015-05-02 20:54:20 -03:00
Glavin Wiechert
38b760ee6a
Merge branch 'master' of git://github.com/jney/atom-beautify into jney-master
...
Conflicts:
lib/langs/ruby-beautify.coffee
lib/language-options.coffee
2015-05-02 20:53:53 -03:00
Glavin Wiechert
20ff7e2d1b
See #282 . Update README for new options and language requirements
2015-05-02 20:25:04 -03:00
Glavin Wiechert
48af4a3ff6
See #282 , #284 . Move language options out of option of type `object`
...
See Atom Settings-View bug:
https://github.com/atom/settings-view/issues/386#issuecomment-98379708
2015-05-02 14:06:50 -03:00
Glavin Wiechert
a2262619ad
Closes #284 , #282 . Language config options in Package settings
...
Language config options for:
- disabled - Disable beautifying a language
- `disabled_languages` no longer works
- use the options for each language to disable them
- default_beautifier - Preferred beautifier to use for language
- if there are multiple beautifiers for a language it will choose the
beautifier the user has set as default. Initially the default
beautifier is just the first beautifier to register support for that
language
2015-05-02 12:55:37 -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
9211a03c16
See #282 . Improve Beautifier options definition handling
...
What's new:
- Beautifier options definition supports:
- boolean - enable/disable
- string - rename and enable
- function - transform and enable
- array - apply complex transformation to multiple options and
output single option result
- Show "Supported by <beautifiers>" for each language option
- Beautifiers have a name
- Beautifier options definition is used to determine if
language option is supported by a beautifier
- Remove SQL test, since sqlformat is inconsistant
2015-05-01 02:32:02 -03:00
Glavin Wiechert
26ab3ec198
See #282 . Add global language option transforms for beautifier
...
Beautifier can have global language option transforms
with "_" (underscore) key.
2015-04-30 16:45:45 -03:00
Glavin Wiechert
1a92e608d5
See #164 . Remove CLI Path options for CLI beautifiers
...
CLI beautifiers no longer need hardcoded/fixed paths
to their executable, since the PATH and
other environment variables are being auto-detected
2015-04-30 15:53:24 -03:00
Glavin Wiechert
240368fb09
Closes #164 . Auto-detect Shell environment variables
2015-04-30 15:13:53 -03:00
Glavin Wiechert
f7939e7d00
Remove PHP56 and PHP-CS-Fixer from Travis CI installation
2015-04-30 13:29:53 -03:00
Glavin Wiechert
0b1d0216d9
All tests should pass with new internal API
2015-04-30 13:23:41 -03:00
Glavin Wiechert
b245e98461
Add more logging for debugging PHP installation on Travis CI
2015-04-30 12:14:08 -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
9d6dc8d04f
Remove installation of PHP56 and PHP-CS-Fixer for Travis CI
2015-04-29 16:16:20 -03:00
Glavin Wiechert
852a64e66f
Add $HOME/.atom to Travis CI cache
2015-04-29 13:13:06 -03:00
Glavin Wiechert
d23d00e9a1
Enable caching for Travis CI
2015-04-29 05:17:37 -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
abd9c21246
Merge pull request #279 from wanton/master
...
Updates context-menu to use new api
2015-04-19 21:46:42 -03:00
Glavin Wiechert
613a7599c8
Fix SQL beautification tests
2015-04-19 21:24:59 -03:00
Glavin Wiechert
65c1d1fa0b
Merge pull request #278 from KoharaKazuya/master
...
Fix incorrect name for pandoc path option
2015-04-19 20:49:31 -03:00
Anton Wernvik
6810805e3e
Updates context-menu to use new api
2015-04-16 12:43:20 +02:00
KoharaKazuya
895515f6bd
Fix checking method for empty pandoc path option
2015-04-16 07:50:18 +09:00
KoharaKazuya
2fe815e47c
Fix incorrect name for pandoc path option
2015-04-15 20:40:57 +09:00
Glavin Wiechert
baa58ab5d5
Merge pull request #276 from miketheman/miketheman/changelog
...
CHANGELOG.md update from v0.21.4 to v0.24.0 [ci skip]
2015-04-12 16:14:40 -03:00
Mike Fiedler
f3d137b184
CHANGELOG.md update
...
Update for changelog events between 0.21.4 and 0.24.0.
Pimps out the changelog style to auto-add links to names and pull
requests.
[ci skip]
2015-04-12 22:02:47 +03:00
Glavin Wiechert
ca39ac08f2
Prepare 0.24.0 release
2015-04-12 12:59:18 -03:00
Glavin Wiechert
6204ebbff6
Closes #122 . Add Titanium style Sheets (TSS) support
...
See #238 .
2015-04-12 12:58:16 -03:00
jean-sebastien ney
755da224f2
replacing rbeautify with rubocop
2015-04-11 16:44:07 +02:00
Glavin Wiechert
ca9b20c43d
Temporarily disable failing PHP tests
...
Until new tests for PHP-CS-Fixer 1.6
can be made
2015-04-07 14:49:28 -03:00
Glavin Wiechert
868505da0b
Prepare 0.23.4 release
2015-04-07 14:06:07 -03:00
Glavin Wiechert
fad95974d7
Fixes #266 . Rename incorrect `indent_character` option to `indent_char`
...
For wrapper of Prettydiff that is used for SCSS and LESS.
CSS uses js-beautify and the option is `indent_char`.
2015-04-07 14:03:42 -03:00
Glavin Wiechert
42e733d1ba
Prepare 0.23.3 release
2015-04-07 14:01:54 -03:00
Glavin Wiechert
6c8cce31c6
Fixes #269 . Fix beautifying PHP with CLI path set for Windows
...
Windows requires `php` command to interpret php-cs-fixer
2015-04-07 13:59:14 -03:00
Glavin Wiechert
712cca71f0
Prepare 0.23.2 release
2015-04-05 09:52:10 -03:00
Glavin Wiechert
6654bc3697
Merge pull request #263 from MGAio/patch-1
...
php prefix is not necessary for php-cs-fixer
2015-04-05 09:51:48 -03:00
George Mincof
ccc7631bcd
php is not necessary
2015-03-31 19:38:51 +03:00
Glavin Wiechert
9d9f52141e
Set phar.readonly to Off in php.ini for Travis CI
2015-03-29 21:27:37 -03:00
Glavin Wiechert
6173a93463
Setup Travis CI to install php56
2015-03-29 20:54:58 -03:00
Glavin Wiechert
bf53760c09
Add homebrew-php tap to homebrew for Travis CI
2015-03-29 20:47:39 -03:00