akalongman / akalongman/sublimetext-codeformatter

css add new line

Đang mở
#211 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
772
Fork
128
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

user's config:
"codeformatter_css_options": {
"syntaxes": "css,less",
"format_on_save": false,
"indent_size": 2,
"indent_char": " ",
"indent_with_tabs": false,
"selector_separator_newline": false,
"end_with_newline": false,
"newline_between_rules": false,
"eol": "\n" }

test.css:
`* {
-moz-box-sizing: border-box;
box-sizing: border-box;
}(1)
@media screen and (max-width: 680px) {
.list li {
width: 100%;
padding-bottom: 100%;
}(4)
.list_projects li {
padding-bottom: 80%;
}(5)
.employee__img {
width: 100%;
}
}(2)
@media screen and (max-width: 675px) {
.review__settings {
float: none;
text-align: center;
margin-bottom: 10px;
}(6)
.review {
text-align: center;
}
}`

issues:
1. add new lines in (1), (2), even though false settings
2. not add new lines in (4), (5), (6), if all the settings to make true

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.