R
R
Roman Tatarinov2016-05-06 14:46:48
Sublime Text
Roman Tatarinov, 2016-05-06 14:46:48

How to set up automatic insertion of ";" in sublime text to sass files?

I use Sublime text 3 + Emmet, which puts ";" on its own perfectly on normal css after each css - properties. Recently switched to gulp with compass, now using scss files. Emmet works the same way. But does not put ";" at the end of the property. Help me please.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
simaksis, 2017-06-06
@simaksis

In the plugin settings you need to add the line "sass.propertyEnd": ";" to the "preferences" section. Other settings can be found here https://docs.emmet.io/customization/preferences/

R
Rikcon, 2016-05-06
@Rikcon

А синтаксис у вас выбран SCSS ?
У меня всё работает.

Рафис Багаутдинов, 2017-01-13
@bagau

Тоже задавался этим вопросом. Поставил плагин SCSS, https://packagecontrol.io/packages/SCSS теперь можно писать стили в ряд w100%+h100% и конвертируется с точкой запятой

Z
zooks, 2016-05-06
@zooks

Не любите ставить ; вручную, тогда используйте индентацию вместо скобок в синтаксисе SASS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question