Closed matthew-ia closed 6 years ago
Also affects Atom for Linux 1.21.1.
me to
Hi! You can change the key binding within the Color Picker settings.
Go to Settings
› Color Picker Settings
› Trigger key
.
Either that, or disable the atom-ide-ui
Format Code shortcut through its settings.
Folks who were experiencing this issue:
I was rebinding via Settings
› Color Picker Settings
› Trigger key
, but it was still not working. I neglected to check if other packages had additional hotkeys that were conflicting with color-picker
's alternate options.
If you want to override the atom-ide-ui
hotkey go to Settings
› Keybindings
and at the top there's a link to open your keymap file
. Then append this below the comments in keymap.cson
:
'.platform-darwin atom-workspace atom-text-editor:not(.mini)':
'shift-cmd-C': 'unset!'
'<your-new-hotkey>': 'code-format:format-code'
So atom-ide-ui has some new hotkeys stock Atom does not, such as Format Code (cmd-shift-c), which is the default for color-picker. However, even when I change the color-picker hotkey to any of the other hotkey options, it doesn't work (even after a restart of Atom).
Atom version: 1.22.1 macOS