Comments (4)
Would you not consider that format somewhat compressed/obfuscated? This point of this plugin is to beautify code to make it easier, not harder, to read.
You might have written CSS like this 9 years ago to save bytes perhaps? These days there's no reason to write code like that. I understand it's personal preference at the end of the day.
I'll keep this ticket open to see if there's a possibility of providing different formatting options in the future.
from sassbeautify.
I asked for only a simple thing and all I got was an insulting comment in return.
I write CSS this way, because I do no care about properties, but care about the selectors and how many of them can I see at once with my eyes. this improves development time greatly, when a developer can see as much code as possible, at once. properties do no matter, but proper arrangement and managing of selector does. This is a 5 minutes task for you. I most certainly NEVER ever did that to save bytes! that is such an insult. that is only done in the build process, when files are being minified. in the past I used to do it manually with regex. Today there are automated tools. I myself am managing dozens of projects and requests from people and considering things, even if they take me days to fix, and this thing I ask is really a no-brainer, and is a great option for your very nice script. I have another idea as well:
a shortcut key that would expect a current selector and contract it, so while I want to work on properties, I would view it expanded, and while i'm working on selectors, contracted. it the EVOLUTION of CSS working, IMHO. Thanks you very much in any case.
from sassbeautify.
Please try to remain decent and civil. I did not intend to insult you, I did say I understand it's personal preference. As I said, I will keep this ticket open while I explore the possibility of different formatting options. There's no such thing as a 5 minute task in the world of programming, I've put many many hours into developing this plugin, please try to have a bit of respect.
from sassbeautify.
why not 5 minutes? how about 1 minute? seems like this simple regex does it:
http://regex101.com/r/gZ6cJ3#PCRE
from sassbeautify.
Related Issues (20)
- General config file in repo for sharing between developers
- Not working after latest ST3 Update HOT 2
- Option to re-order css properties on beautify HOT 3
- Leading zero HOT 1
- [Errno 2] No such file or directory: 'sass-convert' HOT 7
- Indentation HOT 4
- Extra line between comment and closing bracket HOT 1
- Add missing semicolons automatically rather than sass-convert throwing error
- Double quotes in single quotes are changed on compile
- Simply not working
- it does't work and throw a error 'UnicodeDecodeError'
- UTF-8 not supported
- SassBeautify throwing the following error - No such file or directory 'sass-convert' HOT 9
- Attempting to use BEM methodology Sass breaks formatting
- Ability to set FinalNewline to true HOT 1
- [Errno 2] No such file or directory: 'sass-convert' HOT 2
- Double quotes are changed on compile
- Allow manual use on non .scss/.sass/.css files. HOT 1
- Error
- going insane
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sassbeautify.