S
S
Sergey Burduzha2017-04-03 20:08:24
Sublime Text
Sergey Burduzha, 2017-04-03 20:08:24

Color picker not working in sublime text 3, how to solve this problem?

Installed sublime text 3 portable, then installed a few plugins and it works fine, but the color picker doesn't want to work. When I press ctrl+shift+c nothing happens, even if I call the plugin via the control package. Without this plugin, life does not make sense, it's a pity that there is no analogue. Does anyone know how to solve this problem.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vladverbiy, 2018-08-21
@serii81

If it's actually decided so! I did everything that is described above, it didn’t work (I went to the folder sublime-text-3/Packages/ColorPicker opened the file Default (Linux). sublime-keymap changed the picker call not ctrl shift c but ctrl shift w . Everything worked)

K
Kostiantyn Kondratiuk, 2018-12-25
@Kinderman

I will add (or rather change ) vladverbiy's answer : You need to go to Preferences - Browse Packages - a list of folders with installed plugins opens. Select the ColorPicker folder and go to the file Default (Windows). sublime-keymap (this is in my case because I have Windows. There are 2 more files specifically for Macs and Linux). You can go through Sublime itself. And in the file we change the default keyboard shortcut to our own. I put, for example, like this:
[
{ "keys": ["shift+alt+c"], "command": "color_pick" }
]
If you do this combination:

changed picker call not ctrl shift c but ctrl shift w
then, perhaps, there will be an overlay. the combination "ctrl+shift+w" is responsible for closing the active window.

F
fapchat, 2019-11-06
@fapchat

This is fucked up comrades!
After all the steps you suggested, nothing worked for me, but then on the page that AlexTikhonov pointed out , I did this

just edit ~/.config/sublime-text-3/Packages/ColorPicker/lib/linux_colorpicker.py,
search this line
if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType.OK):
change to
if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType):
and save. hope it's help

A window began to pop up for me, but the color was not selected when I clicked "ok", and then I set the default settings and it all worked, in the atom this plugin is 2 heads higher, even purely because of the appearance and due to the fact that there replaces the color value rather than just inserting a string when you press Enter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question