Comments (4)
Hi @davidpaulsson. Sorry this reply has taken so long -- I've been in a hospital for a bit while my wife gave birth to our third son (file that under "weird things to mention in a GitHub issue").
Thanks for the nice words, too, about the package.
RE your problem. Is your file named with a .less
extension?
from atom-csscomb.
No need to apologize :)
And yes, it's a .less file.
from atom-csscomb.
Odd, looking at your example, I can get it to sort (using the "zen" CSScomb setting) to:
.filter-sort__trigger {
display: block;
margin-bottom: @half-spacing-unit*0.5px;
color: darken(@primary,20%);
text-align: center;
text-transform: uppercase;
.milli();
@media @medium {
margin-bottom: @base-spacing-unit*1px;
}
}
My guess here is that you may have some content in there, somewhere (?) that makes the parser choke -- I did that by omitting a :
when I was transcribing your markup... but I don't see anything obvious.
The package does output error messages to the Developer Tools console. Can you try running "Window: Toggle Dev Tools" and check the console tab? Maybe you'll see something like Uncaught Error: Parsing error at undefined: Please check the validity of the CSS block starting from the line #6
-- or maybe I'm just hoping that's the case :-)
from atom-csscomb.
Please let me know if you continue to see this issue. Thanks!
from atom-csscomb.
Related Issues (20)
- CSScomb throws error on scss file HOT 1
- Uncaught Error: Parsing error at undefined: Please check the validity of the CSS block starting from the line #5 HOT 1
- Use the `atom-workspace` tag instead of the `workspace` class. HOT 3
- Uncaught Error: Parsing error at undefined: Please check the validity of the CSS block starting from the line #53 HOT 1
- Failed to activate the csscomb package HOT 2
- Uncaught TypeError: Cannot read property '1' of undefined HOT 1
- Use activationCommands instead of activationEvents HOT 2
- Atom.Object.defineProperty.get is deprecated. HOT 2
- Deprecated Atom APIs will be removed June 1st HOT 2
- Alpha Ordering HOT 3
- Uncaught TypeError: Cannot read property 'findWrapColumn' of undefined
- Uncaught TypeError: Cannot read property 'forEach' of undefined
- Does not sort at all HOT 2
- How to add line break for option in config.cson file ? HOT 8
- indentation problems
- Uncaught TypeError: Cannot read property 'last' of undefined
- Uncaught TypeError: Cannot read property 'is' of undefined
- using $include to sort sass @include, @extend
- Uncaught TypeError: Cannot read property 'map' of undefined
- [READ FIRST] SEEKING MAINTAINER
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 atom-csscomb.