Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

JetBrains Rider plugin to enable navigation over blocks of code (like Vim next/previous blank line).

License

NotificationsYou must be signed in to change notification settings

Nightro/RiderBlockJumper

Repository files navigation

Rider

RiderBlockJumper is an extension for Rider that allows you to jump over blocks of code. Available on theJetBrains Plugins Repository.

Demo

Usage

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.

Commands

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).

CommandDescriptionKeybinding (Default)Keybinding (Ideal)
Edit.JumpUpJump to the closest block edge above the cursorAlt+Page UpCtrl+Up
Edit.JumpDownJump to the closest block edge below the cursorAlt+Page DownCtrl+Down
Edit.JumpSelectUpJump Up and add to the active selectionAlt+Shift+Page UpCtrl+Shift+Up
Edit.JumpSelectDownJump Down and add to the active selectionAlt+Shift+Page DownCtrl+Shift+Down

Settings

Settings can be found underFile>Settings...>Editor>Block Jumper

SettingDescriptionDefault
JumpOutsideEdgeIf enabled, the cursor will jump outside of the block edge (blank line), otherwise it jumps inside the block edge (text line)true
SkipClosestEdgeIf enabled, the cursor will only jump to the far edge of a block, otherwise it visits every edge of a blockfalse

Credits and Thanks

  • 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!

RiderBlockJumper


[8]ページ先頭

©2009-2025 Movatter.jp