Comments (4)
Some thoughts:
There should be a way to set different values for this option for block-level and inline-level comments, or even differentiate between block-level comments outside the declarations and those inside of them. So, those are different types of comments:
/* Foo */
.a {
width: 10px;
/* Bar */
height: 10px; /* Baz */
}
Maybe we should if the comment contains the commented code instead of text, and give a way to treat those comments differently.
We should allow to use not only white-space characters inside the comments value, there are a lot of people who use different styles of block comments, like
/**
* Hello, world!
*/
/*------------------------------------*\
Hello, world!
\*------------------------------------*/
/* Hello, world!
---------------------------------------- */
etc.
As shown above (and in example in the text of the issue), there should be a way to set the indentation for the block-level comments, and it could consist of other characters as well.
from csscomb.js.
OK, accepted.
from csscomb.js.
Being able to configure space / new lines before/after comments would also be nice (might overlap with those settings for rules)
from csscomb.js.
Closing this issue as a wontfix.
from csscomb.js.
Related Issues (20)
- calc using variable
- LESS: CSSComb parse error when using variable in selector
- Node error at first run, and then the action disappears from Control Panel HOT 1
- Allow sorting of custom property (css vars) HOT 4
- Wrong indent HOT 2
- Can I control the indentation of. #
- processString() returns identical string
- When the quotes configuration item is single, the problem caused...
- Get "Cannot read property 'first' of null" error with :root selector
- Website link is broken HOT 6
- Request: vscode-csscomb HOT 2
- space-after-selector-delimiter : Indentation inside @media with multiple selectors
- [ FEATURE ] Command line argument "copy-buffer" input HOT 1
- List default values for all config file keys
- How to fix some props in JSON schema?
- 网站csscomb.com重定向到黄色网站了
- New maintainer request HOT 1
- How can csscomb use yandex rules and format them successfully?
- Do you need maintainers?
- Sorting CSS selectors and selector lists alphabetically
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 csscomb.js.