Fix for #3683: Hiding package prefixes in sequent view#3684
Conversation
|
@FliegendeWurst: Can you try to use that "in production" and see if there are missing cases where the prefix is still shown? I only tried on a very small example. |
|
I tried this PR on a bigger example (proof of an accessible clause) and it works well. |
|
Actually, there is one case where this change still shows the full package prefix: typed |
|
Actually, this change causes a rather serious regression in proof saving: #3691 |
From the meeting just now: This seems to happen for the sort when printing SortDependingFunctions. |
|
I think, #3691 is a bug/problem that was already present before, but became visible with the changes here. |
…efix when saving proofs
…geOptionFix # By Alexander Weigl (48) and others # Via GitHub (35) and others * origin/main: (117 commits) Add containsGenerics method to sort spotless look in top-level project.key for includes to allow for dl escapes in Java files Simplify Remove tokens file Fix inst with sort depending fn Fix parsing of proof files Fix proof loading/storing when generics are instantiated in NoFindTaclets Some documentation Fix test classes Slightly improve error messages Fix taclets for datatypes w/ polymorphic params Prepare datatype handling Spotless Finish example; slight fixes Fix fns and preds parsing; add test Fix SortDepFn and add test Start on polymorphic sorts and functions directly creating issues in Github inside KeY Bump the gradle-deps group across 1 directory with 9 updates ... # Conflicts: # key.core/src/main/java/de/uka/ilkd/key/pp/LogicPrinter.java
Quick fix: Hiding package prefixes in sequent view now works as expected. In addition, highlighting for the SortDependingFunction
instanceis added as forexactInstance.Explanation: I noticed that while the code for hiding the prefixes was (partially) implemented, the view setting was never queried in the printer. I made the printer respect the setting, and added a missing case.
Known issues/missing features:
pkg1.Aandpkg2.Aboth appear on the sequent, they are not visually distinguishable. This would probably be difficult to implement ...Related Issue
This pull request resolves #3683.
Type of pull request
Ensuring quality
Additional information and contact(s)
The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.