# Support for SCSS Nesting or CSS Highlighting in Atom

**URL:** <https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948>\
**Category:** Feature Request\
**Tags:** css\
**Created:** [April 24, 2019, 2:32pm UTC](https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948 "2019-04-24T14:32:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [April 24, 2019, 2:32pm UTC](https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948/1 "2019-04-24T14:32:44Z")

</div>

It would be a huge help for us if Pinegrow supported SASS nesting, Ampersands (with hover, focus, before, after, etc), @include breakpoints, and the likes. Right now they will show in the CSS editor on Pinegrow but you can not click on them to update or add new rules into their brackets.

Another way that would be a workaround (and useful in general) would be to have css highlighted and scrolled to in Atom (like the html is) when you click on an element in Pinegrow’s css editor. That way we would not have to constantly be searching for the class by hand in Atom.

---

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [May 1, 2019, 2:53pm UTC](https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948/2 "2019-05-01T14:53:23Z")

</div>

Ok, so in the last update some of the features I mentioned have been added. You can now click on nested items in the PG css editor which is great. The only thing you can’t do is click on scss mix ins which we use for @media breakpoints.

It would still be very helpful if PG could highlight the scss in Atom. Thanks PG team, you’re always churning out new updates at such a rapid pace.

---

<div class="post-metadata">

**Author:** ![jtkay](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jtkay](https://forum.pinegrow.com/u/jtkay)\
**Post date:** [May 29, 2019, 2:42am UTC](https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948/3 "2019-05-29T02:42:32Z")

</div>

@jonroc, I am learning SCSS right now. Is this something I should be doing in PG? Being new, I just need it to work so I can learn without having to worry about things that I am ill-equipped to recognize.

---

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [May 29, 2019, 2:22pm UTC](https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948/4 "2019-05-29T14:22:13Z")

</div>

No, SCSS is really best for hand coding (it’s faster to hand code with it) and variables. So if you don’t need variables it’s actually easier just to use regular CSS with the PG visual editor at this time. But I hope in the future PG will make using SCSS easier and an more native to the visual editor.

---

<div class="post-metadata">

**Author:** ![jtkay](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jtkay](https://forum.pinegrow.com/u/jtkay)\
**Post date:** [May 29, 2019, 2:56pm UTC](https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948/5 "2019-05-29T14:56:36Z")

</div>

Yeah, I do want to use variables. Oh well. Maybe in the future…

---

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [May 29, 2019, 4:27pm UTC](https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948/6 "2019-05-29T16:27:29Z")

</div>

You can still use variable and SCCS (we use it on every project). The only down side is the PG visual editor does not handle everything 100% perfectly yet. Especially if you use SCSS mixins.

---

<div class="post-metadata">

**Author:** ![jtkay](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jtkay](https://forum.pinegrow.com/u/jtkay)\
**Post date:** [May 29, 2019, 5:14pm UTC](https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948/7 "2019-05-29T17:14:17Z")

</div>

So how do you get around not seeing things in the visual editor?

---

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [May 29, 2019, 5:16pm UTC](https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948/8 "2019-05-29T17:16:26Z")

</div>

You can see things, but they don’t support nesting automatically so you have to manually drag and drop class into each other. A very basic SCSS setup will work just like regular CSS in Pinegrow.

---

<div class="post-metadata">

**Author:** ![jtkay](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jtkay](https://forum.pinegrow.com/u/jtkay)\
**Post date:** [June 1, 2019, 2:16pm UTC](https://forum.pinegrow.com/t/support-for-scss-nesting-or-css-highlighting-in-atom/2948/9 "2019-06-01T14:16:39Z")

</div>

I just synced up VS Studio Code with PG. Do you think that if I used Live Server with VS that would take care of the visual issues you were concerned about? I was thinking about writing BEM/SCSS in VS Code.
