Crown Control — Logitech Crown (Craft) integration for Brackets
Probably won't work on macOS.
This is not an official way to install custom plugin for Logitech Options. But it works.
On Windows: After you have installed the extension:
- Open Logitech Options and select your keyboard (Craft).
- Click on
All Applications
and selectBrackets
. - Click on
More
>Software
and enableDeveloper Mode
. - Open folder with extensions for Brackets (
Help
>Show Extensions Folder
). - Copy
9df01287-806d-4292-9ee4-2c6e477fee55
folder toC:\ProgramData\Logishrd\LogiOptionsPlugins
(folderLogiOptionsPlugins
has to be created). - Go to
C:\Users\[YOUR_ACCOUNT]\AppData\Roaming\Logishrd\LogiOptions
. - Open
apptable.xml
and find<profile/>
for Brackets. - Change
<id/>
to9df01287-806d-4292-9ee4-2c6e477fee55
. (If there are other profiles for Brackets, remove them.) - Copy
9df01287-806d-4292-9ee4-2c6e477fee55.xml
from the extension folder toC:\Users\[YOUR_ACCOUNT]\AppData\Roaming\Logishrd\LogiOptions\devices\6b350\Profiles
. - Kill all processes in Task Manager related to Logitech Options and close Brackets (or restart your computer).
- Run Logitech Options and Brackets.
On macOS you can use the official method, but it may not work (it didn't work for me, but I tried it only in VirtualBox):
- Copy
9df01287-806d-4292-9ee4-2c6e477fee55
folder from the extension folder to~/Library/Application Support/Logitech/Logitech Options/Plugins
. - Enable
Developer Mode
in Logitech Options (Logitech Options
>Craft
>More
>Software
). - Click on
All Applications
and install the profile. - Click on
All Applications
>Brackets
and thenCrown
>Press
and set it toF9
. - Try it and if it works, let me know.
This is necessary only if the profile has changed. You should be informed about that after an update.
On Windows:
- Open folder with extensions for Brackets (
Help
>Show Extensions Folder
). - Copy
9df01287-806d-4292-9ee4-2c6e477fee55
folder toC:\ProgramData\Logishrd\LogiOptionsPlugins
(rewrite previous files). - Kill all processes in Task Manager related to Logitech Options and close Brackets (or restart your computer).
- Run Logitech Options and Brackets.
On macOS:
- In Logitech Options click on
All Applications
. - Remove profile for
Brackets
(click on cross icon). - Copy
9df01287-806d-4292-9ee4-2c6e477fee55
folder from the extension folder to~/Library/Application Support/Logitech/Logitech Options/Plugins
(rewrite previous files). - Click on
All Applications
and install the profile. - Click on
All Applications
>Brackets
and thenCrown
>Press
and set it toF9
(may not be necessary).
This is still in experimental state.
Switches currently active pane or turns on Split View.
CTRL
— switches horizontal/vertical modeCTRL + SHIFT
— turns off Split ViewCTRL + ALT
— switches active pane and its size
It requires F9
and F9 + MODIFIER_KEYS
shortcuts to be available.
Available options:
- Horizontal scrolling (active pane)
SHIFT
— vertical scrollingCTRL
— faster scrollingALT
— inactive pane
- Vertical scrolling (active pane)
SHIFT
— horizontal scrollingCTRL
— faster scrollingALT
— inactive pane
- Open next / previous file (active pane)
CTRL
— instantly opens next / previous fileALT
— inactive pane
- Horizontal scrolling — inactive pane
SHIFT
— vertical scrollingCTRL
— faster scrollingALT
— active pane
- Vertical scrolling — inactive pane
SHIFT
— horizontal scrollingCTRL
— faster scrollingALT
— active pane
- Resize panes
If the cursor(s) is on any number, you can increase or decrease it by a value based on the context (unit). (I'm not sure if this is a good thing.)
Available options:
- Increment/Decrement number — use ratchet
- Increment/Decrement number within selections — use ratchet
- Increment/Decrement number in opposite directions — use ratchet
- Increment/Decrement number — do not use ratchet
- Increment/Decrement number within selections — do not use ratchet
- Increment/Decrement number in opposite directions — do not use ratchet
CTRL
— default value * 10SHIFT
— default value * 100CTRL + SHIFT
— default value * 1000ALT
— default value / 10ALT + CTRL
— default value / 100ALT + SHIFT
— default value / 1000ALT + CTRL + SHIFT
— default value / 10000
In opposite directions means that turning to the right increases positive numbers and decreases negative numbers (and vice versa). What is it good for? For example:
/* CSS triangle */
div::after {
content: "";
position: absolute;
bottom: 100%;
left: 50%;
martin-left: -10px;
border: 10px solid transparent;
border-bottom-color: white;
}
/* You can select 10px and -10px values and resize the triangle
* by turning the Crown. If you increase the border to 12px,
* the margin will be -12px (and not -8px), so the triangle
* will always be in the center. (From 1.1.1 this can be
* limitedly achieved with "Inc/Dec within selections".)
*/
If the cursor(s) is on any color, you can change its hue, saturation, lightness or alpha value. The cursor has to be on non-number part of the color definition (except colors in HEX formats). You can also create a file (see below) with a list of predefined colors.
Available options:
- Hue
- Saturation
- Lightness
- Alpha
- List?
By default Hue, Saturation and Lightness increase or decrease value by 5 and Alpha by 0.05.
CTRL
— larger step (HSL: 10, A: 0.1)SHIFT
— even larger step (HSL: 20, A: 0.2)ALT
— smaller step (HSL: 1, A: 0.01)ALT + CTRL
— even smaller step (HSL: Magic numbers, A: 0.001)ALT + SHIFT
— even smaller step for Saturation and Lightness (0.2)
If the cursor(s) is on a filter definition, you can change these functions: brightness, contrast, saturate, hue-rotate, opacity and blur. The cursor has to be on non-number/non-color part of the definition and the definition must be on one line. Functions that are not used will be added to the end of the definition.
Available options:
- Brightness
- Contrast
- Saturation (saturate)
- Hue (hue-rotate)
- Opacity
- Blur
By default Brightness, Contrast, Saturate and Opacity increase or decrease value by 5%, Hue by 5deg and Blur by 1px.
CTRL
— larger stepSHIFT
— even larger stepALT
— smaller stepALT + CTRL
— even smaller stepALT + SHIFT
— even smaller step
On macOS ALT
should correspond to OPT
and CTRL
to CMD
.
Tip: ALT-GR (right ALT) works the same as left ALT, so you can use the right modifier keys.
In the project folder you can create a file named crowncontrol.json
with predefined values. Currently supports only colors. The path to the file can be changed in the options.
{
"colors": [
"deepskyblue",
"rgba(255, 255, 0, 0.5)"
]
}
- 1.0.1
- Value for
blur()
can not be negative
- Value for
- 1.0.2
- CSS properties don't require colon and semicolon
- Informs user if update requires reinstallation of profile
- 1.1.0
- Added support for CSS Filters
- Consistent behavior of modifier keys:
CTRL + ALT + SHIFT
->ALT + SHIFT
- 1.1.1
- Numbers can be adjusted within selections
- Removed detection for CSS properties (font-weight, opacity, line-height) when adjusting numbers (too complicated to make it consistent for the entire CSS)
- 1.1.2
- Colors can be changed from a list with predefined colors
- 1.2.0
- Options