-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Php storm comb not working #6
Comments
Had the same problem, although it was working if I ran the same command in the terminal. Solved by installing version 3.1.5 (tried a bunch of versions):
|
@vbelius Thanks for the correct version. Don't know what happened with csscomb recently, was working then I updated and it was not finishing the process anymore. |
i found it! |
guys, may be i will disappoint you. Css comb is useless, because he always put pseudo-elements and pseudo-classes to the bottom - it is rly not good, because it is rly important where i put that stuff |
sorting define in config, and no - not sort :) pseudo-elements and pseudo-classes remain in place |
Hmmm... can you share that for example? As i remember i tried that and it wont help. |
@gabriensymons with -t any version is working |
@euheny he cant work with preprocessor syntax here http://csscomb.com/online Im talking about that constructions. For example u use sass file with this code
So if u comb it, u get somthing like this
|
@maliyshock includes @gabriensymons you're welcome in my case:
|
@euheny thx, |
@euheny - second that thx - |
Tested on PyCharm 2017.2, CSScomb 4.2.0. |
stop working in phpstorm 2017.3.3 |
@Alecto Confirmed and reproduced on WebStorm 2017.3.3, csscomb 4.2.0 But I don't think it is an error related to IDE itself. I have a global configuration file at Are you using the configuration files in official repo? It seems that the official configs caused this problem. Try remove that, then generate new configuration files online. |
@HawkinsZhao, thank U. |
@Alecto Hi, I can't reproduce, can you give me a sample of your scss file? Aslo, try using csscomb in command line, check if csscomb work properly.Maybe there should be some OS related problems troubling you? I'm using macOS 10.13.3, I'm not familiar with Windows. |
https://drive.google.com/file/d/1sVhmBfkmEC_kPdmjw3W2K8TmzoXN9yOq/view?usp=sharing |
@Alecto That's curious. csscomb works fine with these scss files on my machine.🤔 |
could you show me, please, your settings of the csscomb in phpstrom (screen) and send me your .csscomb.json as is, please? |
Here it is: {
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "upper",
"block-indent": " ",
"color-shorthand": false,
"element-case": "lower",
"eof-newline": true,
"leading-zero": true,
"quotes": "single",
"sort-order-fallback": "abc",
"space-before-colon": "",
"space-after-colon": " ",
"space-before-combinator": " ",
"space-after-combinator": " ",
"space-between-declarations": "\n",
"space-before-opening-brace": " ",
"space-after-opening-brace": "\n",
"space-after-selector-delimiter": " ",
"space-before-selector-delimiter": "",
"space-before-closing-brace": "\n",
"strip-spaces": true,
"tab-size": true,
"unitless-zero": true
} |
the same, but i have to use .....csscomb.cmd in any case - nothing happened (( I think there are problems in the version of phpstorm. |
OK... That's so sad. |
I run through all steps in docs, but steel nothing. Am i do somthing wrong?
http://joxi.ru/GrqzoBqIQY06jm
http://joxi.ru/12MBMxksMKWLJA
http://joxi.ru/MAjGKeks4LBaQr
The text was updated successfully, but these errors were encountered: