Giter Club home page Giter Club logo

atom-pigments's Introduction

Build Status

A package to display colors in project and files:

Screenshot

Pigments will scan source files in your project directories looking for colors and will build a palette with all of them. Then for each opened file, it will use the palette to evaluate the value of a given color. The legible source paths can be defined through various settings either at the global or per project level. By default colors in every file will be highlighted, to limit the display of colors to the desired filetype only please see the Defining Where Pigments Applies below.

Pigments supports out of the box most of the color transformations functions and expressions of the three biggest CSS pre-processors out there, namely LESS, Sass and Stylus. However, it doesn't mean pigments is able to parse and understand all of these languages constructs. For the moment, Pigments' aim is to support the widest range of usage, even if it implies reducing its ability to parse certain complex constructs. You can refer to the parser specs for an exhaustive list of the supported expressions.

Contributor note

This is a small note from one of the contributors. As of the time of writing, @abe33 (the creator of this amazing package) hasn't done any work on this repo for over 6 months. It seems he is focused on other projects. In the meantime, I've been trying to keep the issues clear and tagged and to close duplicates. However, I don't know enough about this project (or Atom plugins in general) to be able to fix any issues. If you think you are able to handle this project, please let Charlie (@Cxarli) or Cédric (@abe33) know, so we could help you help this project.

Please also see this masterpost.

Install

Using apm:

apm install pigments

Or search for pigments in Atom settings view.

Defining Where Pigments Applies

By default, Pigments will highlight every color in every file, but you can limit that using the two settings Supported Filetypes and Ignored Scopes.

The first setting allow you to specify the list of extensions where pigments will apply. For instance, by using the values css, less, colors will be visible only in CSS and Less files.

The second setting takes an array of regular expression strings used to exclude colors in specific scopes (like comments or strings). You can find the scope that applies at the cursor position with the Editor: Log Cursor Scope command (cmd-alt-p or ctrl-alt-shift-p).

get scope

Defaults File

Pigments is able to follow variables uses up to a certain point, if a color refers to several variables whose values can't be evaluated (because they use unsupported language-specific features) the color will be flagged as invalid and not displayed. This can be problematic when it happens on the core components of a complex palette.

To solve that issue, you can define a defaults file named .pigments at the root of a project directory and you can put in it all the variables declarations to use if a value from the sources files can't be evaluated.

This can also be used when your project core palette is dynamically defined so that pigments can evaluate properly the rest of the project colors.

Commands

Note: Pigments doesn't define any keybindings for the provided commands, instead it'll let you define your own keybindings.

Pigments: Show Palette

You can display the project's palette through the Pigments: Show Palette command from the command palette:

Screenshot

The project palette is made of all the colors that are affected to a variable, which means it won't display hardcoded colors affected to a CSS property. If you want to find every color used in a project, including the hardcoded colors in CSS files, use the Pigments: Find Colors instead.

Patterns for Less, Sass, Scss and Stylus variables are currently supported, which includes:

my-var = #123456 // stylus
$my-var: #123456 // sass
$my-var: #123456; // scss
@my-var: #123456; /* less */

As with every command, this command can be triggered using the keyboard by defining a keybinding like this:

'atom-workspace':
  'alt-shift-p': 'pigments:show-palette'

Pigments: Find Colors

You can search for all colors in your project using the Pigments: Find Colors command from the command palette:

Screenshot

The results will include colors declared in variables, places where the color variables are used as well as hardcoded color values in every file that matches one of the patterns defined in both pigments.sourceNames and pigments.extendedSearchNames settings.

By default this includes:

**/*.css
**/*.less
**/*.scss
**/*.sass
**/*.styl
**/*.stylus

This command can be triggered using the keyboard by defining a keybinding like this:

'atom-workspace':
  'alt-shift-f': 'pigments:find-colors'

Pigments: Convert To *

It evaluates and replace a color by the corresponding notation. Accessible from the command palette or by right clicking on a color.

pigments-conversion

These commands can be triggered using the keyboard by defining a keybinding like this:

'atom-workspace':
  'alt-shift-h': 'pigments:convert-to-hex'
  'alt-shift-g': 'pigments:convert-to-rgb'
  'alt-shift-j': 'pigments:convert-to-rgba'
  'alt-shift-k': 'pigments:convert-to-hsl'
  'alt-shift-l': 'pigments:convert-to-hsla'

When triggered from the command palette or from the keyboard, the conversion will operate on every cursor positioned on color markers.

Pigments: Project Settings

Each Pigments project has its own set of settings that can extend or replace the global configuration. These settings are available through the pigments:project-settings command:

pigments-conversion

The Source Names, Ignored Names, Ignored Scopes and Extended Search Names fields all match a global configuration. When defined the project will use both the global config and the one of the current project, except when the Ignore Global checkbox is checked.

The Include Atom Themes Stylesheets setting is specific to the project and can't be defined globally. When enabled, it'll add all the public themes variables in the current project palette:

pigments-conversion

Note that it won't add all the variables defined in the less files of the syntax and ui themes, only the ones that must be present as defined in the themes documentation.

This feature is still quite experimental at this stage.

Pigments: Reload

This command will force a reload of all variables in the project, this can be useful when the serialized state of the plugin contains invalid data and you want to get rid of them without having to touch to the content of the .atom/storage directory.

This command can be triggered using the keyboard by defining a keybinding like this:

'atom-workspace':
  'alt-shift-r': 'pigments:reload'

Settings

Source Names

An array of glob patterns of the files to use as source for the project's variables and colors.

  • Key: pigments.sourceNames
  • Default: ['**/*.styl', '**/*.stylus', '**/*.less', '**/*.sass', '**/*.scss']

Ignored Names

An array of glob patterns of the files to ignore as source files for the project's variables and colors.

  • Key: pigments.ignoredNames
  • Default: ['node_modules/*']

Extended Search Names

An array of glob patterns of files to include in the Pigments: Find Colors scanning process.

  • Key: pigments.extendedSearchNames
  • Default: ['**/*.css']

Supported Filetypes

An array of file extensions where colors will be highlighted. If the wildcard * is present in this array then colors in every file will be highlighted.

  • Key: pigments.supportedFiletypes
  • Default: ['*']

Filetypes For Color Words

An array of file extensions where color values such as red, azure or whitesmoke will be highlighted. By default CSS and CSS pre-processors files are supported.

You can use none or whatever value that doesn't match a file extension to completely prevent color words from being highlighted.

  • Key: pigments.filetypesForColorWords
  • Default: ['css', 'less', 'styl', 'stylus', 'sass', 'scss']

Ignored Scopes

An array of regular expressions strings to match scopes to ignore when rendering colors in a text editor.

For instance, if you want to ignore colors in comments and strings in your source files, use the following value:

\.comment, \.string

As you can notice, the . character in scopes are escaped. This is due to the fact that this setting uses javascript RegExp to test the token's scope and the . is used to match against any character.

For instance, to ignore colors in html attributes you can use the following expression:

\.text\.html(.*)\.string

Note the (.*) in the middle of the expression. It'll ensure that we're searching for the .string scope in the .text.html grammar even if there's other scope between them by catching any character between the two classnames.

To find which scope is applied at a given position in a buffer you can use the editor:log-cursor-scope command. From that you'll be able to determine what expression to use to match the scope.

  • Key: pigments.ignoredScopes
  • Default: []

Autocomplete Scopes

The autocomplete provider will only complete color names in editors whose scope is present in this list.

  • Key: pigments.autocompleteScopes
  • Default: ['.source.css', '.source.css.less', '.source.sass', '.source.css.scss', '.source.stylus']

Sass Shade And Tint Implementation

Sass doesn't provide any implementation for shade and tint function, and Compass and Bourbon have different implementation for these two methods. This setting allow you to chose which implementation to use.

  • Key: pigments.sassShadeAndTintImplementation
  • Default: 'compass'

Extend Autocomplete To Variables

When enabled, the autocomplete provider will also provides completion for non-color variables.

  • Key: pigments.extendAutocompleteToVariables
  • Default: false

Extend Autocomplete To Color Value

When enabled, the autocomplete provider will also provides color value.

  • Key: pigments.extendAutocompleteToColorValue
  • Default: false

Traverse Into Symlink Directories

Whether to traverse symlinked directories to find source files or not.

  • Key: pigments.traverseIntoSymlinkDirectories
  • Default: false

Ignore VCS Ignored Paths

When this setting is enabled, every file that are ignored by the VCS will also be ignored in Pigments. That means they'll be excluded when searching for colors and when building the project palette.

  • Key: pigments.ignoreVcsIgnoredPaths
  • Default: true

Marker Type

Defines the render mode of color markers. The possible values are:

background outline underline
dot square-dot gutter
  • Key: pigments.markerType
  • Default: 'background'

Sort Palette Colors

The type of sorting applied to the colors in the palette view. It can be changed directly from the palette view.

  • Key: pigments.sortPaletteColors
  • Default: 'none'

Group Palette Colors

Defines how the colors are grouped together in the palette view. It can be changed directly from the palette view.

  • Key: pigments.groupPaletteColors
  • Default: 'none'

Merge Duplicates

Defines whether to merge colors duplicates together as a single result in the palette view. It can be changed directly from the palette view.

  • Key: pigments.mergeDuplicates
  • Default: false

Delay Before Scan

Pigments rescans the text buffer once you stopped editing it, however as the process can be sometime expensive, it'll apply an extra delay after the dispatch of the did-stop-changing event before starting the scanning process. This setting define the number of milliseconds to wait after the did-stop-changing event before starting to scan the buffer again. If your start typing in the buffer again in this interval, the rescan process will be aborted.

  • Key: pigments.delayBeforeScan
  • Default: 500 (ms)

atom-pigments's People

Contributors

abe33 avatar alex-kovac avatar awayken avatar c-bouthoorn avatar cxarli avatar danieldrasdo avatar dependabot[bot] avatar envygeeks avatar joryhogeveen avatar mnquintana avatar nanobeep avatar nlydv avatar pavelvanecek avatar richrad avatar vinkla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atom-pigments's Issues

Way to override .gitignore file?

It appears that when I do a "find colors" that pigment also ignores files that are included in the .gitignore file. We have some styleguide files that declare our colors in a internal bower package and so we have those files in the .gitignore so that they don't get checked in, but we want those colors available to pigment.

I have confirmed that if I remove the folder from .gitignore that pigment finds the colors, and if I put it back it doesn't find them. Is there a way to have pigment include a folder that is listed in the .gitignore?

Right click to change colour format

Feature request. If you right click on a colour, it'd be cool if one of the options was to change the format of the colour, for instance from rgb(0,0,0) to #000. It'd be really handy for stuff that's much harder to calculate in your head, and nice to have to match colour formats in a document. Also, for instance, you could have something like darken(#fff, 10%) and you could right click to convert it to a hex value. How neat would that be?

Uncaught SyntaxError: Invalid regular expression: /\/: \ at end of pattern

Reproduce:

  1. Type "" in ignored scopes (in Settings)

Atom Version: 0.199.0
System: Mac OS X 10.10.3
Thrown From: pigments package, v0.3.0

Stack Trace

Uncaught SyntaxError: Invalid regular expression: //: \ at end of pattern

At /Users/buckyoung/.atom/packages/pigments/lib/color-buffer.coffee:371

SyntaxError: Invalid regular expression: /\/: \ at end of pattern
  at new RegExp (native)
  at /Users/buckyoung/.atom/packages/pigments/lib/color-buffer.coffee:371:28
  at Array.some (native)
  at ColorBuffer.module.exports.ColorBuffer.markerScopeIsIgnored (/Users/buckyoung/.atom/packages/pigments/lib/color-buffer.coffee:370:20)
  at /Users/buckyoung/.atom/packages/pigments/lib/color-buffer.coffee:331:41
  at Array.filter (native)
  at ColorBuffer.module.exports.ColorBuffer.findValidColorMarkers (/Users/buckyoung/.atom/packages/pigments/lib/color-buffer.coffee:330:35)
  at pigments-markers.ColorBufferElement.updateMarkers (/Users/buckyoung/.atom/packages/pigments/lib/color-buffer-element.coffee:104:28)
  at /Users/buckyoung/.atom/packages/pigments/lib/color-buffer-element.coffee:39:65
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at /Users/buckyoung/.atom/packages/pigments/lib/color-buffer.coffee:47:16
  at /Applications/Atom.app/Contents/Resources/app.asar/src/config.js:557:16
  at /Applications/Atom.app/Contents/Resources/app.asar/src/config.js:574:20
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at Config.module.exports.Config.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:736:29)
  at Config.module.exports.Config.setRawValue (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:551:19)
  at Config.module.exports.Config.set (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:233:14)
  at SettingsPanel.module.exports.SettingsPanel.set (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/settings-panel.js:190:28)
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/settings-panel.js:236:26
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1111:25

Commands

     -6:00.2.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -5:59.7.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -5:58.7.0 core:cut (atom-text-editor.editor.is-focused)
     -5:56.2.0 editor:newline (atom-text-editor.editor.is-focused)
     -5:55.4.0 core:paste (atom-text-editor.editor.is-focused)
  2x -5:53.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -5:52.3.0 core:undo (atom-text-editor.editor.is-focused)
     -5:51.7.0 core:move-down (atom-text-editor.editor.is-focused)
  2x -5:51.3.0 core:backspace (atom-text-editor.editor.is-focused)
     -5:50.2.0 core:save (atom-text-editor.editor.is-focused)
  4x -5:38 find-and-replace:select-next (atom-text-editor.editor.is-focused)
  2x -5:33.7.0 core:save (atom-text-editor.editor.is-focused)
     -4:33.5.0 settings-view:open (atom-text-editor.editor.is-focused)
     -0:19.5.0 core:close (atom-text-editor.editor.mini.is-focused)
     -0:19 settings-view:open (atom-text-editor.editor.is-focused)
     -0:01.7.0 core:backspace (atom-text-editor#pigments.ignoredScopes.editor.mini.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "whitespace",
      "timecop",
      "metrics",
      "language-mustache",
      "language-c",
      "language-clojure",
      "language-csharp",
      "language-gfm",
      "language-go",
      "language-make",
      "autocomplete",
      "language-objective-c",
      "language-perl",
      "language-ruby",
      "language-ruby-on-rails",
      "language-toml",
      "ask-stack",
      "atom-color-highlight",
      "autocomplete-plus",
      "merge-conflicts"
    ]
  },
  "pigments": {
    "delayBeforeScan": 3000,
    "groupPaletteColors": "by file",
    "sortPaletteColors": "by name",
    "ignoredScopes": [
      "\\."
    ]
  }
}

Installed Packages

# User
git-diff-details, v0.18.0
highlight-selected, v0.9.3
linter, v0.12.2
linter-jshint, v0.1.4
linter-scss-lint, v0.0.14
minimap, v4.9.0
minimap-git-diff, v4.1.3
pigments, v0.3.0

# Dev
No dev packages

Uncaught TypeError: Cannot read property 'path' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: pigments package, v0.8.2

Stack Trace

Uncaught TypeError: Cannot read property 'path' of undefined

At /Users/Boxerbrand/.atom/packages/pigments/lib/palette-element.coffee:128

TypeError: Cannot read property 'path' of undefined
  at /Users/Boxerbrand/.atom/packages/pigments/lib/palette-element.coffee:128:16
  at Palette.module.exports.Palette.eachColor (/Users/Boxerbrand/.atom/packages/pigments/lib/palette.coffee:23:28)
  at pigments-palette.PaletteElement.getFilesPalettes (/Users/Boxerbrand/.atom/packages/pigments/lib/palette-element.coffee:127:14)
  at pigments-palette.PaletteElement.renderList (/Users/Boxerbrand/.atom/packages/pigments/lib/palette-element.coffee:95:19)
  at /Users/Boxerbrand/.atom/packages/pigments/lib/palette-element.coffee:53:8
  at /Applications/Atom.app/Contents/Resources/app.asar/src/config.js:557:16
  at /Applications/Atom.app/Contents/Resources/app.asar/src/config.js:574:20
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at Config.module.exports.Config.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:736:29)
  at Config.module.exports.Config.setRawValue (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:551:19)
  at Config.module.exports.Config.set (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:233:14)
  at Object.subscriptions.add.subscribeTo.change [as __NONE__] (/Users/Boxerbrand/.atom/packages/pigments/lib/palette-element.coffee:62:19)
  at HTMLInputElement.listener (/Users/Boxerbrand/.atom/packages/minimap/node_modules/atom-utils/lib/mixins/events-delegation.js:108:41)

Commands

     -3:47.4.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -3:46.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -3:46.8.0 pigments:find-colors (atom-text-editor.editor)
     -3:04.3.0 command-palette:toggle (ol.search-colors-results.results-view.list-tree.focusable-panel.has-collapsable-children)
  2x -3:01.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  2x -3:00.1.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -2:59.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:59.2.0 pigments:show-palette (ol.search-colors-results.results-view.list-tree.focusable-panel.has-collapsable-children)
     -1:47.3.0 core:backspace (atom-text-editor#pigments.ignoredNames.editor.mini.is-focused)
     -1:41.8.0 core:save (atom-text-editor#pigments.ignoredNames.editor.mini.is-focused)
  2x -1:38.2.0 core:close (atom-pane.pane.active)
     -0:25.7.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:23.9.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  2x -0:20.7.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:19.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:19.4.0 pigments:show-palette (atom-text-editor.editor)

Config

{
  "core": {
    "disabledPackages": [
      "genesis-snippets",
      "linter-tidy"
    ]
  },
  "pigments": {
    "sortPaletteColors": "by color",
    "groupPaletteColors": "by file",
    "ignoredNames": [
      "blog/*",
      "wp-includes/*"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.28.7
atom-html-preview, v0.1.8
autocomplete-paths, v1.0.2
color-picker, v2.0.7
emmet, v2.3.11
linter, v1.1.0
linter-bootlint, v0.0.6
linter-csslint, v0.0.14
linter-haml, v0.4.0
linter-htmlhint, v0.0.16
linter-js-yaml, v1.1.1
linter-jshint, v0.1.7
linter-jsonlint, v0.1.4
linter-less, v2.0.3
linter-scss-lint, v1.0.5
minimap, v4.10.1
pigments, v0.8.2
seti-icons, v0.3.0
tag, v0.3.0

# Dev
No dev packages

pigments causes atom to stop responding

With atom 1.0 and pigments installed the editor will stop responding after about 7 seconds. It is initially showing color previews as expected.
What can i do to provide you with more useful information?

Feature request: scale dot markers to text/font size

The dot color markers have a fixed width/height of 16px/16px. That's fine with the defaults for font-size, but I like to zoom in/out sometimes, after which the markers are too large or too small:
pigments dot overlap
Note how the markers are overlapping each other.

I suggest setting their width and height to

Math.floor(atom.config.get('editor.lineHeight') * atom.config.get('editor.fontsize')) + 'px'

that way the markers always exactly fill 1 line vertically.

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

Steps to reproduce below:

  1. Just make a right click on any file

Atom Version: 1.0.0
System: Mac OS X 10.10.4
Thrown From: pigments package, v0.8.0

Stack Trace

Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null

At /Users/max/.atom/packages/pigments/lib/color-buffer.coffee:286

TypeError: Cannot read property 'getBoundingClientRect' of null
  at ColorBuffer.module.exports.ColorBuffer.pixelPositionForMouseEvent (/Users/max/.atom/packages/pigments/lib/color-buffer.coffee:286:65)
  at ColorBuffer.module.exports.ColorBuffer.screenPositionForMouseEvent (/Users/max/.atom/packages/pigments/lib/color-buffer.coffee:279:22)
  at ColorBuffer.module.exports.ColorBuffer.colorMarkerForMouseEvent (/Users/max/.atom/packages/pigments/lib/color-buffer.coffee:273:17)
  at Object.module.exports.colorMarkerForMouseEvent (/Users/max/.atom/packages/pigments/lib/pigments.coffee:154:18)
  at Object.module.exports.shouldDisplayContextMenu (/Users/max/.atom/packages/pigments/lib/pigments.coffee:149:5)
  at Object.atom.contextMenu.add.atom-text-editor.shouldDisplay (/Users/max/.atom/packages/pigments/lib/pigments.coffee:132:36)
  at ContextMenuManager.module.exports.ContextMenuManager.templateForEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:108:25)
  at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:166:27)
  at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:150:33)
  at HTMLDocument.handler (/Applications/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:112:34)
  at HTMLDocument.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4681:9)
  at HTMLDocument.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4359:46)

Commands

     -4:05.1.0 core:backspace (input.hidden-input)
     -3:51.2.0 fuzzy-finder:toggle-file-finder (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai-syntax-for-one-dark.theme-one-dark-ui)
     -3:46.1.0 editor:consolidate-selections (input.hidden-input)
     -3:46.1.0 core:cancel (input.hidden-input)
     -3:05.2.0 command-palette:toggle (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai-syntax-for-one-dark.theme-one-dark-ui)
  2x -3:02.9.0 core:move-down (input.hidden-input)
     -3:02.5.0 core:confirm (input.hidden-input)
     -3:02.5.0 pigments:show-palette (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai-syntax-for-one-dark.theme-one-dark-ui)
     -1:27.7.0 fuzzy-finder:toggle-file-finder (div.settings-view.pane-item)
  3x -1:25.6.0 core:backspace (input.hidden-input)
     -1:24.9.0 editor:consolidate-selections (input.hidden-input)
     -1:24.9.0 core:cancel (input.hidden-input)
     -1:24.4.0 command-palette:toggle (div.settings-view.pane-item)
     -1:22.9.0 core:move-down (input.hidden-input)
     -1:20.6.0 core:confirm (input.hidden-input)
     -1:20.6.0 pigments:find-colors (div.settings-view.pane-item)

Config

{
  "core": {
    "disabledPackages": [
      "language-objective-c",
      "language-php",
      "language-perl",
      "language-make",
      "language-mustache",
      "language-java",
      "distraction-free-mode",
    ],
    "audioBeep": false,
    "themes": [
      "one-dark-ui",
      "monokai-syntax-for-one-dark"
    ]
  },
  "pigments": {}
}

Installed Packages

# User
autocomplete-sass, v0.1.0
color-picker, v2.0.7
file-icons, v1.5.8
language-rspec, v0.3.0
monokai-syntax-for-one-dark, v0.2.2
pigments, v0.8.0
project-manager, v1.15.10
react, v0.12.0
tabs-to-spaces, v0.11.0

# Dev
No dev packages

Uncaught TypeError: Cannot read property '1' of undefined

Steps to reproduce :

  1. Install package
  2. Create *.scss file with some color variable (e.g $color-green:#29af09;)
  3. Try to use "Pigments: Find Colors"

Atom Version: 0.196.0
System: Mac OS X 10.10.3
Thrown From: pigments package, v0.2.0

Stack Trace

Uncaught TypeError: Cannot read property '1' of undefined

At /Users/toastman/.atom/packages/pigments/lib/color-search.coffee:48

TypeError: Cannot read property '1' of undefined
  at /Users/toastman/.atom/packages/pigments/lib/color-search.coffee:48:25
  at Workspace.module.exports.Workspace.scan (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:833:11)
  at ColorSearch.module.exports.ColorSearch.search (/Users/toastman/.atom/packages/pigments/lib/color-search.coffee:38:30)
  at pigments-color-results.module.exports.ColorResultsElement.setModel (/Users/toastman/.atom/packages/pigments/lib/color-results-element.coffee:63:18)
  at Object.createView (/Users/toastman/.atom/packages/pigments/lib/color-results-element.coffee:166:13)
  at ViewRegistry.module.exports.ViewRegistry.createView (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:74:72)
  at ViewRegistry.module.exports.ViewRegistry.getView (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:61:21)
  at /Users/toastman/.atom/packages/pigments/lib/pigments.coffee:88:18
  at wrappedOpener (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:511:18)
  at Workspace.module.exports.Workspace.openURIInPane (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:433:22)
  at Object.module.exports.findColors (/Users/toastman/.atom/packages/pigments/lib/pigments.coffee:119:20)
  at atom-workspace.atom.commands.add.pigments:find-colors (/Users/toastman/.atom/packages/pigments/lib/pigments.coffee:79:35)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:120:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
  at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:519:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:354:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:178:20)

Commands

     -0:32.7.0 editor:move-to-end-of-screen-line (atom-text-editor.editor)
     -0:32.1.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
     -0:32.1.0 editor:newline (atom-text-editor.editor)
     -0:29.8.0 application:new-file (atom-text-editor.editor)
     -0:28 core:save (atom-text-editor.editor.is-focused)
     -0:17.2.0 color-picker:open (atom-text-editor.editor.is-focused)
     -0:12.8.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:11.4.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:11.2.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:10.9.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
  2x -0:10.9.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:10.4.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:10.2.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:05.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:02.5.0 core:confirm (atom-text-editor.editor.mini)
     -0:02.5.0 pigments:find-colors (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "one-dark-ui",
      "one-dark-syntax"
    ],
    "disabledPackages": [
      "change-case"
    ]
  },
  "pigments": {}
}

Installed Packages

# User
atom-beautify, v0.27.0
color-picker, v1.7.0
emmet, v2.3.8
file-icons, v1.5.5
javascript-snippets, v1.0.0
linter, v0.12.1
linter-eslint, v0.5.3
pigments, v0.2.0

# Dev
No dev packages

Fix the bad UX between your need to alert and my need to not care.

I understand your need to alert, I really do... I do not however appreciate the bad alert designs. It is not ever acceptable to take over and block a users ability to use their software in a non-critical situation and "paths size threshold exceeded" is not a critical message, it's something you could have clearly side alerted about while disabling it for the current session. Even Atom itself side alerts critical messages it can recover from, why are you not using that UX idea for your UI?

What do you do instead? You block my ability to use my own editor until I pay attention to something that is irrelevant, that's bad design, no matter how you try to justify it, what makes it worse is you do not allow click close on any area so I can rid of it quickly and get work done and no having a button that says "ignore this" is not good UX.

I appreciate the software it's great 👍 , I don't appreciate the bad UX 👎

Failed to activate the pigments package

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.199.0
System: Mac OS X 10.10.3
Thrown From: pigments package, v0.3.0

Stack Trace

Failed to activate the pigments package

At Cannot read property 'length' of undefined

TypeError: Cannot read property 'length' of undefined
    at ColorProject.module.exports.ColorProject.getVariableByName (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:382:33)
    at /Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-buffer.coffee:133:36
    at Array.map (native)
    at ColorBuffer.module.exports.ColorBuffer.restoreMarkersState (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-buffer.coffee:125:10)
    at new ColorBuffer (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-buffer.coffee:88:14)
    at ColorProject.module.exports.ColorProject.colorBufferForEditor (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:227:57)
    at /Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:196:26
    at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Development/Atom.app/Contents/Resources/app.asar/src/workspace.js:267:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:193:52)
    at new ColorProject (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:71:12)
    at Function.module.exports.ColorProject.deserialize (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:35:14)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Development/Atom.app/Contents/Resources/app.asar/src/deserializer-manager.js:42:29)
    at Object.module.exports.activate (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/pigments.coffee:80:82)
    at Package.module.exports.Package.activateNow (/Applications/Development/Atom.app/Contents/Resources/app.asar/src/package.js:238:19)
    at /Applications/Development/Atom.app/Contents/Resources/app.asar/src/package.js:219:30
    at Package.module.exports.Package.measure (/Applications/Development/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "language-make",
      "language-c",
      "language-clojure",
      "language-csharp",
      "language-go",
      "language-java",
      "language-objective-c",
      "language-mustache",
      "language-perl",
      "language-python",
      "language-ruby",
      "language-ruby-on-rails",
      "language-sql",
      "language-toml",
      "linter-tidy",
      "linter-scss-lint",
      "atom-terminal-panel",
      "terminal-status",
      "terminal-panel"
    ],
    "themes": [
      "atom-dark-ui",
      "bob-tomorrow-night"
    ],
    "ignoredNames": [
      "bin"
    ]
  },
  "pigments": {
    "ignoredScopes": [
      ".source.gfm"
    ]
  }
}

Installed Packages

# User
bob-tomorrow-night, v0.6.1
color-picker, v1.7.0
editorconfig, v1.0.0
file-icons, v1.5.5
highlight-line, v0.10.2
language-gitignore, v0.2.0
linter, v0.12.2
linter-coffeelint, v0.2.3
linter-csslint, v0.0.12
linter-htmlhint, v0.0.15
linter-js-yaml, v1.0.1
linter-jshint, v0.1.4
open-recent, v2.2.2
php-twig, v3.0.0
pigments, v0.3.0
tabs-to-spaces, v0.10.0

# Dev
No dev packages

Pigments returns wrong color highlight output from function

I'm using shade function to mix color with black:

@function shade($color, $percentage) {
    @return mix($color, black, $percentage);
}

Here's the result:
zrzut ekranu 2015-07-09 o 17 22 56

It highlights it as black but in fact it's only a little more darken than $color-primary and it's value is equal to #1DBC91

Uncaught TypeError: Cannot read property 'colorMarkerForMouseEvent' of undefined

[Enter steps to reproduce below:]

  1. goto any package's settings page
  2. right click on any text input

Atom Version: 0.210.0
System: Mac OS X 10.10.3
Thrown From: pigments package, v0.7.2

Stack Trace

Uncaught TypeError: Cannot read property 'colorMarkerForMouseEvent' of undefined

At /Users/tsl0922/.atom/packages/pigments/lib/pigments.coffee:154

TypeError: Cannot read property 'colorMarkerForMouseEvent' of undefined
  at Object.module.exports.colorMarkerForMouseEvent (/Users/tsl0922/.atom/packages/pigments/lib/pigments.coffee:154:16)
  at Object.module.exports.shouldDisplayContextMenu (/Users/tsl0922/.atom/packages/pigments/lib/pigments.coffee:149:5)
  at Object.atom.contextMenu.add.atom-text-editor.shouldDisplay (/Users/tsl0922/.atom/packages/pigments/lib/pigments.coffee:132:36)
  at ContextMenuManager.module.exports.ContextMenuManager.templateForEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:108:25)
  at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:166:27)
  at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:150:33)
  at HTMLDocument.handler (/Applications/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:112:34)
  at HTMLDocument.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4681:9)
  at HTMLDocument.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4359:46)

Commands

  2x -3:31.6.0 core:copy (ol.native-key-bindings.breadcrumb)

Config

{
  "core": {
    "disabledPackages": [
      "metrics",
      "linter-htmlhint",
      "minimap",
      "merge-conflicts",
      "vim-mode",
      "emmet",
      "regex-railroad-diagram",
      "linter-scss-lint"
    ],
    "projectHome": "/Users/tsl0922/workspace",
    "themes": [
      "atom-dark-ui",
      "one-dark-syntax"
    ],
    "excludeVcsIgnoredPaths": false
  },
  "pigments": {
    "markerType": "dot"
  }
}

Installed Packages

# User
angularjs, v0.3.0
autoclose-html, v0.18.0
editorconfig, v1.0.0
file-icons, v1.5.7
hex, v0.6.2
language-apache, v1.3.0
language-docker, v1.1.3
language-haml, v0.21.0
language-lua, v0.9.3
language-nginx, v0.5.3
language-scala, v1.1.3
language-viml, v0.2.0
language-yaml, v0.22.0
linter, v0.12.7
linter-coffeelint, v0.3.2
linter-csslint, v0.0.13
linter-jshint, v0.1.6
linter-rubocop, v0.2.7
pigments, v0.7.2
pretty-json, v0.3.3
symbols-tree-view, v0.9.3

# Dev
No dev packages

TypeError: Cannot read property 'name' of undefined

It bubbles up here:

/home/cj/.atom/packages/pigments/lib/color-buffer.coffee:211 TypeError: Cannot read property 'name' of undefined

I traced it to lib/variables-collection.coffee:348:

347: for variable in variables
348:   if dependencies = @dependencyGraph[variable.name] # <- `variable` is undefined.
349:     for name in dependencies
350:       if name not in dirtyVariableNames and name not in createdVariableNames
351:         dirtyVariableNames.push(name)

I've never used coffeescript, so I'm having to translate this to javascript doing the best I can to track down the original cause. I tried the naive thing and added this:

if variable.name? and (dependencies = @dependencyGraph[variable.name])

..but that was just a shot in the dark from a coffeescript/atom newb. It didn't help. To be honest I don't know how or when this code is converted to javascript (would editing the .coffee file have any affect at all after restarting Atom?).

Question: Why aren't color variables highlighted but standard colors are?

If I use an actual color, then Pigments will highlight it, but it doesn't seem to highlight my variables.

I have one main SCSS file that @imports all of my different SCSS files, so I don't include the the individual colors at the top of every single SCSS file. Is there a way to make this work?

image

Uncaught TypeError: Cannot read property 'color' of null

[Enter steps to reproduce below:]

  1. ... Navigated to folder and dragged the icon onto the ATOM app in dock bar
  2. ... App started and error appeared.

Atom Version: 0.208.0
System: Mac OS X 10.10.3
Thrown From: pigments package, v0.4.5

Stack Trace

Uncaught TypeError: Cannot read property 'color' of null

At /Users/jasonmoore/.atom/packages/pigments/lib/renderers/background.coffee:8

TypeError: Cannot read property 'color' of null
  at BackgroundRenderer.module.exports.BackgroundRenderer.render (/Users/jasonmoore/.atom/packages/pigments/lib/renderers/background.coffee:8:24)
  at pigments-color-marker.ColorMarkerElement.render (/Users/jasonmoore/.atom/packages/pigments/lib/color-marker-element.coffee:46:46)
  at /Users/jasonmoore/.atom/packages/pigments/lib/color-buffer-element.coffee:93:45
  at Array.forEach (native)
  at pigments-markers.ColorBufferElement.editorConfigChanged (/Users/jasonmoore/.atom/packages/pigments/lib/color-buffer-element.coffee:93:18)
  at /Users/jasonmoore/.atom/packages/pigments/lib/color-buffer-element.coffee:62:8
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at TokenizedBuffer.module.exports.TokenizedBuffer.markTokenizationComplete (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:334:22)
  at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:325:21)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:271:26

Commands

Config

{
  "core": {
    "destroyEmptyPanes": false,
    "themes": [
      "atom-dark-ui",
      "monokai-soda"
    ],
    "disabledPackages": [
      "wrap-guide"
    ]
  }
}

Installed Packages

# User
autoclose-html, v0.17.1
color-picker, v2.0.4
linter, v0.12.7
minimap, v4.9.4
monokai-soda, v0.5.0
pigments, v0.4.5
tabs-to-spaces, v0.11.0

# Dev
No dev packages

Failed to load the pigments package

Steps to reproduce:

  1. Went to Settings -> Install
  2. Searched for pigments
  3. Clicked Install

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: pigments package, v0.8.0

Stack Trace

Failed to load the pigments package

At Cannot find module 'color'

Error: Cannot find module 'color'
  at Module._resolveFilename (module.js:328:15)
  at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
  at Function.Module._load (module.js:270:25)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Object.<anonymous> (/Users/solo/.atom/packages/pigments/node_modules/css-color-function/lib/convert.js:3:13)
  at Module._compile (module.js:452:26)
  at Object.loadFile [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/babel.js:162:21)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Object.<anonymous> (/Users/solo/.atom/packages/pigments/node_modules/css-color-function/lib/index.js:2:15)
  at Module._compile (module.js:452:26)
  at Object.loadFile [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/babel.js:162:21)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Object.<anonymous> (/Users/solo/.atom/packages/pigments/lib/color-expressions.coffee:1:12)
  at Object.<anonymous> (/Users/solo/.atom/packages/pigments/lib/color-expressions.coffee:1:1)
  at Module._compile (module.js:452:26)
  at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Object.<anonymous> (/Users/solo/.atom/packages/pigments/lib/color-search.coffee:3:17)
  at Object.<anonymous> (/Users/solo/.atom/packages/pigments/lib/color-search.coffee:1:1)
  at Module._compile (module.js:452:26)
  at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Object.<anonymous> (/Users/solo/.atom/packages/pigments/lib/color-project.coffee:7:15)
  at Object.<anonymous> (/Users/solo/.atom/packages/pigments/lib/color-project.coffee:1:1)
  at Module._compile (module.js:452:26)
  at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Object.<anonymous> (/Users/solo/.atom/packages/pigments/lib/pigments.coffee:2:16)
  at Object.<anonymous> (/Users/solo/.atom/packages/pigments/lib/pigments.coffee:1:1)
  at Module._compile (module.js:452:26)
  at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:709:34)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:188:28
  at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:165:15)
  at Package.module.exports.Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:179:12)
  at PackageManager.module.exports.PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:372:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:451:30)
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:362:29
  at exit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:53:16)
  at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:220:18
  at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)
  at emitOne (events.js:82:20)
  at Socket.emit (events.js:166:7)
  at Pipe.close (net.js:464:12)

Commands

  2x -1:13 core:move-up (atom-text-editor.editor.is-focused)
  4x -1:12.7.0 core:move-left (atom-text-editor.editor.is-focused)
     -1:11.7.0 core:move-right (atom-text-editor.editor.is-focused)
  3x -1:11.3.0 editor:select-to-beginning-of-word (atom-text-editor.editor.is-focused)
  2x -1:10.3.0 core:backspace (atom-text-editor.editor.is-focused)
  5x -1:09.8.0 core:cut (atom-text-editor.editor.is-focused)
  2x -1:06.3.0 core:copy (atom-text-editor.editor.is-focused)
     -0:56.9.0 core:paste (atom-text-editor.editor.is-focused)
     -0:54.6.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:54.6.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:54.6.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:51.6.0 core:copy (atom-text-editor.editor.is-focused)
  2x -0:50.6.0 core:paste (atom-text-editor.editor.is-focused)
     -0:49.2.0 core:save (atom-text-editor.editor.is-focused)
     -0:29.8.0 editor:select-to-first-character-of-line (atom-text-editor.editor.mini.is-focused)
  2x -0:23.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
language-haml, v0.15.0
minimap, v4.10.0
pigments, v0.8.0

# Dev
No dev packages

Color words are highlighted

Word in .md text such as gold are being highlighted as a color. The .gfm scope is not shown as an autocomplete scope.

Weird autocomplete-plus suggestions

With package disabled:
2015-04-22_1728

With package enabled:
2015-04-22_1727

I'm not sure what the intended behavior is, but:

  • the suggestions don't seem right. It's only suggesting sass variables. And the hint text is what they are assigned to.
  • the window is wider which is probably caused by a long variable.

Perfomance issues

This slows Atom to a crawl. I'd love to give you more 'useful' information if you tell me what I can do.

Failed to activate: Cannot read property 'querySelector' of null

I can not enable the pigments package because of two errors which probably hang together.
Listed below are the two error reports that appeared to me in the last 10 days continuously.
But what really surprised me was the following notification: The issue is already solved in #17.

[Steps to reproduce:]

  • Open editor error 1
  • Open project folder error 2

Atom Version: 0.208.0 - 0.210.0
System: Mac OS X 10.10.3
Thrown From: pigments package, v0.5.0 - v0.7.3

Stack Trace 1

Failed to activate the pigments package

At Cannot read property 'querySelector' of null

TypeError: Cannot read property 'querySelector' of null
  at pigments-markers.ColorBufferElement.attach (/Users/philipp/.atom/packages/pigments/lib/color-buffer-element.coffee:150:52)
  at /Users/philipp/.atom/packages/pigments/lib/color-project.coffee:166:23
  at Workspace.module.exports.Workspace.observeTextEditors (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/workspace.js:276:9)
  at ColorProject.module.exports.ColorProject.initializeBuffers (/Users/philipp/.atom/packages/pigments/lib/color-project.coffee:162:39)
  at new ColorProject (/Users/philipp/.atom/packages/pigments/lib/color-project.coffee:70:6)
  at Function.module.exports.ColorProject.deserialize (/Users/philipp/.atom/packages/pigments/lib/color-project.coffee:37:9)
  at DeserializerManager.module.exports.DeserializerManager.deserialize (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/deserializer-manager.js:42:29)
  at Object.module.exports.activate (/Users/philipp/.atom/packages/pigments/lib/pigments.coffee:79:43)
  at Package.module.exports.Package.activateNow (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:240:19)
  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:221:30
  at Package.module.exports.Package.measure (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:165:15)
  at Package.module.exports.Package.activate (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:213:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package-manager.js:452:21)
  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package-manager.js:313:19
  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/config.js:574:20
  at Emitter.module.exports.Emitter.emit (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at Config.module.exports.Config.emitChangeEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/config.js:736:29)
  at Config.module.exports.Config.setRawValue (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/config.js:551:19)
  at Config.module.exports.Config.set (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/config.js:233:14)
  at Config.module.exports.Config.removeAtKeyPath (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/config.js:343:12)
  at Package.module.exports.Package.enable (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package.js:150:26)
  at PackageManager.module.exports.PackageManager.enablePackage (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/package-manager.js:142:14)
  at HTMLButtonElement.<anonymous> (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-card.js:310:27)
  at HTMLButtonElement.jQuery.event.dispatch (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLButtonElement.elemData.handle (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Stack Trace 2

Uncaught TypeError: Cannot read property 'querySelector' of null

At /Users/philipp/.atom/packages/pigments/lib/color-buffer-element.coffee:150

TypeError: Cannot read property 'querySelector' of null
  at pigments-markers.ColorBufferElement.attach (/Users/philipp/.atom/packages/pigments/lib/color-buffer-element.coffee:150:52)
  at /Users/philipp/.atom/packages/pigments/lib/color-buffer-element.coffee:70:55
  at Emitter.module.exports.Emitter.emit (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at atom-text-editor.TextEditorElement.attachedCallback (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:101:27)
  at atom-pane.PaneElement.activeItemChanged (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/pane-element.js:150:24)
  at Emitter.module.exports.Emitter.emit (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at Pane.module.exports.Pane.setActiveItem (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/pane.js:234:22)
  at Pane.module.exports.Pane.activateItem (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/pane.js:298:21)
  at Pane.module.exports.Pane.activateItemAtIndex (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/pane.js:292:19)
  at Pane.module.exports.Pane.activateNextItem (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/pane.js:253:21)
  at Pane.module.exports.Pane.removeItem (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/pane.js:370:16)
  at Pane.module.exports.Pane.destroyItem (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/pane.js:442:16)
  at Pane.module.exports.Pane.destroyActiveItem (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/pane.js:419:12)
  at Workspace.module.exports.Workspace.destroyActivePaneItem (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/workspace.js:602:35)
  at Workspace.module.exports.Workspace.destroyActivePaneItemOrEmptyPane (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/workspace.js:641:21)
  at atom-workspace.atom.commands.add.core:close (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/workspace-element.js:314:30)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:180:20)

Commands 1

     -0:27.2.0 command-palette:toggle (input.hidden-input)
     -0:21.9.0 core:backspace (input.hidden-input)
     -0:19.3.0 editor:consolidate-selections (input.hidden-input)
     -0:19.3.0 core:cancel (input.hidden-input)
     -0:12.6.0 settings-view:open (input.hidden-input)

Commands 2

  2x -0:23.6.0 application:new-file (atom-pane.pane.active)
     -0:08.9.0 project-manager:toggle (atom-pane.pane.active)
     -0:07.6.0 editor:consolidate-selections (input.hidden-input)
     -0:07.6.0 core:cancel (input.hidden-input)
     -0:05.7.0 settings-view:open (atom-pane.pane.active)
     -0:01.8.0 core:close (div.settings-view.pane-item)

Config

{
  "core": {
    "disabledPackages": [
      "metrics",
      "welcome",
      "symbols-tree-view",
      "color-picker",
      "git-tab-status"
    ]
  },
  "pigments": {
    "extendAutocompleteToVariables": true
  }
}

Installed Packages

# User
file-icons, v1.5.7
git-log, v0.4.1
language-nginx, v0.5.3
language-rust, v0.4.3
language-slim, v0.4.0
linter, v0.12.7
linter-eslint, v0.5.9
linter-rubocop, v0.2.7
linter-scss-lint, v1.0.4
linter-slim, v0.5.1
minimap, v4.10.0
minimap-git-diff, v4.1.3
pigments, v0.7.3
project-manager, v1.15.10

# Dev
No dev packages

Color Palette Blank

Opening up the Palette within Sass based project and color palette shows nothing at all. used to work in previous versions. Of note the find color function works as expected.

0.7.2 - Win8.1

minimap-color-highlight

Does that plugin support pigments just yet (or will pigments include a minimap binding in the near future)?

Square dots

Hi, tnks for this nice plugin.
You may include square dots?

square

Tnks again

Color Picker Integration

It would be very useful to integrate this plugin with a color picker. Clicking on the dot or an icon next to.

picker

Tnks

Uncaught TypeError: Cannot read property 'filter' of undefined

[Enter steps to reproduce below:]

Not sure if the crash/stack trace below actually belongs to the problem I'm observing, but it was triggered ONCE by the behavior I see here:

  1. Create a new file and save as freeze.css
  2. Type ".a"
  3. Editor locks up.

Atom Version: 0.199.0
System: Microsoft Windows 8.1 Pro
Thrown From: pigments package, v0.2.1

Stack Trace

Uncaught TypeError: Cannot read property 'filter' of undefined

At C:\Users\ddeobald\.atom\packages\pigments\lib\color-project.coffee:244

TypeError: Cannot read property 'filter' of undefined
  at ColorProject.module.exports.ColorProject.getColorVariables (C:\Users\ddeobald\.atom\packages\pigments\lib\color-project.coffee:244:38)
  at PigmentsProvider.module.exports.PigmentsProvider.getSuggestions (C:\Users\ddeobald\.atom\packages\pigments\lib\pigments-provider.coffee:27:28)
  at C:\Users\ddeobald\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:254:56
  at Array.forEach (native)
  at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (C:\Users\ddeobald\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:233:17)
  at AutocompleteManager.getSuggestionsFromProviders (C:\Users\ddeobald\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:3:61)
  at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (C:\Users\ddeobald\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:221:19)
  at C:\Users\ddeobald\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:3:61

Commands

  2x -0:40.4.0 click (div.title)
     -0:38.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:38.5.0 core:paste (atom-text-editor.editor.is-focused)
  3x -0:37.3.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:09.5.0 click (a.btn-issue.btn.btn-error)

Config

{
  "core": {
    "disabledPackages": [
      "js-refactor",
      "linter-eslint",
      "deprecation-cop",
      "recent-projects",
      "recent-files",
      "conceal",
      "less-than-slash",
      "emmet"
    ]
  },
  "pigments": {
    "sourceNames": [
      "**/*.styl",
      "**/*.stylus",
      "**/*.less",
      "**/*.sass",
      "**/*.scss",
      "**/*.css"
    ],
    "markerType": "underline"
  }
}

Installed Packages

# User
altgr, v0.1.0
atom-html-preview, v0.1.6
composer, v0.3.1
highlight-selected, v0.9.3
html-id-class-snippets, v1.4.1
language-sql-mysql, v0.3.1
less-autocompile, v1.0.0
linter, v0.12.2
linter-htmlhint, v0.0.15
linter-jshint, v0.1.4
linter-jsonlint, v0.1.3
linter-php, v0.0.12
minimap, v4.8.0
minimap-highlight-selected, v4.2.3
open-recent, v2.2.2
pigments, v0.2.1
pretty-json, v0.3.3
project-manager, v1.15.5
select-line, v0.16.0
select-rectangle, v1.0.2
uuidgen, v1.2.0

# Dev
No dev packages

Uncaught RangeError: Maximum call stack size exceeded

Reproduce:

  1. Open the Command Pallete
  2. Choose Pigments: Find Colors

Atom Version: 0.201.0
System: Microsoft Windows 8
Thrown From: pigments package, v0.3.1

Stack Trace

Uncaught RangeError: Maximum call stack size exceeded

At C:\Users\Whisnu\.atom\packages\pigments\lib\regexes.coffee:0

RangeError: Maximum call stack size exceeded
  at String.replace (native)
  at C:\Users\Whisnu\.atom\packages\pigments\lib\regexes.coffee:23:14
  at Array.map (native)
  at module.exports.createVariableRegExpString (C:\Users\Whisnu\.atom\packages\pigments\lib\regexes.coffee:22:31)
  at module.exports.getRegistry (C:\Users\Whisnu\.atom\packages\pigments\lib\color-expressions.coffee:628:27)
  at ColorParser.module.exports.ColorParser.parse (C:\Users\Whisnu\.atom\packages\pigments\lib\color-parser.coffee:18:16)
  at ColorContext.module.exports.ColorContext.readColor (C:\Users\Whisnu\.atom\packages\pigments\lib\color-context.coffee:41:22)
  at Color.<anonymous> (C:\Users\Whisnu\.atom\packages\pigments\lib\color-expressions.coffee:339:25)
  at ColorExpression.module.exports.ColorExpression.parse (C:\Users\Whisnu\.atom\packages\pigments\lib\color-expression.coffee:15:13)
  at ColorParser.module.exports.ColorParser.parse (C:\Users\Whisnu\.atom\packages\pigments\lib\color-parser.coffee:21:16)

Commands

     -1:09.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -1:08.3.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -1:08.3.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:52.2.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:52 editor:newline (atom-text-editor.editor.is-focused)
     -0:51.7.0 core:move-up (atom-text-editor.editor.is-focused)
  2x -0:30.1.0 core:backspace (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "git-plus"
    ]
  },
  "pigments": {}
}

Installed Packages

# User
highlight-selected, v0.9.3
minimap, v4.9.0
minimap-find-and-replace, v4.2.0
pigments, v0.3.1

# Dev
No dev packages

Not installable at the moment?

Hi, I am running Atom 1.0.2 and tried to install that package via settings and via apm, settings don't find it, apm says:

Request for package information failed: Application error

No results in palette

I'm having the same issue as in the closed issue #31. To test, I created a brand new folder with two files in it, one .css and one .scss. They each just have one rule with a few color declarations. Find Colors works perfectly, but Show Palette just gives an empty palette tab.

There are no errors reported in the console.
Inspecting the tab's DOM shows that there are no elements at all:
<div class="pigments-palette-list"><ol></ol></div>
Pigments:reload doesn't help.
Deleting the editor file in ~/.atom/storage doesn't help.

My pigments settings are default except I added .css to the Source Names:
**/*.css, **/*.styl, **/*.stylus, **/*.less, **/*.sass, **/*.scss

Atom's Ignored Names are at default.

Atom v1.0.2, Pigments v0.8.3, Mac OS X 10.9.5

Uncaught TypeError: Cannot read property 'getColorVariables' of null

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.194.0
System: Mac OS X 10.9.5
Thrown From: pigments package, v0.1.4

Stack Trace

Uncaught TypeError: Cannot read property 'getColorVariables' of null

At /Users/kotarok/.atom/packages/pigments/lib/pigments-provider.coffee:26

TypeError: Cannot read property 'getColorVariables' of null
  at PigmentsProvider.module.exports.PigmentsProvider.getSuggestions (/Users/kotarok/.atom/packages/pigments/lib/pigments-provider.coffee:26:27)
  at /Users/kotarok/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:152:45
  at Array.forEach (native)
  at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Users/kotarok/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:135:15)
  at AutocompleteManager.getSuggestionsFromProviders (/Users/kotarok/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:1:1)
  at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Users/kotarok/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:129:6)
  at /Users/kotarok/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:1:1

Commands

  5x -0:25.3.0 core:move-up (atom-text-editor.editor.is-focused)
  3x -0:23.4.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:22.5.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:22.3.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused)
     -0:22.3.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -0:22.2.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:16.6.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:16.6.0 core:cancel (atom-text-editor.editor.is-focused)
  4x -0:14.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:10.2.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused)
     -0:10.2.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -0:10.2.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:08.6.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:08.6.0 core:cancel (atom-text-editor.editor.is-focused)
     -0:08.3.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:08.3.0 core:cancel (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "disabledPackages": [
      "minimap"
    ]
  },
  "pigments": {
    "mergeColorDuplicates": true
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.2.3
atom-beautify, v0.24.1
autocomplete-paths, v1.0.2
autocomplete-plus, v2.12.1
autocomplete-snippets, v1.3.0
color-picker, v1.7.0
docblockr, v0.6.3
emmet, v2.3.8
file-icons, v1.5.4
jshint, v1.3.5
linter, v0.12.1
pigments, v0.1.4
recent-files, v0.3.0

# Dev
No dev packages

Uncaught TypeError: Cannot read property 'getTokenIterator' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: pigments package, v0.8.1

Stack Trace

Uncaught TypeError: Cannot read property 'getTokenIterator' of undefined

At /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:660

TypeError: Cannot read property 'getTokenIterator' of undefined
  at TokenizedBuffer.module.exports.TokenizedBuffer.scopeDescriptorForPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:660:42)
  at DisplayBuffer.module.exports.DisplayBuffer.scopeDescriptorForBufferPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1135:35)
  at ColorBuffer.module.exports.ColorBuffer.markerScopeIsIgnored (/Users/pavsidhu/.atom/packages/pigments/lib/color-buffer.coffee:337:35)
  at /Users/pavsidhu/.atom/packages/pigments/lib/color-buffer.coffee:294:41
  at Array.filter (native)
  at ColorBuffer.module.exports.ColorBuffer.findValidColorMarkers (/Users/pavsidhu/.atom/packages/pigments/lib/color-buffer.coffee:293:35)
  at pigments-markers.ColorBufferElement.updateMarkers (/Users/pavsidhu/.atom/packages/pigments/lib/color-buffer-element.coffee:116:28)
  at pigments-markers.ColorBufferElement.attachedCallback (/Users/pavsidhu/.atom/packages/pigments/lib/color-buffer-element.coffee:24:6)
  at atom-pane.PaneElement.activeItemChanged (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-element.js:150:24)
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:234:22)
  at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:298:21)
  at Pane.module.exports.Pane.activateItemAtIndex (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:292:19)
  at Pane.module.exports.Pane.activatePreviousItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:263:21)
  at Pane.module.exports.Pane.removeItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:372:16)
  at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:442:16)
  at HTMLDivElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:236:22)
  at space-pen-ul.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at space-pen-ul.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -2:17.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:37.6.0 core:select-all (atom-text-editor.editor.mini.is-focused)
     -0:36 core:confirm (atom-text-editor.editor.mini.is-focused)
  2x -0:29.3.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "ignoredNames": [
      ".DS_Store"
    ],
    "projectHome": "/Users/PavSidhu/Documents/Web\\ Development"
  },
  "pigments": {}
}

Installed Packages

# User
color-picker, v2.0.7
editor-stats, v0.17.0
emmet, v2.3.10
file-icons, v1.5.8
highlight-line, v0.11.0
highlight-selected, v0.10.1
jshint, v1.3.8
minimap, v4.10.0
pigments, v0.8.1

# Dev
No dev packages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.