anseki / vscode-color

Helper with GUI to generate color codes such as CSS color notations.
MIT License
97 stars 27 forks source link

Superfluous error #4

Closed alechp closed 8 years ago

alechp commented 8 years ago

When I go to "Color Picker" from the command palette I get the following error:

screen shot 2016-05-12 at 11 45 14 am

Clearly has to do with the actual pop-up menu. When I type hotkey ⌥C C it works .. Displays some options via drop down palette. When I type hotkey ⌥C P I get the error seen above (i.e. same as choosing "Select Color" from command palette

anseki commented 8 years ago

Hi @alechp, thank you for the report. Could you tell me more information please?

alechp commented 8 years ago

@anseki

Except that error message is shown, does the "Pick Color" command (i.e. ⌥C P) work fine? That is, can you pick a color with the dialog-box? And, does the color you picked be inserted in current code? Yes, it works fine besides the error (hence the issue title "superfluous error")

When you run the "Convert Color" command (i.e. ⌥C C) only, does that error be shown? That is, you start VS Code and run the "Convert Color" command before the "Pick Color" command. No, error does not show. Works as expected.

Which version of the extension and VS Code are you using? VS Code: 1.1.0 Extension: 0.1.7

Please check "Console", and tell me that if message was shown in Console. Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab.

Dev Tools::Console log: Error: 2016-05-13 11:10:26.875 Electron Helper[13436:1854119] Couldn't set selectedTextBackgroundColor from default () at /Users/alechp/.vscode/extensions/anseki.vscode-color-0.1.7/node_modules/process-bridge/process-bridge.js:467:34 at parseMessageLines (/Users/alechp/.vscode/extensions/anseki.vscode-color-0.1.7/node_modules/process-bridge/process-bridge.js:71:7) at /Users/alechp/.vscode/extensions/anseki.vscode-color-0.1.7/node_modules/process-bridge/process-bridge.js:466:22 at Socket. (/Users/alechp/.vscode/extensions/anseki.vscode-color-0.1.7/node_modules/process-bridge/process-bridge.js:371:19) at emitOne (events.js:90:13) at Socket.emit (events.js:182:7) at readableAddChunk (_stream_readable.js:153:18) at Socket.Readable.push (_stream_readable.js:111:10) at Pipe.onread (net.js:531:20)

alechp commented 8 years ago

Ignore closed issue. Clicked wrong button. Please see comment above.

anseki commented 8 years ago

Thank you @alechp. Those help me very much. I will update the extension soon.

anseki commented 8 years ago

I updated the extension. Please try v0.1.8.