Grow your CSS skills. Land your dream job.

Advanced Sass package for SublimeText 2

  • # April 3, 2013 at 11:18 am

    Hi,

    is there a Sass Package for ST2 with an enhanced support for nested selectors? The one i installed via package control doesn’t handle the code folding right.
    It doesn’t show code folding when using selectors with just one declaration (for normal css files ST2 doesn’t show code folding when there is only one declaration too) and when using selectors like “& >”.

    Here is a screenshot of what i mean:

    http://extras.electricarts.de/snaps/st2_nesting.png

    I can’t fold “& > header” and “h1″. I’m doing something wrong or don’t understand some fundamental things?

    Mario

    # April 3, 2013 at 11:22 am

    Isn’t this a case of not being able to fold (collapse) it because there’s only one line inside? What if you add another line to the footer and the H1 styles?

    # April 3, 2013 at 11:25 am

    Hi Senff,

    yes like i said. I can’t fold when there’s just one line. In other Editors (Espresso2 and Coda2) i can fold this “one liners” if i want. Why not in ST2?

    Mario

    # April 3, 2013 at 12:15 pm

    Sorry, missed that part. I don’t think it’s a bug, it’s probably just that collapsing one line is not overly useful. Although I see your point.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".