This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I'm experiencing some pretty severe lag when editing my main .scss file, and I'm wondering if it's a problem with Web Workbench, or with the way I'm using the system. Nearly every time I add or edit any of the rules in the file, the entire Visual Studio IDE freezes up for a good 5 seconds before either the intellisense pops up, or the syntax highlighting colors appear. During that time I can continue typing, but nothing that I type will show up until after the system starts responding again. One rule that I can type in to reproduce the problem every time is "margin-right: 5px;" It will stop responding after I finish typing "margin", "right:" and the final semi-colon. The file is currently about 3,400 lines long, and imports 3 other scss files. There are also 2 more files that those scss files import for a total of 5 imports. Could these factors be causing the problem? Am I pushing the boundaries of Web Workbench's abilities? Thanks in advance for any help you can give me! |
|
|
It sounds like something is running slow when parsing the files - are you able to send us through a copy of the files you are working on and we can have a look to see what might be occurring here and look to see if there is a fix or improvement we can make. You can email the files through to support at mindscape.co.nz rather than attaching them to the forum post if you would prefer.
|
|
|
Hi Jeremy, have you made any progress with this? My team is also experiencing some very slow compile times working with SASS, upwards of 20 seconds. |
|
|
As far as I know, there isn't a "solution" yet, but while emailing back and forth with Jeremy about this issue, I was able to find a workaround... In the settings for Enhanced Scroll Bar, there's an option that says, "Show bookmarks and breakpoints in the scroll bar." When I disable that option, the lag goes away. Fortunately that's not a feature I need anyway. Hope that helps! -Jeff |
|
|
Jeff, thanks for the response! I couldn't find any options for the enhanced scrollbar. Is it part of a plugin? I'm running VS2012. Regardless, I looks like I didn't read your initial post clearly enough. The main issue I'm having is the time it takes to save/compile SASS files. |
|
|
Oops! I'm sorry I totally forgot that the Enhanced Scrollbar is part of another VS extension called Productivity Power Tools. So, the issue I was having was a conflict between the two extensions. Yeah, my main issue had to do with even typing a single character into my scss file. Saving it was actually extremely fast. |
|
|
Try enabling "Enable Experimental Fixes" under the Other section in Tools/Options/Web Workbench and see if that improves things. If that doesn't help can you please send us through a copy of the files you are working on and we can have a look to see what might be occurring here and look to see if there is a fix or improvement we can make. You can email the files through to support at mindscape.co.nz rather than attaching them to the forum post if you would prefer.
|
|
|
This problem went away for a long time after I disabled the "Show bookmarks...." setting in the Enhanced Scrollbar extension as I mentioned above. Unfortunately the problem is back. I recently upgraded to VS 2015, and now every time I type anything in an SCSS file, Visual Studio locks up completely for several seconds. The title bar of the window even turns white and says "(Not Responding)". I still have Productivity Power Tools installed, but since VS now has something similar to Enhanced Scrollbar built in, PPT no longer has it. So, just turning off that setting again is no longer an option. I don't see any Show Bookmark settings in VS that are similar to the one PPT used to have either. I have tried disabling most of my other extensions, but the problem appears to be directly related to Web Workbench. I have also tried enabling experimental fixes, but the problem is still there. |
|
|
Once again the problem is directly related to the scrollbar. The only way I was able to get VS to stop locking up with any edit to an SCSS file was to uncheck the "Show errors" box for the scroll bar. I tried every combination, and the "Show errors" setting is definitely what triggers this bug in Web Workbench. |
|