Adds Rectangle Actions within JetBrains IDEs
This plugin allows invoking Rectangle Actions from JetBrains IDEs. Note it is only useful for users on macOs.
Why it might be useful for you: Rectangle shortcuts conflicts with JetBrains IDEs shortcuts. In this case JetBrains IDE application can be ignored from the Rectangle app, the trade-off is that one need to use the mouse to interact with Rectangle app. This plugin allows invoking Rectangle actions (Last Two-Thirds, Top Half, etc.) from JetBrains IDEs.
More precisely, this plugin relies on the Rectangle URL protocol to invoke its actions; the available actions are listed there.
Open the URL
rectangle://execute-action?name=[name]
. Do not activate Rectangle if possible.Available values for
[name]
:
left-half
,right-half
,center-half
,top-half
,bottom-half
,top-left
,top-right
,bottom-left
,bottom-right
,first-third
,center-third
,last-third
,first-two-thirds
,last-two-thirds
,maximize
,almost-maximize
,maximize-height
,smaller
,larger
,center
,center-prominently
,restore
,next-display
,previous-display
,move-left
,move-right
,move-up
,move-down
,first-fourth
,second-fourth
,third-fourth
,last-fourth
,first-three-fourths
,last-three-fourths
,top-left-sixth
,top-center-sixth
,top-right-sixth
,bottom-left-sixth
,bottom-center-sixth
,bottom-right-sixth
,specified
,reverse-all
,top-left-ninth
,top-center-ninth
,top-right-ninth
,middle-left-ninth
,middle-center-ninth
,middle-right-ninth
,bottom-left-ninth
,bottom-center-ninth
,bottom-right-ninth
,top-left-third
,top-right-third
,bottom-left-third
,bottom-right-third
,top-left-eighth
,top-center-left-eighth
,top-center-right-eighth
,top-right-eighth
,bottom-left-eighth
,bottom-center-left-eighth
,bottom-center-right-eighth
,bottom-right-eighth
,tile-all
,cascade-all
,cascade-active-app
Example, from a shell:
open -g "rectangle://execute-action?name=left-half"
Up-to-date list : https://github.com/rxhanson/Rectangle/blob/main/Rectangle/WindowAction.swift