SCSS/CSS Intellisense suddenly broken by Some Sass extension in VS Code

Hello everyone. I am asking for help: The Some Sass extension in VS Code suddenly stopped working, and all Intellisense for SCSS and CSS is now completely broken. Here’s the full debug output I get: [Info - 10:21:45 PM] Workspace root file:///c%3A/Users/PC/Desktop/astro-news-website [Debug - 10:21:45 PM] Applied user configuration [Debug - 10:21:45 PM] Applied user configuration [Debug - 10:21:45 PM] Found 202 files, starting parse You can't have more than one poster comment. You can't have more than one poster comment. You can't have more than one poster comment. You can't have more than one poster comment. You can't have more than one poster comment. You can't have more than one poster comment. You can't have more than one poster comment. I’ve already tried: Reinstalling the extension Running it without SCSS Intellisense Restarting VS Code and my PC multiple times Little update: I think there is something wrong with this specific project that crashes the extension - Because in any other project works good VS Code version: 1.103.2 (x64) OS: Win 10 22H2
40 Replies
ἔρως
ἔρως3mo ago
what happens if you run just the scss intelliesense extension?
Luca
LucaOP3mo ago
it works good
ἔρως
ἔρως3mo ago
you know what to do
ἔρως
ἔρως3mo ago
also, i downloaded the project and ... nothing
No description
Luca
LucaOP3mo ago
?? which project? ahaha
ἔρως
ἔρως3mo ago
some sass
Luca
LucaOP3mo ago
ah you mean the extension
ἔρως
ἔρως3mo ago
i downloaded the code and tried to find that message yup
Luca
LucaOP3mo ago
oh thats so strange - anyway i manage to isolate the folder that cause the problem
ἔρως
ἔρως3mo ago
what was the problem?
Luca
LucaOP3mo ago
I have no idea - i only know that if i remove the folder, the extension works good 😭
ἔρως
ἔρως3mo ago
well, then what's in the folder?
Luca
LucaOP3mo ago
plenty of container queries and complex mixins
ἔρως
ἔρως3mo ago
well, time to remove a file at a time
Luca
LucaOP3mo ago
yeah, I was like "oh tonight I am gonna code some cool things" and then vscode drops this
ἔρως
ἔρως3mo ago
🤣 sometimes, stuff doesn't go as planned
Luca
LucaOP3mo ago
I found the file bro
ἔρως
ἔρως3mo ago
what was it?
Luca
LucaOP3mo ago
i finally cool thing of all things it was something i was gonna to delete // #region Deprecated // Todo Da fixare questo giù // Questi sono i margins inline, se e quando i buttons vengono inseriti nella navigation //////////////////////////////////////////////////// // // Notes - I don't know where this should be // // Notes - I wish i can do this in a different way // //Todo - Da sistemare meglio // //! Setting inline margins if buttons position it's inside navigation // @if (true){ // If to do // $buttons-margins: map.get($carousel-buttons-position-inside-navigation, margins-from-scroll-markers-group-when-default); // $buttons-width: $carousel-buttons-width; // @container --carousel-container style(--buttons-position: inside-navigation){ // .carousel::scroll-marker-group { // margin-inline: calc( // $buttons-width + // $buttons-margins - // 0.95rem // Tokenize? // ); // } // } // } // @if (true){ // If general behaviour it's NOT Stretch with navigation // $buttons-margins: map.get($carousel-buttons-position-inside-navigation, margins-from-scroll-markers-group-when-default); // $buttons-width: $carousel-buttons-width; // @container --carousel-container // style(--buttons-position: inside-navigation) and // style(--scroll-marker-group-orientation: vertical) { // .carousel::scroll-marker-group{ // margin-inline: calc( // $buttons-width - // $buttons-margins - // 0.95rem // Tokenize? // ); // } // } // } // We decided to deprecated this ^ // #endregion it was all comment out like that
ἔρως
ἔρως3mo ago
the question is: which part of the file causes that?
Luca
LucaOP3mo ago
this part
ἔρως
ἔρως3mo ago
the whole block?
Luca
LucaOP3mo ago
mhm i don't know no it is not the whole block it's #region actually
ἔρως
ἔρως3mo ago
//! Setting inline margins if buttons position it's inside navigation <-- this? nah, that can't be it
Luca
LucaOP3mo ago
it's // #region Deprecated
ἔρως
ἔρως3mo ago
no that's why it can't be it
Luca
LucaOP3mo ago
no actually it's just the #region block i don't know
ἔρως
ἔρως3mo ago
where did you see the messages?
Luca
LucaOP3mo ago
No description
Luca
LucaOP3mo ago
i still see them
ἔρως
ἔρως3mo ago
remove the ! from the comment see if that still happens
Luca
LucaOP3mo ago
no only thing that fixes it it's removing the #region and #endregion
ἔρως
ἔρως3mo ago
that sounds like a bug then you have // #region that should be //#region try without the space
Luca
LucaOP3mo ago
i will, i am gonna take a 5 min break now
ἔρως
ἔρως3mo ago
go for it
Luca
LucaOP3mo ago
i could smash everything like khabib nurmagomedov right now
ἔρως
ἔρως3mo ago
or not
Luca
LucaOP3mo ago
anyway no even with //#region it breaks intellisense but if i remove it completely it works good removing //#region and //#endregion from that block makes the intellisense come back also, while having //#region and //#endregion, and hovering on variables or mixins inside the #region i have this
Luca
LucaOP3mo ago
No description
ἔρως
ἔρως3mo ago
that sounds like a bug then

Did you find this page helpful?