- Notifications
You must be signed in to change notification settings - Fork1
JetBrains Rider plugin to enable navigation over blocks of code (like Vim next/previous blank line).
License
Nightro/RiderBlockJumper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
RiderBlockJumper is an extension for Rider that allows you to jump over blocks of code. Available on theJetBrains Plugins Repository.
Jumping takes you outside of the nearest block edge (i.e. the whitespace line adjacent to a block). If the cursor reaches BOF or EOF, we jump there instead.
Due to existing keybindings within Rider, I was unable to provide my ideal default keybindings. I've listed my preferences here, and encourage you to update your keybindings by assigning your own actions (Ctrl + Shift + A
).
Command | Description | Keybinding (Default) | Keybinding (Ideal) |
---|---|---|---|
Edit.JumpUp | Jump to the closest block edge above the cursor | Alt+Page Up | Ctrl+Up |
Edit.JumpDown | Jump to the closest block edge below the cursor | Alt+Page Down | Ctrl+Down |
Edit.JumpSelectUp | Jump Up and add to the active selection | Alt+Shift+Page Up | Ctrl+Shift+Up |
Edit.JumpSelectDown | Jump Down and add to the active selection | Alt+Shift+Page Down | Ctrl+Shift+Down |
Settings can be found underFile>Settings...>Editor>Block Jumper
Setting | Description | Default |
---|---|---|
JumpOutsideEdge | If enabled, the cursor will jump outside of the block edge (blank line), otherwise it jumps inside the block edge (text line) | true |
SkipClosestEdge | If enabled, the cursor will only jump to the far edge of a block, otherwise it visits every edge of a block | false |
- Casey Muratory - I first saw this method for navigating code in his Handmade Hero video series
- Matthias Koch - For helping me get started and putting me in the Jetbrains PluginWriters slack
- Space Block Jumper - I use this extension for the same purpose as RiderBlockJumper in VSCode
- Anthony Reddan - That's me!
About
JetBrains Rider plugin to enable navigation over blocks of code (like Vim next/previous blank line).