W
W
webfln2014-06-05 16:41:22
Sublime Text
webfln, 2014-06-05 16:41:22

How to install csscomb in sublime 2?

Good day and good mood. I'm trying to install the csscomb plugin for sublime 2.
The plugin itself was installed, but there were problems:
The documentation says:

(Optional, for offline work) PHP interpreter. On OS X it is installed out of the box. And for Linux / Windows, you need to download it from the official php.net website and add the path to the folder where you installed PHP to the $ PATH environment variable. Read more about how to do this on Windows here.

I downloaded the interpreter, threw it in the right place.
I went to
C:\Users\root\AppData\Roaming\Sublime Text 2\Packages\CSScomb\CSScomb.py
But I can't find the Path variable. What to do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Tony Ganch, 2014-06-07
@tonyganch

The PHP version is no longer supported.
You need CSScomb JS: https://github.com/csscomb/sublime-csscomb
The easiest way to install it is via Package Control: https://sublime.wbond.net/packages/CSScomb%20JS
But you can also just get it from github.
Please note that the plugin requires Node.js to work.
If you have any difficulties during the installation, it is better to ask questions on github.

P
positive_90, 2014-07-24
@positive_90

after installation, when I try to use the console, it gives out such a muck.

Traceback (most recent call last):
  File ".\sublime_plugin.py", line 362, in run_
  File ".\CSScomb.py", line 36, in run
  File ".\CSScomb.py", line 52, in comb
  File ".\encodings\utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode byte 0xad in position 7: unexpected code byte

What could be the reason ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question