D
D
djamulet2015-11-17 18:16:07
Sass
djamulet, 2015-11-17 18:16:07

How to solve SASS compilation problem in Sublime Text?

I just started learning about Sass today.
Installed it following this instruction www.joshuawinn.com/get-sass-working-in-sublime-tex...
for use in Sublime Text.
When compiling, Sublime writes build finished but the css file itself is not created next to the scss file.
I looked in the console and saw the following
Running sass --update D:\html5\sass\style.scss:D:\html5\sass/style.css --stop-on-error --no-cache --style compressed
Those. formally, the sublime saves the file in D:\html5\sass / style.css but the path is incorrect, because the name of style.css is preceded by a forward slash, and not the reverse as it is done in Windows.
How to change this path?
I guess that using the command "cmd": ["sass", "--update", "$file:${file_path}/../${file_base_name}.css"],
But I don't understand in which config to specify it .
Please help me figure out the teapot.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Foo Bar, 2015-11-18
@atomheart

In the Preferences / Package Settings menu, try to find your plugin. There should be links to two configs - one with basic values ​​​​(you can't change it, but usually there are instructions on how to configure it), and the second - user, where you change the default values. Try changing the values ​​there.
If you have both files empty, then you probably have the plugin installed also not quite correctly - in the wrong folder. To find out in which folder the plugin should be installed, find the *.sublime-menu file in the plugin folder and look for lines like: "${packages}/Javatar/Javatar.sublime-settings. What comes after {packages} / - will be the name of the folder as understood by the plugin
Plugins are usually unpacked in the following path:
\Sublime\Data\Packages\

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question