atom-csscomb icon indicating copy to clipboard operation
atom-csscomb copied to clipboard

Allow path to custom configuration file in config.cson

Open danielbayley opened this issue 10 years ago • 2 comments

It would be useful if we could put 'csscomb': '/Path/to/Custom/csscomb.json' in Atom's config.cson as an alternative instead of only being able to embed all those rules.

danielbayley avatar Dec 17 '14 20:12 danielbayley

I agree with @danielbayley. This would be great for anyone referring that file with other editors as-well.

I can't seem to get my settings into config.cson anyway. Not sure what syntax or format is needs. Can anyone provide an example?

Here's my config:

{
    "always-semicolon": true,
    "color-case": "lower",
    "block-indent": "  ",
    "color-shorthand": true,
    "element-case": "lower",
    "eof-newline": false,
    "leading-zero": false,
    "quotes": "single",
    "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": "\n",
    "space-before-selector-delimiter": "",
    "space-before-closing-brace": "\n",
    "strip-spaces": true,
    "tab-size": true,
    "unitless-zero": true,
    "vendor-prefix-align": true
}

I'm guessing it starts with:

"csscomb": 
  ...

But that's as far as I get.

emaildano avatar Mar 02 '15 20:03 emaildano

Seems like an enhancement that could be tied into #8

stramel avatar Jun 04 '15 19:06 stramel