madskristensen / CssTools

A Visual Studio extension
Other
21 stars 5 forks source link

VS2017 locking up... but only sometimes #7

Open JasonColeyNZ opened 6 years ago

JasonColeyNZ commented 6 years ago

I had been getting many unresponsive sessions in VS2017 with CssTools installed.

Very strange but I had been using it for sometime with no issues. Then a day ago, every time I simply added a new css rule as i was typing in a new class name, the ide would lockup. I uninstalled cssTools, no problems, installed again and lockup.

However this morning I decided to try and figure out what it was, as I can't live without this extension, its brilliant!

I did notice in three of my css files that there were csslint suggestions, one of these was that I was using a box-shadow with an alpha and that I hadn't provided a fallback rgb value, so i thought well at least I can fix this.

So I did, saved the changes then went back to the class I was trying to enter (unsuccessfully many many times) and it worked without a hitch.

Now was it that I added the fallback rbg values, or simply changed the files and re-saved them, I don't know, but I hope this helps in finding a bug.

I changed this...

-webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0,.49);
box-shadow: inset 1px 1px 3px rgba(0,0,0,.49);

to this...

-webkit-box-shadow: inset 1px 1px 3px rgb(133, 133, 133);
-webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0,.49);
box-shadow: inset 1px 1px 3px rgb(133, 133, 133);
box-shadow: inset 1px 1px 3px rgba(0,0,0,.49);
JasonColeyNZ commented 6 years ago

Well, I came into work today, and tried to use vs2017 and as soon as I try to edit the css, the app freezes up again. So I don't know but its a pain, I love the tool but can't work with it activated :(