Comments (5)
I think classes should all look the same, because they're all classes. But perhaps I can look into a regex for mixins that end with ;
and (
... is that along the lines of what you where thinking?
from less-sublime.
I agree with you. Perhaps only the ones where they end with ";", since
that's where the class is being used not defined? I expect the
definition of a class mixin to be like any other class. It's just when you
use it inside another class (or other selector) that it starts to look
confusing. But I defer to your judgement on this.
On Wed, Apr 18, 2012 at 2:00 PM, Dan Rogers <
[email protected]
wrote:
I think classes should all look the same, because they're all classes. But
perhaps I can look into a regex for mixins that end with;
and(
... is
that along the lines of what you where thinking?
Reply to this email directly or view it on GitHub:
#7 (comment)
from less-sublime.
I also want to be able to see mixins in different color. You can add another scope name like entity.mixin.less.
can't wait to have this feature
from less-sublime.
Hey guys, just an update on this. I won't have time in the near future, but pull requests are more than welcome.
from less-sublime.
@smlombardi this should now be available in master, thanks to @aziz.
In order for the scope to be applied, you must use your mixins like this:
.ie7-inline-block();
Otherwise, if you omit the ()
it will use the css class scope. I like this, as it makes using mixins more explicit.
from less-sublime.
Related Issues (20)
- Variables' names with @media breaks syntax highlighting
- Mixin indentation issue HOT 3
- 2.1.0 can not work in vue HOT 1
- <style lang="less"><style> HOT 3
- Single line commenting does not work in ST 3.1 (stable) HOT 1
- Comment Block Sublime 3 HOT 8
- Less autocompile not working in Network file HOT 1
- Highlighting for Ruleset Maps is broken HOT 3
- New error in Sublime about LESS package HOT 1
- Sublime 2 crashes HOT 1
- Sync up with Sass
- Differences in colouring HOT 4
- CSS property completion inconsistency HOT 1
- Improve symbol index and goto definition HOT 1
- ` @page` breaks syntax HOT 1
- Syntax highlighting breaks when using Maps lookup syntax HOT 1
- Red error on nested curly braces HOT 3
- Autocomplete variables AFTER a property does not seem to work? HOT 14
- Less syntax highlighting does not take effect HOT 1
- LESS for ST4 HOT 5
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 less-sublime.