You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ernie Rael (Jira)" <ji...@apache.org> on 2020/04/15 12:43:00 UTC

[jira] [Commented] (NETBEANS-4174) Custom hint not getting badge

    [ https://issues.apache.org/jira/browse/NETBEANS-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17084050#comment-17084050 ] 

Ernie Rael commented on NETBEANS-4174:
--------------------------------------

Might be related to NETBEANS-4146

 
*Product Version:* Apache NetBeans IDE 12.0-beta3

*Java:* 13.0.2; Java HotSpot(TM) 64-Bit Server VM 13.0.2+8

*Runtime:* Java(TM) SE Runtime Environment 13.0.2+8

*System:* Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

> 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 &amp; Annotations, java - Hints
>    Affects Versions: 12.0
>            Reporter: Ernie Rael
>            Priority: Major
>
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists