Community
Participate
Working Groups
Javadoc hover/view: Improve header rendering for monster methods with a huge signature. Example: In java.lang.reflect.AnnotatedElement#getDeclaredAnnotationsByType(Class<T>), show Javadoc for the invocation of Collectors.toMap(...). The hover shows a breathtaking header: <Annotation, Class<? extends Annotation>, Object, Map<Class<? extends Annotation>, Object>> Collector<Annotation, ?, Map<Class<? extends Annotation>, Object>> java.util.stream.Collectors.toMap(Function<? super Annotation, ? extends Class<? extends Annotation>> keyMapper, Function<? super Annotation, ? extends Object> valueMapper, BinaryOperator<Object> mergeFunction, Supplier<Map<Class<? extends Annotation>, Object>> mapSupplier) For method headers of a certain length ( > 2 lines?), we should switch to a format like this, where line breaks and indentation help identify the structure: <Annotation, Class<? extends Annotation>, Object, Map<Class<? extends Annotation>, Object>> Collector<Annotation, ?, Map<Class<? extends Annotation>, Object>> java.util.stream.Collectors.toMap( Function<? super Annotation, ? extends Class<? extends Annotation>> keyMapper, Function<? super Annotation, ? extends Object> valueMapper, BinaryOperator<Object> mergeFunction, Supplier<Map<Class<? extends Annotation>, Object>> mapSupplier) The implementation in JavaElementLinkedLabelComposer could use a special FlexibleBuffer that records positions for optional "<br>" and "<br>\t", and then decides in toString() whether to insert the optional formatting or not. We should also check how it looks if we render types non-bold. Or maybe all types except those in the method name qualifier.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Still a problem with 4.13 M1.
https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/1074