Open marnen opened 7 years ago
Maybe a stupid question, but did you try restarting Atom, reopening your project, opening another project?
Yes, I've relaunched Atom several times and apparently I neglected to mention that. :P
I'm on macOS 10.12.6 with Atom 1.22.1 and Pigments 0.40.2 as well and just came accross the following: colors will be parsed up until line number 48, any line beyond line number 48 pigments will not detect any color.
@marnen can you confirm this behaviour from your end?
@socialmedialabs Nope, it just plain doesn't work at all, even before line 48. Pigments is installed—I can see its commands in the command palette—but as far as the appearance in the editor is concerned, it might as well not be there (see screenshot).
Update (now on 1.23.3): I removed all traces of Pigments from my .atom directory (including from .apm and compile-cache) and reinstalled. Now it finds colors, but doesn't highlight them. This isn't an interaction with another package: it happens even when no other packages are enabled. How can I help troubleshoot and fix this?
...and it started working again, seemingly of its own accord, shortly after I last posted.
I'm leaving this issue open, though: the trouble and unreliable behavior I had strongly suggests an underlying problem in the package.
facing same issue having same versions of atom, mac and pigments package any static solution to this problem, or it will start working miraculously again someday?
I just upgraded Atom to 1.21.1 and Pigments to 0.40.2 on MacOS 10.12.6, and now I'm getting no functionality whatsoever from Pigments: no colors are highlighted or found in my project, and if I run Pigments: Reload, I see that it found lots of variables (in SCSS) but no colors. I've tried uninstalling and reinstalling Pigments several times. Help?
Pigments report, if it's useful...
```json { "atom": "1.21.1", "pigments": "0.40.2", "platform": "darwin", "config": { "sortPaletteColors": "by name", "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, "maxDecorationsInGutter": 100, "markerType": "native-background", "sassShadeAndTintImplementation": "compass", "groupPaletteColors": "none", "mergeColorDuplicates": false, "delayBeforeScan": 500, "ignoreVcsIgnoredPaths": true, "notifyReloads": true, "dismissableReloadNotifications": true }, "project": { "config": { "sourceNames": [], "searchNames": [], "ignoredNames": [], "ignoredScopes": [] }, "paths": [(omitted)], "variables": { "colors": 0, "total": 67 } } } ```