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
|
Hello, I have setup Visual Studio 2013. Update 1 with: Mindscape Web Workbench (3.2.1144.23109) Ruby1.9.3 + Compass So after setup Compass in my project ... I can edit .scss file with Intellisense .... if I setup like this: (file 1,2,3,4.png) But in that case my .scss file does not auto-compile on save If I setup like this: (file _5.png) I lose most of intellisense & getting errors: Text is not allowed at root level (file 51.png) But I get my .scss file auto-compile to .css That is my structure (default atm): (file 6.png) am I missing something how do I get everything work... (sorry for my messy post) |
|
|
The editor needs to be configured as you have in #5, applying steps 1-4 will cause WW to not be loaded which is why compilation will not be being triggered. In terms of the errors you are seeing, Ive tried quickly replicating the contents you had in 5.1 but that didnt seem to generate the same error (I did get a seperate syntax error because of the comment being invalid, e.g. no leading slash). Where are you seeing that error appear? Is it in the output window when compiling? If you are able to send through a copy of a file or the project in question I can have more of a look here.
|
|
|
Thank you Jeremy that was really fast response... I have debug turned on for .scss file (1.png) That error doesn't appear in output window... its all the time (in each letter, line) while I try to type .scss file (doesn't auto complete anything or Intellisense) - (2.jpg) Project is too big, but here is .scss file, its just test for now... and my config.rb I didn't install SASS separate (only ruby & compass) if this does mean something. |
|
|
Hi, I have uninstalled ruby + compass... and installed once again with another installation from http://www.rubyinstaller.org/downloads/ - Ruby 1.9.3-p545 and installed compass http://screencast.com/t/Gpc4HBDrR I changed path in setting of Web Workbench... and setup Compass again on fresh source... now my .scss doesn't compile anymore... / .css files got deleted... here is video, what is going on... http://screencast.com/t/yaMqSJLfW Anyway I am using windows 8.1 pro x64 if that means anything. |
|
|
I have been trying some other things in that time... so I have removed Ruby installation path from Web Workbench configuration, as you can see on 1st video (I show my configuration as well), so:
on 2nd video: - I create new project - setup compass project - .scss extension is not set in text editor and open with: is set to Automatic Editor Selector (XML) (I get: Text is not allowed at root level again, Intellisense & auto complete again doesn't work as it should) - than I change extension of .scss in text editor to CSS editor (Intellisense & auto complete works, but of course not the compiler) http://screencast.com/t/hRHPfVMFm Really don't know what I am missing or doing wrong or is that the way it works? thank you |
|
|
The behavior on the 1st video looks normal, you should not need the CSS editor configuration specified though. What is missing? Are you looking for CSS value completion? If so this is not something we provide other than to suggest variables or mixins which are in scope.
|
|
|
Hi Jeremy, yes I was missing CSS value completion... but anyway in mean time I tried VS2013 Update 2 CTP 2, and now I got everything working even CSS value completion. VS 2013 got native support for sass, but not compass (at least I didn't found it). So together with web workbench it seems to work fine, atm I am still testing... Thank you again. |
|