C
C
Cepesh162020-08-20 11:09:45
Sublime Text
Cepesh16, 2020-08-20 11:09:45

How to add indents (spaces) to Sublime Text CSS comment template?

/*comment*/ - these are comments now in CSS

/* comment */ - how to add two spaces on the sides?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2020-08-20
@Cepesh16

Go to the SublimeText installation folder, then to the Packages folder. There will be a CSS.sublime-package file (this is a regular zip archive). You unpack it. And in the Comments.tmPreferences file, replace the lines: with and with Next, simply pack all the files into a zip archive (only the files themselves, not the folder!) And move them to the Packages folder. Note that the file name should be CSS.sublime-package, without the .zip at the end.
<string>/*</string><string>/* </string>
<string>*/</string><string> */</string>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question