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
|
SASS has a command-line tool called sass-convert which will convert a file from CSS to SASS or SCSS. It would be really neat if Web Workbench could do that to a CSS file included in a project. Particularly in the VS2012 version, and especially particularly in JavaScript Metro projects. I'm currently writing a book for Wrox on building Metro applications, and I want to use SCSS instead of CSS (which I suspect the internal team are doing for the templates, judging from the indentation on the template files). Web Workbench works perfectly in Metro projects, but of course, when starting from a new project, the file is just in CSS format, and I don't want to take people through the whole rigamarole of installing Ruby and the sass gem and everything. If WW had a nice "Convert to SCSS" menu option, or something, it would be a really nice path to adopting SASS. Please? Cheers, Mark |
|
|
Hi Mark, Just to let you know we have added this in and it will be available as of the next nightly build as a pro feature. You can access this by right clicking on a .css file (which is not already nested under a Scss or Less file) and select "Convert to Scss" - this then executes sass-convert behind the scenes and updates the project with the new file for you.
|
|