Skip to content

Small feature: go to node with given serial number - #3963

Open
WolframPfeifer wants to merge 2 commits into
mainfrom
pfeifer/gotoNode
Open

Small feature: go to node with given serial number#3963
WolframPfeifer wants to merge 2 commits into
mainfrom
pfeifer/gotoNode

Conversation

@WolframPfeifer

Copy link
Copy Markdown
Member

This PR adds a small feature: An entry "Go to Node..." to the proof tree settings menu (gear symbol) and the proof menu which prompts the user jumps to the proof node with the given serial number (if it exists in the proof).

This is particularly useful with the slicing and caching extensions (but also with proof replay), when you receive an error message with a node number.

Note that one could also use the "Search in Proof Tree" as a workaround (which I noticed only after implementing the feature), but this is less precise: If you search for "100" for instance, also the nodes "1001", "1002", ..., "1100", etc. are found.

Type of pull request

  • New feature (non-breaking change which adds functionality)
  • There are changes to the (Java) code

Ensuring quality

  • I made sure that introduced/changed code is well documented (javadoc and inline comments).
  • I have tested the feature as follows: Manually via the GUI

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.

@WolframPfeifer WolframPfeifer self-assigned this Aug 13, 2026
@WolframPfeifer WolframPfeifer added GUI Feature New feature or request labels Aug 13, 2026
@WolframPfeifer WolframPfeifer changed the title Small feature: go to node by serial number Small feature: go to node with given serial number Aug 13, 2026
@mattulbrich

mattulbrich commented Aug 15, 2026

Copy link
Copy Markdown
Member

Nice feature! Thanks!
I have added a bit of functionality which should be self-explanatory by trying it out.
[curated ChatGPT code]

@mattulbrich mattulbrich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like it! thanks!

@WolframPfeifer please check the changes are improvements.

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

Labels

Feature New feature or request GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants