Espresso의 컴팩트 CSS 코드

Espresso의 컴팩트 CSS 코드

나는 내 CSS 코드가 각 클래스/ID를 한 줄로 표시하는 것을 좋아하지만 Espresso가 각 중괄호 뒤에 2개의 새 줄을 자동으로 추가하는 방식을 싫어합니다.{CSS를 작성하는 동안 엽니다. 이거 끌 수 있나요?

.class {
I'd rather have this on a single line
}

답변1

/Applications/Espresso.app/Contents/SharedSupport/Sugars/CSS.sugar/TextActions/Actions.xml, 변화

        <text-trigger key-equivalent="{"></text-trigger>
        <text>{
    $0
}</text>

에게

        <text-trigger key-equivalent="{"></text-trigger>
        <text>{ $0 }</text>

애플리케이션 지원에 설탕을 복사하려면 몇 가지 추가 단계가 필요합니다.wiki.macrabbit.com/index/Override_default_sugars

관련 정보