Suppress Error (not inspection) in SCSS Marleyrae1997 Created June 05, 2023 05:47 Hello! How can I suppress this error? It's not an inspection, and turning off highlighting for the file does not help. This is valid SCSS and compiles just fine. Thanks!
Could you clarify what is of here? Can't find it in the spec
This is a syntax error, changing the highlighting level to None and re-opening the file is the only way to suppress it
Elena Pogorelova
I guess it's
https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child
It's a new addition to CSS: https://developer.chrome.com/articles/css-nth-child-of-s/. Google reports full browser support but only as of the very latest versions, so I guess JetBrains just hasn't caught up yet.
I thought I was getting the error because of SCSS interpolation, but it's showing up anywhere I use 'of'. So I suppose I will just have to wait (:
The issue is indeed specific to using interpolations; submitted to developers as https://youtrack.jetbrains.com/issue/WEB-61409/Using-variable-interpolation-in-nth-child-of-selector-causes-syntax-errors, please vote for it to get notified on any progress