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/05/03 01:29:00 UTC
[jira] [Closed] (NETBEANS-4174) Custom hint not getting badge
[ https://issues.apache.org/jira/browse/NETBEANS-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ernie Rael closed NETBEANS-4174.
--------------------------------
Resolution: Fixed
Closing. Works with current repo running jdk14.
{noformat}
o changeset: 4228:03cf67e46d05
| tag: upstream/master
| user: Benjamin Graf <be...@gmx.net>
| date: Thu Apr 30 18:33:23 2020 +0200
{noformat}
> 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
> 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