Skip to content

Add Go to Line - #4214

Open
pieroviano wants to merge 1 commit into
icsharpcode:masterfrom
pieroviano:nav-go-to-line
Open

pieroviano wants to merge 1 commit into
icsharpcode:masterfrom
pieroviano:nav-go-to-line

Conversation

@pieroviano

Copy link
Copy Markdown

Adds Go to Line: Ctrl+G while the code view has focus, or Navigate > Go to Line.... It opens a small prompt that accepts line or line:column. The caret jumps there, and the line is centred and highlighted. Ctrl+G keeps its existing Go to token meaning in metadata grids.

Try it: click into decompiled code, press Ctrl+G, type 12:5, then press Enter.

Split out of #4199 (one feature per PR, as requested there).

Screenshots

6-go-to-line-prompt

Large decompiled files are hard to move around in by scrolling alone, and
line:column positions from stack traces or diagnostics need a direct jump.
Ctrl+G is bound only inside the code view so metadata grids keep it as
Go to token.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant