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

It does not work pigments

Open ray-zard opened this issue 9 years ago • 10 comments

After installation, without any signs of life...

Windows 10 x64 bit

{
  "atom": "1.10.2",
  "pigments": "0.35.0",
  "platform": "win32",
  "config": {
    "traverseIntoSymlinkDirectories": false,
    "sourceNames": [
      "**/*.css",
      "**/*.styl",
      "**/*.stylus",
      "**/*.less",
      "**/*.sass",
      "**/*.scss"
    ],
    "ignoredNames": [
      "vendor/*",
      "node_modules/*",
      "spec/*",
      "test/*"
    ],
    "ignoredBufferNames": [],
    "extendedSearchNames": [
      "**/*.css"
    ],
    "supportedFiletypes": [
      "*"
    ],
    "filetypesForColorWords": [
      "css",
      "less",
      "styl",
      "stylus",
      "sass",
      "scss"
    ],
    "ignoredScopes": [],
    "autocompleteScopes": [
      ".source.css",
      ".source.css.less",
      ".source.sass",
      ".source.css.scss",
      ".source.stylus"
    ],
    "extendAutocompleteToVariables": false,
    "extendAutocompleteToColorValue": false,
    "autocompleteSuggestionsFromValue": false,
    "markerType": "background",
    "sassShadeAndTintImplementation": "compass",
    "sortPaletteColors": "none",
    "groupPaletteColors": "none",
    "mergeColorDuplicates": false,
    "delayBeforeScan": 500,
    "ignoreVcsIgnoredPaths": true
  },
  "project": {
    "config": {},
    "variables": {
      "colors": 0,
      "total": 0
    }
  }
}

ray-zard avatar Sep 22 '16 20:09 ray-zard

Same for me, after upgrade to pigments 0.35.0. Atom 1.10.2 on Linux Mint 18 XFCE x64Bit

Pavlina1979 avatar Sep 23 '16 07:09 Pavlina1979

Nevermind. It started working somehow. Reopening the file did the trick this time. Hope it will keep working in the future for new files.

I haven't seen it working. Just started using it though. pigments 0.35.1 Atom 1.10.2 on Mac OS X 10.11.6

Pigments: Find colors does find the color I have in a test file. But in the test file it will not highlight.

I did a reinstall just to be sure, but still nothing.

test file: test.less

@my-color: #33ff55;

This is my Pigments: report:

{
  "atom": "1.10.2",
  "pigments": "0.35.1",
  "platform": "darwin",
  "config": {
    "autocompleteScopes": [
      ".source.css",
      ".source.css.less",
      ".source.sass",
      ".source.css.scss",
      ".source.stylus",
      ".source.less"
    ],
    "autocompleteSuggestionsFromValue": true,
    "extendAutocompleteToColorValue": true,
    "extendAutocompleteToVariables": true,
    "traverseIntoSymlinkDirectories": false,
    "sourceNames": [
      "**/*.css",
      "**/*.styl",
      "**/*.stylus",
      "**/*.less",
      "**/*.sass",
      "**/*.scss"
    ],
    "ignoredNames": [
      "vendor/*",
      "node_modules/*",
      "spec/*",
      "test/*"
    ],
    "ignoredBufferNames": [],
    "extendedSearchNames": [
      "**/*.css"
    ],
    "supportedFiletypes": [
      "*"
    ],
    "filetypesForColorWords": [
      "css",
      "less",
      "styl",
      "stylus",
      "sass",
      "scss"
    ],
    "ignoredScopes": [],
    "markerType": "background",
    "sassShadeAndTintImplementation": "compass",
    "sortPaletteColors": "none",
    "groupPaletteColors": "none",
    "mergeColorDuplicates": false,
    "delayBeforeScan": 500,
    "ignoreVcsIgnoredPaths": true
  },
  "project": {
    "config": {},
    "paths": [
      "<root>/chapter3/style.less"
    ],
    "variables": {
      "colors": 1,
      "total": 1
    }
  }
}

RodideBoer avatar Sep 27 '16 18:09 RodideBoer

I believe I just experienced the same issue. To outline the steps:

  1. Open a CSS file in Atom (w/o Pigments installed)
  2. Install Pigments
  3. Note that the CSS file has no color information displayed

Tried reloading Pigments, restarting Atom: no success. Closing and reopening the CSS file did the trick, as with OP.

(Am on Ubuntu 16.04, Atom 1.10.0, Pigments 0.35.1)

ghost avatar Sep 28 '16 04:09 ghost

@erwinactionplanner is correct. I am on Atom 1.10.2 and pigments 0.35.3 (windows / ubuntu)

TonySpegel avatar Sep 30 '16 00:09 TonySpegel

Hi there, I may have missed one scenario, I'm not sure how I can simulate this post-install scenario but I'll see what I can do.

abe33 avatar Oct 19 '16 14:10 abe33

The problem was solved only by installing a different version of Windows....

ray-zard avatar Oct 19 '16 18:10 ray-zard

I may meet the same problem.

Atom 1.11.2 on Mac OS X 10.11.6 with pigments 0.38.0

zz98 avatar Oct 29 '16 18:10 zz98

So any solution on the horizon? Can't get it to work either after the recent update, plus the gutter name issue still persists whose respective thread is closed.

ismailuddin avatar Dec 28 '16 09:12 ismailuddin

I too, have the same problem, Mac OS 10.12.1.

AmusedNetwork avatar Jan 09 '17 18:01 AmusedNetwork

Pigments is currently (afaik) only called when a file is opened, so this case is not included. @abe33 What about a one-time post-install check of open files?

Cxarli avatar Jan 14 '17 22:01 Cxarli