Coder Social home page Coder Social logo

sindresorhus / atom-perfectionist Goto Github PK

View Code? Open in Web Editor NEW
19.0 6.0 0.0 15 KB

Beautify CSS and SCSS

Home Page: https://atom.io/packages/perfectionist

License: MIT License

JavaScript 95.34% CSS 2.29% HTML 2.37%
perfectionist scss css beautify formatter atom-plugin atom-package deprecated

atom-perfectionist's Introduction

Deprecated

The Perfectionist project is no longer maintained.


perfectionist

Beautify CSS and SCSS with Perfectionist

Issues with the output should be reported on the Perfectionist issue tracker.

Install

$ apm install perfectionist

Or, Settings → Install → Search for perfectionist

Usage

Open the Command Palette and type beautify css or perfectionist.

You can also select some CSS or SCSS in a HTML file and do the above.

There's a Format On Save option and more in the settings.

Keyboard shortcut

Set the keyboard shortcut you want in your keymap:

'atom-text-editor':
	'cmd-shift-x': 'perfectionist:beautify-css'

License

MIT © Sindre Sorhus

atom-perfectionist's People

Contributors

robbiethewagner avatar sindresorhus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

atom-perfectionist's Issues

Run on save

Would like to be able to have this run on save

Run on save and/or key command

I usually do not like to use the command palette, and I would prefer that this just run when I save files or when I do some key binding. Could we add this support? I've never really done much with developing plugins for Atom, so not sure how much help I would be.

Indent with tabs

Currently you can only indent with spaces. Can you add an option to use tabs?

TextEditor.get is deprecated.

TextEditor.prototype.displayBuffer has always been private, but now
it is gone. Reading the displayBuffer property now returns a reference
to the containing TextEditor, which now provides some of the API of
the defunct DisplayBuffer class.

TextEditor.get (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:105:14)
<unknown> (.atom/packages/perfectionist/index.js:44:76)

ATOM created the above content (quite conveniently) and I am not sure whether this library is still being maintained, but thought I would raise the issue. Kind regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.