0
beautifyrc-file에 대한 설정을 조정하여 각 CSS 블록 (닫는 중괄호 뒤에) 뒤에 새 공백을 추가하는 방법에 대해 도움을 줄 수 있습니까?Beautifyrc 중괄호를 닫은 후 새 흰색 줄을 추가하는 SCSS
SCS들 - 문제 :
.return-btn {
background-color: #ACE514 !important;
border: 0;
border-bottom: 3px solid #1F8619 !important;
border-radius: 0;
font-size: 18px;
margin: 50px 0 50px 0;
}
.return-btn:hover {
background-color: #ACE514 !important;
border-bottom: 3px solid #1F8619 !important;
}
내가의 닫는 대괄호 후 새 공백을 원한다 "뒷 덮개-btn을"내 .scss을 아름답게 할 때. default.jsbeautifyrc에
내 현재 설정 :
{
"js": {
"eol": "\n",
"preserve_newlines": true,
"max_preserve_newlines": 10,
"space_after_anon_function": true,
"brace_style": "collapse",
"keep_array_indentation": true,
"keep_function_indentation": false,
"space_before_conditional": true,
"break_chained_methods": false,
"eval_code": false,
"unescape_strings": false,
"wrap_line_length": 0,
"wrap_attributes": "auto",
"end_with_newline": true,
"comma_first": false
},
"css": {
"allowed_file_extensions": ["css", "scss", "sass", "less"],
"eol": "\\n",
"end_with_newline": true,
"selector_separator_newline": true,
"newline_between_rules": true,
"smartIndent": false,
"indent_char": " ",
"indent_size": 2,
"selector_separator": " "
},
"html": {
"eol": "\n",
"end_with_newline": true,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"indent_inner_html": false,
"brace_style": "collapse",
"indent_scripts": "normal",
"wrap_line_length": 0,
"wrap_attributes": "auto"
}
}
내가 출력 CSS 파일 자체를 포맷 개행이 아니라 SCS들 - 각각의 파일 닫기 중괄호 후에 첨가된다.