sublime-csscomb icon indicating copy to clipboard operation
sublime-csscomb copied to clipboard

Not working with .SASS files.

Open adonaicandido opened this issue 9 years ago • 3 comments

Using the latest version of SublimeText3 and just installed CSSComb through Package Installer.

My .sass file:

section
    position: absolute
    width: 100%
    height: 100%

    header
        position: absolute
        left: 30vw
        width: 640px

        h1
            font-size: 32px
            font-weight: 700
            letter-spacing: 4px
            &:after
                width: 24px
                height: 4px
                background-color: black
                border: none
                content: ''
                display: block

I hit CTRL+SHIT+C and I get this error:

CSScomb error:

/Users/Adonai/Library/Application Support/Sublime Text 3/Packages/CSScomb/node_modules/csscomb/node_modules/csscomb-core/lib/core.js:412
            throw e;
                  ^

Please check the validity of the block starting from line #1

1*| section
2 |     position: absolute
3 |     width: 100%

Gonzales PE version: 3.0.0-10
CSScomb Core version: 2.0.2

adonaicandido avatar May 22 '15 20:05 adonaicandido

This works fine now. Can be marked as solved in my opinion.

kevinchevallier avatar Mar 28 '16 20:03 kevinchevallier

If you're pressing CTRL+SHIT+C that might be your problem. Try SHIFT 😆

jonscottclark avatar May 02 '16 14:05 jonscottclark

I'm having the same error

dortamiguel avatar Apr 16 '17 14:04 dortamiguel