Ernie Rael created NETBEANS-4174: ------------------------------------ Summary: Custom hint not getting badge Key: NETBEANS-4174 URL: https://issues.apache.org/jira/browse/NETBEANS-4174 Project: NetBeans Issue Type: Bug Components: editor - Hints & Annotations, java - Hints Affects Versions: 12.0 Reporter: Ernie Rael
Custom hint, options show it as "WARNING", but no badges. Regression from 11.3. "Refactor > Inspect&Transform" work with it. Given this file {code:java} package play; import javax.swing.text.Segment; public class NewClass { void t(Segment s, int col) { char c; c = s.array[col + s.offset]; c = s.array[s.offset + col]; } } {code} and in userdir/config/rules {code:java} <!description="seg.array TO seg.charAt"> $seg.array[$val + $seg.offset] :: $seg instanceof javax.swing.text.Segment => $seg.charAt($val) ;; $seg.array[$seg.offset + $val] :: $seg instanceof javax.swing.text.Segment => $seg.charAt($val) ;; {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists